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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )� GenericEntityzl This is an extensible entity type for users, and the base entity type for some annotation formats. c K s8 dddd�| _ dddd�| _d| _d| _d| _d | _dS ) a� Initializes a new GenericEntity object with values from keyword arguments. The default value of the :py:attr:`~oci.data_labeling_service_dataplane.models.GenericEntity.entity_type` attribute of this class is ``GENERIC`` 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 GenericEntity. 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 GenericEntity. :type labels: list[oci.data_labeling_service_dataplane.models.Label] :param extended_metadata: The value to assign to the extended_metadata property of this GenericEntity. :type extended_metadata: dict(str, str) �strzlist[Label]zdict(str, str))�entity_type�labels�extended_metadata� entityTyper �extendedMetadataN�GENERIC)� swagger_types� attribute_map�_entity_type�_labels�_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/generic_entity.py�__init__ s ��zGenericEntity.__init__c C s | j S )z� **[Required]** Gets the labels of this GenericEntity. A collection of label entities. :return: The labels of this GenericEntity. :rtype: list[oci.data_labeling_service_dataplane.models.Label] �r �r r r r r 5 s zGenericEntity.labelsc C s || _ dS )z� Sets the labels of this GenericEntity. A collection of label entities. :param labels: The labels of this GenericEntity. :type: list[oci.data_labeling_service_dataplane.models.Label] Nr )r r r r r r A s c C s | j S )aS Gets the extended_metadata of this GenericEntity. A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}` :return: The extended_metadata of this GenericEntity. :rtype: dict(str, str) �r r r r r r M s zGenericEntity.extended_metadatac C s || _ dS )ac Sets the extended_metadata of this GenericEntity. A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}` :param extended_metadata: The extended_metadata of this GenericEntity. :type: dict(str, str) Nr )r r r r r r Z s c C s t | �S �N)r r r r r �__repr__g s zGenericEntity.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__j s zGenericEntity.__eq__c C s | |k S r r r r r r �__ne__p s zGenericEntity.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r"