PatchRemoveMemberModels

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

Bases: PatchInstruction

This will specify the list of source model group models that are not 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 PatchRemoveMemberModels.

Methods:

__init__(**kwargs)

Initializes a new PatchRemoveMemberModels 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 PatchRemoveMemberModels object with values from keyword arguments. The default value of the operation attribute of this class is REMOVE 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 PatchRemoveMemberModels. 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 PatchRemoveMemberModels.

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 PatchRemoveMemberModels. Array of inference key and model OCID.

Returns

The values of this PatchRemoveMemberModels.

Return type

list[oci.data_science.models.MemberModelDetails]