o
    ëÉ¶d  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   st   e Zd ZdZdZdZdZdZdd„ Ze	dd	„ ƒZ
e
jd
d	„ ƒZ
e	dd„ ƒZejdd„ ƒZdd„ Zdd„ Zdd„ ZdS )ÚResourceCountzB
    The count of resources in a category, grouped by status.
    ÚPENDINGÚ	DISMISSEDÚ	POSTPONEDÚIMPLEMENTEDc                 K   s(   dddœ| _ dddœ| _d| _d| _dS )a¤  
        Initializes a new ResourceCount object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param status:
            The value to assign to the status property of this ResourceCount.
            Allowed values for this property are: "PENDING", "DISMISSED", "POSTPONED", "IMPLEMENTED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type status: str

        :param count:
            The value to assign to the count property of this ResourceCount.
        :type count: int

        ÚstrÚint)ÚstatusÚcountr   r   N)Zswagger_typesZattribute_mapÚ_statusÚ_count)ÚselfÚkwargs© r   úGusr/lib/python3.10/site-packages/oci/optimizer/models/resource_count.pyÚ__init__"   s   þþ
zResourceCount.__init__c                 C   ó   | j S )aš  
        **[Required]** Gets the status of this ResourceCount.
        The recommendation status of the resource.

        Allowed values for this property are: "PENDING", "DISMISSED", "POSTPONED", "IMPLEMENTED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The status of this ResourceCount.
        :rtype: str
        )r   ©r   r   r   r   r   ?   s   zResourceCount.statusc                 C   s    g d¢}t ||ƒsd}|| _dS )z¹
        Sets the status of this ResourceCount.
        The recommendation status of the resource.


        :param status: The status of this ResourceCount.
        :type: str
        )r   r   r	   r
   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   N   s   


c                 C   r   )z®
        **[Required]** Gets the count of this ResourceCount.
        The count of resources.


        :return: The count of this ResourceCount.
        :rtype: int
        ©r   r   r   r   r   r   ]   s   
zResourceCount.countc                 C   s
   || _ dS )z£
        Sets the count of this ResourceCount.
        The count of resources.


        :param count: The count of this ResourceCount.
        :type: int
        Nr   )r   r   r   r   r   r   i   s   

c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__u   s   zResourceCount.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__x   s   zResourceCount.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__~   s   
zResourceCount.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZSTATUS_PENDINGZSTATUS_DISMISSEDZSTATUS_POSTPONEDZSTATUS_IMPLEMENTEDr   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r      s$    



r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   