CloneCreateFromModelGroupDetails

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

Bases: oci.data_science.models.model_group_clone_source_details.ModelGroupCloneSourceDetails

Parameters needed to cloning a model group from an existing model group.

Attributes

MODEL_GROUP_CLONE_SOURCE_TYPE_MODEL_GROUP str(object=’’) -> str
MODEL_GROUP_CLONE_SOURCE_TYPE_MODEL_GROUP_VERSION_HISTORY str(object=’’) -> str
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 CloneCreateFromModelGroupDetails.
patch_model_group_member_model_details Gets the patch_model_group_member_model_details of this CloneCreateFromModelGroupDetails.
source_id [Required] Gets the source_id of this CloneCreateFromModelGroupDetails.

Methods

__init__(**kwargs) Initializes a new CloneCreateFromModelGroupDetails 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'
MODEL_GROUP_CLONE_SOURCE_TYPE_MODEL_GROUP_VERSION_HISTORY = 'MODEL_GROUP_VERSION_HISTORY'
__init__(**kwargs)

Initializes a new CloneCreateFromModelGroupDetails object with values from keyword arguments. The default value of the model_group_clone_source_type attribute of this class is MODEL_GROUP 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 CloneCreateFromModelGroupDetails. 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 CloneCreateFromModelGroupDetails.
  • modify_model_group_details (oci.data_science.models.ModifyModelGroupDetails) – The value to assign to the modify_model_group_details property of this CloneCreateFromModelGroupDetails.
  • 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 CloneCreateFromModelGroupDetails.
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.

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
modify_model_group_details

Gets the modify_model_group_details of this CloneCreateFromModelGroupDetails.

Returns:The modify_model_group_details of this CloneCreateFromModelGroupDetails.
Return type:oci.data_science.models.ModifyModelGroupDetails
patch_model_group_member_model_details

Gets the patch_model_group_member_model_details of this CloneCreateFromModelGroupDetails.

Returns:The patch_model_group_member_model_details of this CloneCreateFromModelGroupDetails.
Return type:oci.data_science.models.PatchModelGroupMemberModelDetails
source_id

[Required] Gets the source_id of this CloneCreateFromModelGroupDetails. The OCID of the model group to be cloned.

Returns:The source_id of this CloneCreateFromModelGroupDetails.
Return type:str