ruạṛ
a O��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 @ sx e Zd ZdZdZdZdZdZdZdd� Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z dd� Zdd� Zdd� ZdS )�RecommendationCountzL The count of recommendations in a category, grouped by importance. �CRITICAL�HIGH�MODERATE�LOW�MINORc K s( ddd�| _ ddd�| _d| _d| _dS )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)� swagger_types� attribute_map�_importance�_count)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/optimizer/models/recommendation_count.py�__init__$ s ��zRecommendationCount.__init__c C s | 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 A s zRecommendationCount.importancec C s g d�}t ||�sd}|| _dS )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 �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r P s c C s | j S )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 _ s zRecommendationCount.countc C s || _ dS )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 k s c C s t | �S �N)r r r r r �__repr__w s zRecommendationCount.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__z s zRecommendationCount.__eq__c C s | |k S r r r r r r �__ne__� s zRecommendationCount.__ne__N)�__name__� __module__�__qualname__�__doc__�IMPORTANCE_CRITICAL�IMPORTANCE_HIGH�IMPORTANCE_MODERATE�IMPORTANCE_LOW�IMPORTANCE_MINORr �propertyr �setterr r r"