CloneModelGroupDetails

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

Bases: CreateBaseModelGroupDetails

Parameters needed to clone a model group.

Attributes:

CREATE_TYPE_CLONE

A constant which can be used with the create_type property of a CreateBaseModelGroupDetails.

CREATE_TYPE_CREATE

A constant which can be used with the create_type property of a CreateBaseModelGroupDetails.

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'

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_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.

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

oci.data_science.models.ModelGroupCloneSourceDetails

property 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