ruạṛ
a ���fdM � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zed:d;� �Zej d<d;� �Zd=d>� Zd?d@� ZdAdB� Z dCS )D�Modelz% Description of the a Model. �DELETING�DELETED�FAILED�CREATING�ACTIVE�UPDATINGc K s� dddddddddddddddddd �| _ d ddd dddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )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 display_name: The value to assign to the display_name property of this Model. :type display_name: 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 description: The value to assign to the description property of this Model. :type description: str :param model_details: The value to assign to the model_details property of this Model. :type model_details: oci.ai_language.models.ModelDetails :param time_created: The value to assign to the time_created property of this Model. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Model. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Model. Allowed values for this property are: "DELETING", "DELETED", "FAILED", "CREATING", "ACTIVE", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this Model. :type lifecycle_details: str :param training_dataset: The value to assign to the training_dataset property of this Model. :type training_dataset: oci.ai_language.models.DatasetDetails :param evaluation_results: The value to assign to the evaluation_results property of this Model. :type evaluation_results: oci.ai_language.models.EvaluationResults :param test_strategy: The value to assign to the test_strategy property of this Model. :type test_strategy: oci.ai_language.models.TestStrategy :param version: The value to assign to the version property of this Model. :type version: 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 system_tags: The value to assign to the system_tags property of this Model. :type system_tags: dict(str, dict(str, object)) �strZModelDetailsZdatetimeZDatasetDetailsZEvaluationResultsZTestStrategyzdict(str, str)zdict(str, dict(str, object)))�id�display_name�compartment_id� project_id�description� model_details�time_created�time_updated�lifecycle_state�lifecycle_details�training_dataset�evaluation_results� test_strategy�version� freeform_tags�defined_tags�system_tagsr ZdisplayNameZ compartmentIdZ projectIdr ZmodelDetailsZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZtrainingDatasetZevaluationResultsZtestStrategyr ZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id� _display_name�_compartment_id�_project_id�_description�_model_details� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_training_dataset�_evaluation_results�_test_strategy�_version�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r2 �@/usr/lib/python3.9/site-packages/oci/ai_language/models/model.py�__init__* sj M��zModel.__init__c C s | j S )z� **[Required]** Gets the id of this Model. Unique identifier model OCID of a model that is immutable on creation :return: The id of this Model. :rtype: str �r �r0 r2 r2 r3 r � s zModel.idc C s || _ dS )z� Sets the id of this Model. Unique identifier model OCID of a model that is immutable on creation :param id: The id of this Model. :type: str Nr5 )r0 r r2 r2 r3 r � s c C s | j S )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 r6 r2 r2 r3 r � s zModel.display_namec C s || _ dS )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 Nr7 )r0 r r2 r2 r3 r � s c C s | j S )a **[Required]** Gets the compartment_id of this Model. The `OCID`__ for the model's compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Model. :rtype: str �r! r6 r2 r2 r3 r � s zModel.compartment_idc C s || _ dS )a Sets the compartment_id of this Model. The `OCID`__ for the model's compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Model. :type: str Nr8 )r0 r r2 r2 r3 r � s c C s | j S )a! **[Required]** Gets the project_id of this Model. The `OCID`__ of the project to associate with the model. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The project_id of this Model. :rtype: str �r"