ruạṛ
a N��f�U � @ 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 dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zed;d<� �Zejd=d<� �Zd>d?� Zd@dA� Z dBdC� Z!dDS )E�Datasetz� A dataset is a logical collection of records. The dataset contains all the information necessary to describe a record's source, format, the type of annotations allowed for the record, and the labels allowed on annotations. �CREATING�UPDATING�ACTIVE�NEEDS_ATTENTION�DELETING�DELETED�FAILEDc 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 Dataset 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 Dataset. :type id: str :param display_name: The value to assign to the display_name property of this Dataset. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this Dataset. :type compartment_id: str :param description: The value to assign to the description property of this Dataset. :type description: str :param time_created: The value to assign to the time_created property of this Dataset. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Dataset. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Dataset. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "NEEDS_ATTENTION", "DELETING", "DELETED", "FAILED", '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 Dataset. :type lifecycle_details: str :param annotation_format: The value to assign to the annotation_format property of this Dataset. :type annotation_format: str :param dataset_source_details: The value to assign to the dataset_source_details property of this Dataset. :type dataset_source_details: oci.data_labeling_service_dataplane.models.DatasetSourceDetails :param dataset_format_details: The value to assign to the dataset_format_details property of this Dataset. :type dataset_format_details: oci.data_labeling_service_dataplane.models.DatasetFormatDetails :param label_set: The value to assign to the label_set property of this Dataset. :type label_set: oci.data_labeling_service_dataplane.models.LabelSet :param initial_record_generation_configuration: The value to assign to the initial_record_generation_configuration property of this Dataset. :type initial_record_generation_configuration: oci.data_labeling_service_dataplane.models.InitialRecordGenerationConfiguration :param labeling_instructions: The value to assign to the labeling_instructions property of this Dataset. :type labeling_instructions: str :param freeform_tags: The value to assign to the freeform_tags property of this Dataset. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Dataset. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Dataset. :type system_tags: dict(str, dict(str, object)) �str�datetime�DatasetSourceDetails�DatasetFormatDetails�LabelSet�$InitialRecordGenerationConfigurationzdict(str, str)zdict(str, dict(str, object)))�id�display_name�compartment_id�description�time_created�time_updated�lifecycle_state�lifecycle_details�annotation_format�dataset_source_details�dataset_format_details� label_set�'initial_record_generation_configuration�labeling_instructions� freeform_tags�defined_tags�system_tagsr �displayName� compartmentIdr �timeCreated�timeUpdated�lifecycleState�lifecycleDetails�annotationFormat�datasetSourceDetails�datasetFormatDetails�labelSet�$initialRecordGenerationConfiguration�labelingInstructions�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id� _display_name�_compartment_id�_description� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_annotation_format�_dataset_source_details�_dataset_format_details� _label_set�(_initial_record_generation_configuration�_labeling_instructions�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rI ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_labeling_service_dataplane/models/dataset.py�__init__, sj M��zDataset.__init__c C s | j S )z� **[Required]** Gets the id of this Dataset. The OCID of the Dataset. :return: The id of this Dataset. :rtype: str �r6 �rG rI rI rJ r � s z Dataset.idc C s || _ dS )z� Sets the id of this Dataset. The OCID of the Dataset. :param id: The id of this Dataset. :type: str NrL )rG r rI rI rJ r � s c C s | j S )z� Gets the display_name of this Dataset. A user-friendly display name for the resource. :return: The display_name of this Dataset. :rtype: str �r7 rM rI rI rJ r � s zDataset.display_namec C s || _ dS )z� Sets the display_name of this Dataset. A user-friendly display name for the resource. :param display_name: The display_name of this Dataset. :type: str NrN )rG r rI rI rJ r � s c C s | j S )z� **[Required]** Gets the compartment_id of this Dataset. The OCID of the compartment of the resource. :return: The compartment_id of this Dataset. :rtype: str �r8 rM rI rI rJ r � s zDataset.compartment_idc C s || _ dS )z� Sets the compartment_id of this Dataset. The OCID of the compartment of the resource. :param compartment_id: The compartment_id of this Dataset. :type: str NrO )rG r rI rI rJ r � s c C s | j S )z� Gets the description of this Dataset. A user provided description of the dataset :return: The description of this Dataset. :rtype: str �r9 rM rI rI rJ r � s zDataset.descriptionc C s || _ dS )z� Sets the description of this Dataset. A user provided description of the dataset :param description: The description of this Dataset. :type: str NrP )rG r rI rI rJ r s c C s | j S )z� **[Required]** Gets the time_created of this Dataset. The date and time the resource was created, in the timestamp format defined by RFC3339. :return: The time_created of this Dataset. :rtype: datetime �r: rM rI rI rJ r s zDataset.time_createdc C s || _ dS )z� Sets the time_created of this Dataset. The date and time the resource was created, in the timestamp format defined by RFC3339. :param time_created: The time_created of this Dataset. :type: datetime NrQ )rG r rI rI rJ r s c C s | j S )z� **[Required]** Gets the time_updated of this Dataset. The date and time the resource was last updated, in the timestamp format defined by RFC3339. :return: The time_updated of this Dataset. :rtype: datetime �r; rM rI rI rJ r * s zDataset.time_updatedc C s || _ dS )z� Sets the time_updated of this Dataset. The date and time the resource was last updated, in the timestamp format defined by RFC3339. :param time_updated: The time_updated of this Dataset. :type: datetime NrR )rG r rI rI rJ r 6 s c C s | j S )aA **[Required]** Gets the lifecycle_state of this Dataset. The state of a dataset. CREATING - The dataset is being created. It will transition to ACTIVE when it is ready for labeling. ACTIVE - The dataset is ready for labeling. UPDATING - The dataset is being updated. It and its related resources may be unavailable for other updates until it returns to ACTIVE. NEEDS_ATTENTION - A dataset updation operation has failed due to validation or other errors and needs attention. DELETING - The dataset and its related resources are being deleted. DELETED - The dataset has been deleted and is no longer available. FAILED - The dataset has failed due to validation or other errors. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "NEEDS_ATTENTION", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Dataset. :rtype: str )r<