CloneModelGroupDetails

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

Bases: oci.data_science.models.create_base_model_group_details.CreateBaseModelGroupDetails

Parameters needed to clone a model group.

Attributes

CREATE_TYPE_CLONE str(object=’’) -> str
CREATE_TYPE_CREATE str(object=’’) -> str
compartment_id [Required] Gets the compartment_id of this CreateBaseModelGroupDetails.
create_type [Required] Gets the create_type of this CreateBaseModelGroupDetails.
model_group_clone_source_details [Required] Gets the model_group_clone_source_details of this CloneModelGroupDetails.
project_id [Required] Gets the project_id of this CreateBaseModelGroupDetails.

Methods

__init__(**kwargs) Initializes a new CloneModelGroupDetails 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.
CREATE_TYPE_CLONE = 'CLONE'
CREATE_TYPE_CREATE = 'CREATE'
__init__(**kwargs)

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

Parameters:
  • create_type (str) – The value to assign to the create_type property of this CloneModelGroupDetails. Allowed values for this property are: “CREATE”, “CLONE”
  • compartment_id (str) – The value to assign to the compartment_id property of this CloneModelGroupDetails.
  • project_id (str) – The value to assign to the project_id property of this CloneModelGroupDetails.
  • model_group_clone_source_details (oci.data_science.models.ModelGroupCloneSourceDetails) – The value to assign to the model_group_clone_source_details property of this CloneModelGroupDetails.
compartment_id

[Required] Gets the compartment_id of this CreateBaseModelGroupDetails. The OCID of the compartment to create the modelGroup in.

Returns:The compartment_id of this CreateBaseModelGroupDetails.
Return type:str
create_type

[Required] Gets the create_type of this CreateBaseModelGroupDetails. The type of the model group create operation.

Allowed values for this property are: “CREATE”, “CLONE”

Returns:The create_type of this CreateBaseModelGroupDetails.
Return type:str
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_details

[Required] Gets the model_group_clone_source_details of this CloneModelGroupDetails.

Returns:The model_group_clone_source_details of this CloneModelGroupDetails.
Return type:oci.data_science.models.ModelGroupCloneSourceDetails
project_id

[Required] Gets the project_id of this CreateBaseModelGroupDetails. The OCID of the project to associate with the modelGroup.

Returns:The project_id of this CreateBaseModelGroupDetails.
Return type:str