CreateBaseModelGroupDetails¶
- class oci.data_science.models.CreateBaseModelGroupDetails(**kwargs)¶
Bases:
objectThe base create model group details.
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 project_id of this CreateBaseModelGroupDetails.
Methods:
__init__(**kwargs)Initializes a new CreateBaseModelGroupDetails 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 CreateBaseModelGroupDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 CreateBaseModelGroupDetails. Allowed values for this property are: “CREATE”, “CLONE”
compartment_id (str) – The value to assign to the compartment_id property of this CreateBaseModelGroupDetails.
project_id (str) – The value to assign to the project_id property of this CreateBaseModelGroupDetails.
- 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.