CloneModelGroupDetails¶
- class oci.data_science.models.CloneModelGroupDetails(**kwargs)¶
Bases:
CreateBaseModelGroupDetailsParameters needed to clone a model group.
Attributes:
A constant which can be used with the create_type property of a CreateBaseModelGroupDetails.
A constant which can be used with the create_type property of a CreateBaseModelGroupDetails.
[Required] Gets the compartment_id of this CreateBaseModelGroupDetails.
[Required] Gets the create_type of this CreateBaseModelGroupDetails.
[Required] Gets the model_group_clone_source_details of this CloneModelGroupDetails.
[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'¶
A constant which can be used with the create_type property of a CreateBaseModelGroupDetails. This constant has a value of “CLONE”
- CREATE_TYPE_CREATE = 'CREATE'¶
A constant which can be used with the create_type property of a CreateBaseModelGroupDetails. This constant has a value of “CREATE”
- __init__(**kwargs)¶
Initializes a new CloneModelGroupDetails object with values from keyword arguments. The default value of the
create_typeattribute of this class isCLONEand 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.
- property 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
- property 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.
- property 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