o
    ëÉ¶dR  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s  e Zd ZdZdZdZdZdZdd„ Ze	dd	„ ƒZ
e
jd
d	„ ƒZ
e	dd„ ƒZejdd„ ƒZe	dd„ ƒZejdd„ ƒZe	dd„ ƒZejdd„ ƒZe	dd„ ƒZejdd„ ƒZe	dd„ ƒZejdd„ ƒZe	dd„ ƒZejdd„ ƒZe	dd„ ƒZejdd„ ƒZe	d d!„ ƒZejd"d!„ ƒZe	d#d$„ ƒZejd%d$„ ƒZe	d&d'„ ƒZejd(d'„ ƒZe	d)d*„ ƒZejd+d*„ ƒZe	d,d-„ ƒZejd.d-„ ƒZe	d/d0„ ƒZejd1d0„ ƒZe	d2d3„ ƒZejd4d3„ ƒZe	d5d6„ ƒZejd7d6„ ƒZe	d8d9„ ƒZejd:d9„ ƒZe	d;d<„ ƒZejd=d<„ ƒZd>d?„ Zd@dA„ ZdBdC„ ZdDS )EÚModelz—
    Models are mathematical representations of the relationships between data. Models are represented by their associated metadata and artifacts.
    ÚACTIVEÚDELETEDÚFAILEDÚINACTIVEc                 K   sX  i dd“dd“dd“dd“dd“dd“dd	“d
d“dd“dd“dd“dd“dd“dd“dd“dd“dd“ddi¥| _ i dd“dd“dd“dd“dd“dd“dd“d
d“dd“dd “dd!“dd"“dd#“dd$“dd%“dd&“dd'“dd(i¥| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _	d)| _
d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)S )*a  
        Initializes a new Model object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this Model.
        :type id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this Model.
        :type compartment_id: str

        :param project_id:
            The value to assign to the project_id property of this Model.
        :type project_id: str

        :param display_name:
            The value to assign to the display_name property of this Model.
        :type display_name: str

        :param description:
            The value to assign to the description property of this Model.
        :type description: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Model.
            Allowed values for this property are: "ACTIVE", "DELETED", "FAILED", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param time_created:
            The value to assign to the time_created property of this Model.
        :type time_created: datetime

        :param created_by:
            The value to assign to the created_by property of this Model.
        :type created_by: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this Model.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this Model.
        :type defined_tags: dict(str, dict(str, object))

        :param custom_metadata_list:
            The value to assign to the custom_metadata_list property of this Model.
        :type custom_metadata_list: list[oci.data_science.models.Metadata]

        :param defined_metadata_list:
            The value to assign to the defined_metadata_list property of this Model.
        :type defined_metadata_list: list[oci.data_science.models.Metadata]

        :param input_schema:
            The value to assign to the input_schema property of this Model.
        :type input_schema: str

        :param output_schema:
            The value to assign to the output_schema property of this Model.
        :type output_schema: str

        :param model_version_set_id:
            The value to assign to the model_version_set_id property of this Model.
        :type model_version_set_id: str

        :param model_version_set_name:
            The value to assign to the model_version_set_name property of this Model.
        :type model_version_set_name: str

        :param version_id:
            The value to assign to the version_id property of this Model.
        :type version_id: int

        :param version_label:
            The value to assign to the version_label property of this Model.
        :type version_label: str

        ÚidÚstrÚcompartment_idÚ
project_idÚdisplay_nameÚdescriptionÚlifecycle_stateÚtime_createdÚdatetimeÚ
created_byÚfreeform_tagszdict(str, str)Údefined_tagszdict(str, dict(str, object))Úcustom_metadata_listzlist[Metadata]Údefined_metadata_listÚinput_schemaÚoutput_schemaÚmodel_version_set_idÚmodel_version_set_nameÚ
version_idÚintÚversion_labelZcompartmentIdZ	projectIdZdisplayNameZlifecycleStateZtimeCreatedZ	createdByZfreeformTagsZdefinedTagsZcustomMetadataListZdefinedMetadataListZinputSchemaZoutputSchemaZmodelVersionSetIdZmodelVersionSetNameZ	versionIdZversionLabelN)Zswagger_typesZattribute_mapÚ_idÚ_compartment_idÚ_project_idÚ_display_nameÚ_descriptionÚ_lifecycle_stateÚ_time_createdÚ_created_byÚ_freeform_tagsÚ_defined_tagsÚ_custom_metadata_listÚ_defined_metadata_listÚ_input_schemaÚ_output_schemaÚ_model_version_set_idÚ_model_version_set_nameÚ_version_idÚ_version_label)ÚselfÚkwargs© r4   úAusr/lib/python3.10/site-packages/oci/data_science/models/model.pyÚ__init__"   s¸   Pÿþýüûúùø	÷
öõôóòñðïîÿþýüûúùø	÷
öõôóòñðïî
zModel.__init__c                 C   ó   | j S )zó
        **[Required]** Gets the id of this Model.
        The `OCID`__ of the model.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The id of this Model.
        :rtype: str
        ©r    ©r2   r4   r4   r5   r   ¯   ó   zModel.idc                 C   ó
   || _ dS )zå
        Sets the id of this Model.
        The `OCID`__ of the model.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param id: The id of this Model.
        :type: str
        Nr8   )r2   r   r4   r4   r5   r   ½   ó   
c                 C   r7   )a  
        **[Required]** Gets the compartment_id of this Model.
        The `OCID`__ of the model's compartment.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this Model.
        :rtype: str
        ©r!   r9   r4   r4   r5   r   Ë   r:   zModel.compartment_idc                 C   r;   )a  
        Sets the compartment_id of this Model.
        The `OCID`__ of the model's compartment.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this Model.
        :type: str
        Nr=   )r2   r   r4   r4   r5   r   Ù   r<   c                 C   r7   )a  
        **[Required]** Gets the project_id of this Model.
        The `OCID`__ of the project associated with the model.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The project_id of this Model.
        :rtype: str
        ©r"   r9   r4   r4   r5   r   ç   r:   zModel.project_idc                 C   r;   )a  
        Sets the project_id of this Model.
        The `OCID`__ of the project associated with the model.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param project_id: The project_id of this Model.
        :type: str
        Nr>   )r2   r   r4   r4   r5   r   õ   r<   c                 C   r7   )a  
        **[Required]** Gets the display_name of this Model.
        A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.


        :return: The display_name of this Model.
        :rtype: str
        ©r#   r9   r4   r4   r5   r     ó   
zModel.display_namec                 C   r;   )a  
        Sets the display_name of this Model.
        A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.


        :param display_name: The display_name of this Model.
        :type: str
        Nr?   )r2   r   r4   r4   r5   r     ó   

c                 C   r7   )z¥
        Gets the description of this Model.
        A short description of the model.


        :return: The description of this Model.
        :rtype: str
        ©r$   r9   r4   r4   r5   r     r@   zModel.descriptionc                 C   r;   )z¯
        Sets the description of this Model.
        A short description of the model.


        :param description: The description of this Model.
        :type: str
        NrB   )r2   r   r4   r4   r5   r   '  rA   c                 C   r7   )a€  
        **[Required]** Gets the lifecycle_state of this Model.
        The state of the model.

        Allowed values for this property are: "ACTIVE", "DELETED", "FAILED", "INACTIVE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Model.
        :rtype: str
        )r%   r9   r4   r4   r5   r   3  ó   zModel.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )z±
        Sets the lifecycle_state of this Model.
        The state of the model.


        :param lifecycle_state: The lifecycle_state of this Model.
        :type: str
        )r   r   r	   r
   ZUNKNOWN_ENUM_VALUEN)r   r%   )r2   r   Zallowed_valuesr4   r4   r5   r   B  s   


c                 C   r7   )aM  
        **[Required]** Gets the time_created of this Model.
        The date and time the resource was created in the timestamp format defined by `RFC3339`__.
        Example: 2019-08-25T21:10:29.41Z

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_created of this Model.
        :rtype: datetime
        ©r&   r9   r4   r4   r5   r   Q  rC   zModel.time_createdc                 C   r;   )aI  
        Sets the time_created of this Model.
        The date and time the resource was created in the timestamp format defined by `RFC3339`__.
        Example: 2019-08-25T21:10:29.41Z

        __ https://tools.ietf.org/html/rfc3339


        :param time_created: The time_created of this Model.
        :type: datetime
        NrD   )r2   r   r4   r4   r5   r   `  ó   
c                 C   r7   )a  
        **[Required]** Gets the created_by of this Model.
        The `OCID`__ of the user who created the model.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The created_by of this Model.
        :rtype: str
        ©r'   r9   r4   r4   r5   r   o  r:   zModel.created_byc                 C   r;   )a  
        Sets the created_by of this Model.
        The `OCID`__ of the user who created the model.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param created_by: The created_by of this Model.
        :type: str
        NrF   )r2   r   r4   r4   r5   r   }  r<   c                 C   r7   )a  
        Gets the freeform_tags of this Model.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See `Resource Tags`__.
        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this Model.
        :rtype: dict(str, str)
        ©r(   r9   r4   r4   r5   r   ‹  rC   zModel.freeform_tagsc                 C   r;   )a©  
        Sets the freeform_tags of this Model.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See `Resource Tags`__.
        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this Model.
        :type: dict(str, str)
        NrG   )r2   r   r4   r4   r5   r   š  rE   c                 C   r7   )a“  
        Gets the defined_tags of this Model.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this Model.
        :rtype: dict(str, dict(str, object))
        ©r)   r9   r4   r4   r5   r   ©  rC   zModel.defined_tagsc                 C   r;   )až  
        Sets the defined_tags of this Model.
        Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this Model.
        :type: dict(str, dict(str, object))
        NrH   )r2   r   r4   r4   r5   r   ¸  rE   c                 C   r7   )zë
        Gets the custom_metadata_list of this Model.
        An array of custom metadata details for the model.


        :return: The custom_metadata_list of this Model.
        :rtype: list[oci.data_science.models.Metadata]
        ©r*   r9   r4   r4   r5   r   Ç  r@   zModel.custom_metadata_listc                 C   r;   )zþ
        Sets the custom_metadata_list of this Model.
        An array of custom metadata details for the model.


        :param custom_metadata_list: The custom_metadata_list of this Model.
        :type: list[oci.data_science.models.Metadata]
        NrI   )r2   r   r4   r4   r5   r   Ó  rA   c                 C   r7   )zî
        Gets the defined_metadata_list of this Model.
        An array of defined metadata details for the model.


        :return: The defined_metadata_list of this Model.
        :rtype: list[oci.data_science.models.Metadata]
        ©r+   r9   r4   r4   r5   r   ß  r@   zModel.defined_metadata_listc                 C   r;   )a  
        Sets the defined_metadata_list of this Model.
        An array of defined metadata details for the model.


        :param defined_metadata_list: The defined_metadata_list of this Model.
        :type: list[oci.data_science.models.Metadata]
        NrJ   )r2   r   r4   r4   r5   r   ë  rA   c                 C   r7   )z°
        Gets the input_schema of this Model.
        Input schema file content in String format


        :return: The input_schema of this Model.
        :rtype: str
        ©r,   r9   r4   r4   r5   r   ÷  r@   zModel.input_schemac                 C   r;   )z»
        Sets the input_schema of this Model.
        Input schema file content in String format


        :param input_schema: The input_schema of this Model.
        :type: str
        NrK   )r2   r   r4   r4   r5   r     rA   c                 C   r7   )z³
        Gets the output_schema of this Model.
        Output schema file content in String format


        :return: The output_schema of this Model.
        :rtype: str
        ©r-   r9   r4   r4   r5   r     r@   zModel.output_schemac                 C   r;   )z¿
        Sets the output_schema of this Model.
        Output schema file content in String format


        :param output_schema: The output_schema of this Model.
        :type: str
        NrL   )r2   r   r4   r4   r5   r     rA   c                 C   r7   )zç
        **[Required]** Gets the model_version_set_id of this Model.
        The OCID of the model version set that the model is associated to.


        :return: The model_version_set_id of this Model.
        :rtype: str
        ©r.   r9   r4   r4   r5   r   '  r@   zModel.model_version_set_idc                 C   r;   )zë
        Sets the model_version_set_id of this Model.
        The OCID of the model version set that the model is associated to.


        :param model_version_set_id: The model_version_set_id of this Model.
        :type: str
        NrM   )r2   r   r4   r4   r5   r   3  rA   c                 C   r7   )zë
        **[Required]** Gets the model_version_set_name of this Model.
        The name of the model version set that the model is associated to.


        :return: The model_version_set_name of this Model.
        :rtype: str
        ©r/   r9   r4   r4   r5   r   ?  r@   zModel.model_version_set_namec                 C   r;   )zñ
        Sets the model_version_set_name of this Model.
        The name of the model version set that the model is associated to.


        :param model_version_set_name: The model_version_set_name of this Model.
        :type: str
        NrN   )r2   r   r4   r4   r5   r   K  rA   c                 C   r7   )zÉ
        **[Required]** Gets the version_id of this Model.
        Unique identifier assigned to each version of the model.


        :return: The version_id of this Model.
        :rtype: int
        ©r0   r9   r4   r4   r5   r   W  r@   zModel.version_idc                 C   r;   )zÃ
        Sets the version_id of this Model.
        Unique identifier assigned to each version of the model.


        :param version_id: The version_id of this Model.
        :type: int
        NrO   )r2   r   r4   r4   r5   r   c  rA   c                 C   r7   )a  
        **[Required]** Gets the version_label of this Model.
        The version label can add an additional description of the lifecycle state of the model or the application using and training the model.


        :return: The version_label of this Model.
        :rtype: str
        ©r1   r9   r4   r4   r5   r   o  r@   zModel.version_labelc                 C   r;   )a  
        Sets the version_label of this Model.
        The version label can add an additional description of the lifecycle state of the model or the application using and training the model.


        :param version_label: The version_label of this Model.
        :type: str
        NrP   )r2   r   r4   r4   r5   r   {  rA   c                 C   s   t | ƒS ©N)r   r9   r4   r4   r5   Ú__repr__‡  s   zModel.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r2   Úotherr4   r4   r5   Ú__eq__Š  s   zModel.__eq__c                 C   s
   | |k S rQ   r4   rT   r4   r4   r5   Ú__ne__  s   
zModel.__ne__N) Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_INACTIVEr6   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rR   rV   rW   r4   r4   r4   r5   r      s¦     



































r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r4   r4   r4   r5   Ú<module>   s   