ruạṛ
a ���fDW � @ 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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Z e jd-d,� �Z ed.d/� �Z!e!jd0d/� �Z!ed1d2� �Z"e"jd3d2� �Z"ed4d5� �Z#e#jd6d5� �Z#ed7d8� �Z$e$jd9d8� �Z$ed:d;� �Z%e%jd<d;� �Z%ed=d>� �Z&e&jd?d>� �Z&ed@dA� �Z'e'jdBdA� �Z'edCdD� �Z(e(jdEdD� �Z(dFdG� Z)dHdI� Z*dJdK� Z+dLS )M�Recommendationz: The metadata associated with the recommendation. �CRITICAL�HIGH�MODERATE�LOW�MINOR�ACTIVE�FAILED�INACTIVE� ATTACHING� DETACHING�DELETING�DELETED�UPDATING�CREATING�PENDING� DISMISSED� POSTPONED�IMPLEMENTEDc K s� ddddddddddddddddd�| _ dd d ddd ddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a> Initializes a new Recommendation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this Recommendation. :type id: str :param compartment_id: The value to assign to the compartment_id property of this Recommendation. :type compartment_id: str :param category_id: The value to assign to the category_id property of this Recommendation. :type category_id: str :param name: The value to assign to the name property of this Recommendation. :type name: str :param description: The value to assign to the description property of this Recommendation. :type description: str :param importance: The value to assign to the importance property of this 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'. :type importance: str :param resource_counts: The value to assign to the resource_counts property of this Recommendation. :type resource_counts: list[oci.optimizer.models.ResourceCount] :param lifecycle_state: The value to assign to the lifecycle_state property of this Recommendation. Allowed values for this property are: "ACTIVE", "FAILED", "INACTIVE", "ATTACHING", "DETACHING", "DELETING", "DELETED", "UPDATING", "CREATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param estimated_cost_saving: The value to assign to the estimated_cost_saving property of this Recommendation. :type estimated_cost_saving: float :param status: The value to assign to the status property of this Recommendation. 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 time_status_begin: The value to assign to the time_status_begin property of this Recommendation. :type time_status_begin: datetime :param time_status_end: The value to assign to the time_status_end property of this Recommendation. :type time_status_end: datetime :param time_created: The value to assign to the time_created property of this Recommendation. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Recommendation. :type time_updated: datetime :param supported_levels: The value to assign to the supported_levels property of this Recommendation. :type supported_levels: oci.optimizer.models.SupportedLevels :param extended_metadata: The value to assign to the extended_metadata property of this Recommendation. :type extended_metadata: dict(str, str) �strzlist[ResourceCount]�floatZdatetimeZSupportedLevelszdict(str, str))�id�compartment_id�category_id�name�description� importance�resource_counts�lifecycle_state�estimated_cost_saving�status�time_status_begin�time_status_end�time_created�time_updated�supported_levels�extended_metadatar Z compartmentIdZ categoryIdr r r ZresourceCountsZlifecycleStateZestimatedCostSavingr$ ZtimeStatusBeginZ timeStatusEndZtimeCreatedZtimeUpdatedZsupportedLevelsZextendedMetadataN)Z swagger_typesZ attribute_map�_id�_compartment_id�_category_id�_name�_description�_importance�_resource_counts�_lifecycle_state�_estimated_cost_saving�_status�_time_status_begin�_time_status_end� _time_created� _time_updated�_supported_levels�_extended_metadata)�self�kwargs� r= �G/usr/lib/python3.9/site-packages/oci/optimizer/models/recommendation.py�__init__Z sd M��zRecommendation.__init__c C s | j S )z� **[Required]** Gets the id of this Recommendation. The unique OCID associated with the recommendation. :return: The id of this Recommendation. :rtype: str �r+ �r; r= r= r>