PatchInsertNewMemberModels

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

Bases: PatchInstruction

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

Attributes:

OPERATION_INSERT

A constant which can be used with the operation property of a PatchInstruction.

OPERATION_REMOVE

A constant which can be used with the operation property of a PatchInstruction.

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'

A constant which can be used with the operation property of a PatchInstruction. This constant has a value of “INSERT”

OPERATION_REMOVE = 'REMOVE'

A constant which can be used with the operation property of a PatchInstruction. This constant has a value of “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.

property 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

property 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]