ruạṛ
a ���f;A � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�CreateModelDetailsz7 The information needed to create a new model. c K s� dddddddddddddddd�| _ d d ddd ddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a� Initializes a new CreateModelDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this CreateModelDetails. :type display_name: str :param description: The value to assign to the description property of this CreateModelDetails. :type description: str :param model_version: The value to assign to the model_version property of this CreateModelDetails. :type model_version: str :param model_type: The value to assign to the model_type property of this CreateModelDetails. :type model_type: str :param compartment_id: The value to assign to the compartment_id property of this CreateModelDetails. :type compartment_id: str :param is_quick_mode: The value to assign to the is_quick_mode property of this CreateModelDetails. :type is_quick_mode: bool :param max_training_time_in_hours: The value to assign to the max_training_time_in_hours property of this CreateModelDetails. :type max_training_time_in_hours: float :param training_dataset: The value to assign to the training_dataset property of this CreateModelDetails. :type training_dataset: oci.ai_document.models.Dataset :param testing_dataset: The value to assign to the testing_dataset property of this CreateModelDetails. :type testing_dataset: oci.ai_document.models.Dataset :param validation_dataset: The value to assign to the validation_dataset property of this CreateModelDetails. :type validation_dataset: oci.ai_document.models.Dataset :param component_models: The value to assign to the component_models property of this CreateModelDetails. :type component_models: list[oci.ai_document.models.ComponentModel] :param alias_name: The value to assign to the alias_name property of this CreateModelDetails. :type alias_name: str :param project_id: The value to assign to the project_id property of this CreateModelDetails. :type project_id: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateModelDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateModelDetails. :type defined_tags: dict(str, dict(str, object)) �str�bool�floatZDatasetzlist[ComponentModel]zdict(str, str)zdict(str, dict(str, object)))�display_name�description� model_version� model_type�compartment_id� is_quick_mode�max_training_time_in_hours�training_dataset�testing_dataset�validation_dataset�component_models� alias_name� project_id� freeform_tags�defined_tagsZdisplayNamer ZmodelVersionZ modelTypeZ compartmentIdZisQuickModeZmaxTrainingTimeInHoursZtrainingDatasetZtestingDatasetZvalidationDatasetZcomponentModelsZ aliasNameZ projectIdZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map� _display_name�_description�_model_version�_model_type�_compartment_id�_is_quick_mode�_max_training_time_in_hours�_training_dataset�_testing_dataset�_validation_dataset�_component_models�_alias_name�_project_id�_freeform_tags� _defined_tags)�self�kwargs� r* �O/usr/lib/python3.9/site-packages/oci/ai_document/models/create_model_details.py�__init__ s^ C��zCreateModelDetails.__init__c C s | j S )z� Gets the display_name of this CreateModelDetails. A human-friendly name for the model, which can be changed. :return: The display_name of this CreateModelDetails. :rtype: str �r �r( r* r* r+ r � s zCreateModelDetails.display_namec C s || _ dS )z� Sets the display_name of this CreateModelDetails. A human-friendly name for the model, which can be changed. :param display_name: The display_name of this CreateModelDetails. :type: str Nr- )r( r r* r* r+ r � s c C s | j S )z� Gets the description of this CreateModelDetails. An optional description of the model. :return: The description of this CreateModelDetails. :rtype: str �r r. r* r* r+ r � s zCreateModelDetails.descriptionc C s || _ dS )z� Sets the description of this CreateModelDetails. An optional description of the model. :param description: The description of this CreateModelDetails. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )z� Gets the model_version of this CreateModelDetails. The model version :return: The model_version of this CreateModelDetails. :rtype: str �r r. r* r* r+ r � s z CreateModelDetails.model_versionc C s || _ dS )z� Sets the model_version of this CreateModelDetails. The model version :param model_version: The model_version of this CreateModelDetails. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the model_type of this CreateModelDetails. The type of the Document model. :return: The model_type of this CreateModelDetails. :rtype: str �r r. r* r* r+ r � s zCreateModelDetails.model_typec C s || _ dS )z� Sets the model_type of this CreateModelDetails. The type of the Document model. :param model_type: The model_type of this CreateModelDetails. :type: str Nr1 )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the compartment_id of this CreateModelDetails. The compartment identifier. :return: The compartment_id of this CreateModelDetails. :rtype: str �r r. r* r* r+ r � s z!CreateModelDetails.compartment_idc C s || _ dS )z� Sets the compartment_id of this CreateModelDetails. The compartment identifier. :param compartment_id: The compartment_id of this CreateModelDetails. :type: str Nr2 )r( r r* r* r+ r � s c C s | j S )aE Gets the is_quick_mode of this CreateModelDetails. Set to true when experimenting with a new model type or dataset, so the model training is quick, with a predefined low number of passes through the training data. :return: The is_quick_mode of this CreateModelDetails. :rtype: bool �r r. r* r* r+ r s z CreateModelDetails.is_quick_modec C s || _ dS )aQ Sets the is_quick_mode of this CreateModelDetails. Set to true when experimenting with a new model type or dataset, so the model training is quick, with a predefined low number of passes through the training data. :param is_quick_mode: The is_quick_mode of this CreateModelDetails. :type: bool Nr3 )r( r r* r* r+ r s c C s | j S )a Gets the max_training_time_in_hours of this CreateModelDetails. The maximum model training time in hours, expressed as a decimal fraction. :return: The max_training_time_in_hours of this CreateModelDetails. :rtype: float �r r. r* r* r+ r s z-CreateModelDetails.max_training_time_in_hoursc C s || _ dS )a! Sets the max_training_time_in_hours of this CreateModelDetails. The maximum model training time in hours, expressed as a decimal fraction. :param max_training_time_in_hours: The max_training_time_in_hours of this CreateModelDetails. :type: float Nr4 )r( r r* r* r+ r $ s c C s | j S )z� Gets the training_dataset of this CreateModelDetails. :return: The training_dataset of this CreateModelDetails. :rtype: oci.ai_document.models.Dataset �r r. r* r* r+ r 0 s z#CreateModelDetails.training_datasetc C s || _ dS )z� Sets the training_dataset of this CreateModelDetails. :param training_dataset: The training_dataset of this CreateModelDetails. :type: oci.ai_document.models.Dataset Nr5 )r( r r* r* r+ r : s c C s | j S )z� Gets the testing_dataset of this CreateModelDetails. :return: The testing_dataset of this CreateModelDetails. :rtype: oci.ai_document.models.Dataset �r! r. r* r* r+ r D s z"CreateModelDetails.testing_datasetc C s || _ dS )z� Sets the testing_dataset of this CreateModelDetails. :param testing_dataset: The testing_dataset of this CreateModelDetails. :type: oci.ai_document.models.Dataset Nr6 )r( r r* r* r+ r N s c C s | j S )z� Gets the validation_dataset of this CreateModelDetails. :return: The validation_dataset of this CreateModelDetails. :rtype: oci.ai_document.models.Dataset �r"