ruạṛ
a N��f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Entity� )�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 d d� Z dd� Zdd� ZdS )�TextSelectionEntityzm This lets the labeler highlight text, by specifying an offset and a length, and apply labels to it. c K sB ddddd�| _ dddd d�| _d | _d | _d | _d | _d| _d S )a� Initializes a new TextSelectionEntity object with values from keyword arguments. The default value of the :py:attr:`~oci.data_labeling_service_dataplane.models.TextSelectionEntity.entity_type` attribute of this class is ``TEXTSELECTION`` and it should not be changed. 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 TextSelectionEntity. Allowed values for this property are: "GENERIC", "IMAGEOBJECTSELECTION", "TEXTSELECTION" :type entity_type: str :param labels: The value to assign to the labels property of this TextSelectionEntity. :type labels: list[oci.data_labeling_service_dataplane.models.Label] :param text_span: The value to assign to the text_span property of this TextSelectionEntity. :type text_span: oci.data_labeling_service_dataplane.models.TextSpan :param extended_metadata: The value to assign to the extended_metadata property of this TextSelectionEntity. :type extended_metadata: dict(str, str) �strzlist[Label]�TextSpanzdict(str, str))�entity_type�labels� text_span�extended_metadata� entityTyper �textSpan�extendedMetadataN� TEXTSELECTION)� swagger_types� attribute_map�_entity_type�_labels� _text_span�_extended_metadata)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_labeling_service_dataplane/models/text_selection_entity.py�__init__ s ��zTextSelectionEntity.__init__c C s | j S )z� **[Required]** Gets the labels of this TextSelectionEntity. A collection of label entities. :return: The labels of this TextSelectionEntity. :rtype: list[oci.data_labeling_service_dataplane.models.Label] �r �r r r r r <