CloneCreateFromModelGroupVersionHistoryDetails

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

Bases: ModelGroupCloneSourceDetails

Parameters needed to cloning a model group from latest model group in model group version history.

Attributes:

MODEL_GROUP_CLONE_SOURCE_TYPE_MODEL_GROUP

A constant which can be used with the model_group_clone_source_type property of a ModelGroupCloneSourceDetails.

MODEL_GROUP_CLONE_SOURCE_TYPE_MODEL_GROUP_VERSION_HISTORY

A constant which can be used with the model_group_clone_source_type property of a ModelGroupCloneSourceDetails.

model_group_clone_source_type

[Required] Gets the model_group_clone_source_type of this ModelGroupCloneSourceDetails.

modify_model_group_details

Gets the modify_model_group_details of this CloneCreateFromModelGroupVersionHistoryDetails.

patch_model_group_member_model_details

Gets the patch_model_group_member_model_details of this CloneCreateFromModelGroupVersionHistoryDetails.

source_id

[Required] Gets the source_id of this CloneCreateFromModelGroupVersionHistoryDetails.

Methods:

__init__(**kwargs)

Initializes a new CloneCreateFromModelGroupVersionHistoryDetails 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.

MODEL_GROUP_CLONE_SOURCE_TYPE_MODEL_GROUP = 'MODEL_GROUP'

A constant which can be used with the model_group_clone_source_type property of a ModelGroupCloneSourceDetails. This constant has a value of “MODEL_GROUP”

MODEL_GROUP_CLONE_SOURCE_TYPE_MODEL_GROUP_VERSION_HISTORY = 'MODEL_GROUP_VERSION_HISTORY'

A constant which can be used with the model_group_clone_source_type property of a ModelGroupCloneSourceDetails. This constant has a value of “MODEL_GROUP_VERSION_HISTORY”

__init__(**kwargs)

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

Parameters
  • model_group_clone_source_type (str) – The value to assign to the model_group_clone_source_type property of this CloneCreateFromModelGroupVersionHistoryDetails. Allowed values for this property are: “MODEL_GROUP”, “MODEL_GROUP_VERSION_HISTORY”

  • source_id (str) – The value to assign to the source_id property of this CloneCreateFromModelGroupVersionHistoryDetails.

  • modify_model_group_details (oci.data_science.models.ModifyModelGroupDetails) – The value to assign to the modify_model_group_details property of this CloneCreateFromModelGroupVersionHistoryDetails.

  • patch_model_group_member_model_details (oci.data_science.models.PatchModelGroupMemberModelDetails) – The value to assign to the patch_model_group_member_model_details property of this CloneCreateFromModelGroupVersionHistoryDetails.

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 model_group_clone_source_type

[Required] Gets the model_group_clone_source_type of this ModelGroupCloneSourceDetails. Source resource for model group clone operation.

Allowed values for this property are: “MODEL_GROUP”, “MODEL_GROUP_VERSION_HISTORY”

Returns

The model_group_clone_source_type of this ModelGroupCloneSourceDetails.

Return type

str

property modify_model_group_details

Gets the modify_model_group_details of this CloneCreateFromModelGroupVersionHistoryDetails.

Returns

The modify_model_group_details of this CloneCreateFromModelGroupVersionHistoryDetails.

Return type

oci.data_science.models.ModifyModelGroupDetails

property patch_model_group_member_model_details

Gets the patch_model_group_member_model_details of this CloneCreateFromModelGroupVersionHistoryDetails.

Returns

The patch_model_group_member_model_details of this CloneCreateFromModelGroupVersionHistoryDetails.

Return type

oci.data_science.models.PatchModelGroupMemberModelDetails

property source_id

[Required] Gets the source_id of this CloneCreateFromModelGroupVersionHistoryDetails. The OCID of the model group version history.

Returns

The source_id of this CloneCreateFromModelGroupVersionHistoryDetails.

Return type

str