ruạṛ
a ���f� � @ 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 @ sf e Zd ZdZdZdZdZdZdd� Ze dd � �Z ed d� �Zej dd� �Zd d� Zdd� Zdd� ZdS )�Entitya� An entity allows the labeler to identify an object in the record to label. This can be, for example, a snippet of text, an entire image, or a bounding box within an image. All entity types have an array of labels that are indexed. If more than one label is provided, but the annotationType on the corresponding dataset is for a single class, the API rejects the create annotation request. �GENERIC�IMAGEOBJECTSELECTION� TEXTSELECTION�KEYVALUESELECTIONc K s ddi| _ ddi| _d| _dS )a= Initializes a new Entity object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.data_labeling_service_dataplane.models.ImageObjectSelectionEntity` * :class:`~oci.data_labeling_service_dataplane.models.GenericEntity` * :class:`~oci.data_labeling_service_dataplane.models.KeyValueSelectionEntity` * :class:`~oci.data_labeling_service_dataplane.models.TextSelectionEntity` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param entity_type: The value to assign to the entity_type property of this Entity. Allowed values for this property are: "GENERIC", "IMAGEOBJECTSELECTION", "TEXTSELECTION", "KEYVALUESELECTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type entity_type: str �entity_type�str� entityTypeN)Z swagger_typesZ attribute_map�_entity_type)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/data_labeling_service_dataplane/models/entity.py�__init__"