ruạṛ
a ���fJ � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�ImageObjectz* The object detected in an image. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) a� Initializes a new ImageObject 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 ImageObject. :type name: str :param confidence: The value to assign to the confidence property of this ImageObject. :type confidence: float :param bounding_polygon: The value to assign to the bounding_polygon property of this ImageObject. :type bounding_polygon: oci.ai_vision.models.BoundingPolygon �str�floatZBoundingPolygon)�name� confidence�bounding_polygonr r ZboundingPolygonN)Z swagger_typesZ attribute_map�_name�_confidence�_bounding_polygon)�self�kwargs� r �E/usr/lib/python3.9/site-packages/oci/ai_vision/models/image_object.py�__init__ s ��zImageObject.__init__c C s | j S )z� **[Required]** Gets the name of this ImageObject. The object category name. Every value returned by the pre-deployed model is in English. :return: The name of this ImageObject. :rtype: str �r �r r r r r 4 s zImageObject.namec C s || _ dS )z� Sets the name of this ImageObject. The object category name. Every value returned by the pre-deployed model is in English. :param name: The name of this ImageObject. :type: str Nr )r r r r r r @ s c C s | j S )z� **[Required]** Gets the confidence of this ImageObject. The confidence score, between 0 and 1. :return: The confidence of this ImageObject. :rtype: float �r r r r r r L s zImageObject.confidencec C s || _ dS )z� Sets the confidence of this ImageObject. The confidence score, between 0 and 1. :param confidence: The confidence of this ImageObject. :type: float Nr )r r r r r r X s c C s | j S )z� **[Required]** Gets the bounding_polygon of this ImageObject. :return: The bounding_polygon of this ImageObject. :rtype: oci.ai_vision.models.BoundingPolygon �r r r r r r d s zImageObject.bounding_polygonc C s || _ dS )z� Sets the bounding_polygon of this ImageObject. :param bounding_polygon: The bounding_polygon of this ImageObject. :type: oci.ai_vision.models.BoundingPolygon Nr )r r r r r r n s c C s t | �S �N)r r r r r �__repr__x s zImageObject.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__{ s zImageObject.__eq__c C s | |k S r r r r r r �__ne__� s zImageObject.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"