ruạṛ
a N��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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�TextSpanzm A wrapper class for offset and length, which together, represent a span of text in a text document. c K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new TextSpan object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param offset: The value to assign to the offset property of this TextSpan. :type offset: float :param length: The value to assign to the length property of this TextSpan. :type length: float �float)�offset�lengthr r N)� swagger_types� attribute_map�_offset�_length)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_labeling_service_dataplane/models/text_span.py�__init__ s ��zTextSpan.__init__c C s | j S )z� Gets the offset of this TextSpan. The offset of the selected text within the entire text. :return: The offset of this TextSpan. :rtype: float �r �r r r r r + s zTextSpan.offsetc C s || _ dS )z� Sets the offset of this TextSpan. The offset of the selected text within the entire text. :param offset: The offset of this TextSpan. :type: float Nr )r r r r r r 7 s c C s | j S )z� Gets the length of this TextSpan. The length of the selected text. :return: The length of this TextSpan. :rtype: float �r r r r r r C s zTextSpan.lengthc C s || _ dS )z� Sets the length of this TextSpan. The length of the selected text. :param length: The length of this TextSpan. :type: float Nr )r r r r r r O s c C s t | �S �N)r r r r r �__repr__[ s zTextSpan.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__^ s zTextSpan.__eq__c C s | |k S r r r r r r �__ne__d s zTextSpan.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s r N)�oci.utilr r r �oci.decoratorsr �objectr r r r r �<module> s
cải xoăn