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                   @   sx   e Zd 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 )ÚRecommendationCountzL
    The count of recommendations in a category, grouped by importance.
    ÚCRITICALÚHIGHÚMODERATEÚLOWÚMINORc                 K   s(   dddœ| _ dddœ| _d| _d| _dS )a¾  
        Initializes a new RecommendationCount object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param importance:
            The value to assign to the importance property of this RecommendationCount.
            Allowed values for this property are: "CRITICAL", "HIGH", "MODERATE", "LOW", "MINOR", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type importance: str

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

        ÚstrÚint)Ú
importanceÚcountr   r   N)Zswagger_typesZattribute_mapÚ_importanceÚ_count)ÚselfÚkwargs© r   úMusr/lib/python3.10/site-packages/oci/optimizer/models/recommendation_count.pyÚ__init__&   s   þþ
zRecommendationCount.__init__c                 C   ó   | j S )a·  
        **[Required]** Gets the importance of this RecommendationCount.
        The level of importance assigned to the recommendation.

        Allowed values for this property are: "CRITICAL", "HIGH", "MODERATE", "LOW", "MINOR", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The importance of this RecommendationCount.
        :rtype: str
        )r   ©r   r   r   r   r   C   s   zRecommendationCount.importancec                 C   s    g d¢}t ||ƒsd}|| _dS )zÞ
        Sets the importance of this RecommendationCount.
        The level of importance assigned to the recommendation.


        :param importance: The importance of this RecommendationCount.
        :type: str
        )r   r   r	   r
   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   R   s   


c                 C   r   )zÀ
        **[Required]** Gets the count of this RecommendationCount.
        The count of recommendations.


        :return: The count of this RecommendationCount.
        :rtype: int
        ©r   r   r   r   r   r   a   s   
zRecommendationCount.countc                 C   s
   || _ dS )zµ
        Sets the count of this RecommendationCount.
        The count of recommendations.


        :param count: The count of this RecommendationCount.
        :type: int
        Nr   )r   r   r   r   r   r   m   s   

c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__y   s   zRecommendationCount.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__|   s   zRecommendationCount.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__‚   s   
zRecommendationCount.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZIMPORTANCE_CRITICALZIMPORTANCE_HIGHZIMPORTANCE_MODERATEZIMPORTANCE_LOWZIMPORTANCE_MINORr   Ú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   