PatchInsertNewMemberModels

class oci.data_science.models.PatchInsertNewMemberModels(**kwargs)

Bases: oci.data_science.models.patch_instruction.PatchInstruction

This will specify the list of new models that are to be associated with the cloned model group.

Attributes

OPERATION_INSERT str(object=’’) -> str
OPERATION_REMOVE str(object=’’) -> str
operation [Required] Gets the operation of this PatchInstruction.
values [Required] Gets the values of this PatchInsertNewMemberModels.

Methods

__init__(**kwargs) Initializes a new PatchInsertNewMemberModels object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
OPERATION_INSERT = 'INSERT'
OPERATION_REMOVE = 'REMOVE'
__init__(**kwargs)

Initializes a new PatchInsertNewMemberModels object with values from keyword arguments. The default value of the operation attribute of this class is INSERT and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • operation (str) – The value to assign to the operation property of this PatchInsertNewMemberModels. Allowed values for this property are: “INSERT”, “REMOVE”
  • values (list[oci.data_science.models.MemberModelDetails]) – The value to assign to the values property of this PatchInsertNewMemberModels.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

operation

[Required] Gets the operation of this PatchInstruction. A single instruction to be included as part of Patch request content. Enum type (INSERT and REMOVE).

Allowed values for this property are: “INSERT”, “REMOVE”

Returns:The operation of this PatchInstruction.
Return type:str
values

[Required] Gets the values of this PatchInsertNewMemberModels. Array of inference key and model OCID.

Returns:The values of this PatchInsertNewMemberModels.
Return type:list[oci.data_science.models.MemberModelDetails]