ruạṛ
a ���fm � @ 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 Zd Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�ImportFormatz8 File format details used for importing dataset �JSONL_CONSOLIDATED�JSONL_COMPACT_PLUS_CONTENT�CONLL�SPACY�COCO�YOLO� PASCAL_VOC�V2003�V5c K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new ImportFormat object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this ImportFormat. Allowed values for this property are: "JSONL_CONSOLIDATED", "JSONL_COMPACT_PLUS_CONTENT", "CONLL", "SPACY", "COCO", "YOLO", "PASCAL_VOC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type name: str :param version: The value to assign to the version property of this ImportFormat. Allowed values for this property are: "V2003", "V5", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type version: str �str)�name�versionr r N)Z swagger_typesZ attribute_map�_name�_version)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/data_labeling_service/models/import_format.py�__init__6 s ��zImportFormat.__init__c C s | j S )a� **[Required]** Gets the name of this ImportFormat. Name of import format Allowed values for this property are: "JSONL_CONSOLIDATED", "JSONL_COMPACT_PLUS_CONTENT", "CONLL", "SPACY", "COCO", "YOLO", "PASCAL_VOC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The name of this ImportFormat. :rtype: str )r �r r r r r U s zImportFormat.namec C s g d�}t ||�sd}|| _dS )z� Sets the name of this ImportFormat. Name of import format :param name: The name of this ImportFormat. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r d s c C s | j S )aT Gets the version of this ImportFormat. Version of import format Allowed values for this property are: "V2003", "V5", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The version of this ImportFormat. :rtype: str )r r r r r r s s zImportFormat.versionc C s ddg}t ||�sd}|| _dS )z� Sets the version of this ImportFormat. Version of import format :param version: The version of this ImportFormat. :type: str r r r N)r r )r r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zImportFormat.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zImportFormat.__eq__c C s | |k S r r r r r r �__ne__� s zImportFormat.__ne__N)�__name__� __module__�__qualname__�__doc__ZNAME_JSONL_CONSOLIDATEDZNAME_JSONL_COMPACT_PLUS_CONTENTZ NAME_CONLLZ NAME_SPACYZ NAME_COCOZ NAME_YOLOZNAME_PASCAL_VOCZ VERSION_V2003Z VERSION_V5r �propertyr �setterr r r"