ruạṛ
a ���fS; � @ 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 Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�Categoryz4 The metadata associated with the category. �ACTIVE�FAILED�INACTIVE� ATTACHING� DETACHING�DELETING�DELETED�UPDATING�CREATINGc K s� ddddddddddddd�| _ dd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a Initializes a new Category 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 Category. :type id: str :param compartment_id: The value to assign to the compartment_id property of this Category. :type compartment_id: str :param compartment_name: The value to assign to the compartment_name property of this Category. :type compartment_name: str :param name: The value to assign to the name property of this Category. :type name: str :param description: The value to assign to the description property of this Category. :type description: str :param recommendation_counts: The value to assign to the recommendation_counts property of this Category. :type recommendation_counts: list[oci.optimizer.models.RecommendationCount] :param resource_counts: The value to assign to the resource_counts property of this Category. :type resource_counts: list[oci.optimizer.models.ResourceCount] :param lifecycle_state: The value to assign to the lifecycle_state property of this Category. 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 Category. :type estimated_cost_saving: float :param time_created: The value to assign to the time_created property of this Category. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Category. :type time_updated: datetime :param extended_metadata: The value to assign to the extended_metadata property of this Category. :type extended_metadata: dict(str, str) �strzlist[RecommendationCount]zlist[ResourceCount]�floatZdatetimezdict(str, str))�id�compartment_id�compartment_name�name�description�recommendation_counts�resource_counts�lifecycle_state�estimated_cost_saving�time_created�time_updated�extended_metadatar Z compartmentIdZcompartmentNamer r ZrecommendationCountsZresourceCountsZlifecycleStateZestimatedCostSavingZtimeCreatedZtimeUpdatedZextendedMetadataN)Z swagger_typesZ attribute_map�_id�_compartment_id�_compartment_name�_name�_description�_recommendation_counts�_resource_counts�_lifecycle_state�_estimated_cost_saving� _time_created� _time_updated�_extended_metadata)�self�kwargs� r, �A/usr/lib/python3.9/site-packages/oci/optimizer/models/category.py�__init__6 sL 9��zCategory.__init__c C s | j S )z� **[Required]** Gets the id of this Category. The unique OCID of the category. :return: The id of this Category. :rtype: str �r �r* r, r, r- r � s zCategory.idc C s || _ dS )z� Sets the id of this Category. The unique OCID of the category. :param id: The id of this Category. :type: str Nr/ )r* r r, r, r- r � s c C s | j S )z� **[Required]** Gets the compartment_id of this Category. The OCID of the tenancy. The tenancy is the root compartment. :return: The compartment_id of this Category. :rtype: str �r r0 r, r, r- r � s zCategory.compartment_idc C s || _ dS )z� Sets the compartment_id of this Category. The OCID of the tenancy. The tenancy is the root compartment. :param compartment_id: The compartment_id of this Category. :type: str Nr1 )r* r r, r, r- r � s c C s | j S )z� **[Required]** Gets the compartment_name of this Category. The name associated with the compartment. :return: The compartment_name of this Category. :rtype: str �r r0 r, r, r- r � s zCategory.compartment_namec C s || _ dS )z� Sets the compartment_name of this Category. The name associated with the compartment. :param compartment_name: The compartment_name of this Category. :type: str Nr2 )r* r r, r, r- r � s c C s | j S )z� **[Required]** Gets the name of this Category. The name assigned to the category. :return: The name of this Category. :rtype: str �r! r0 r, r, r- r � s z Category.namec C s || _ dS )z� Sets the name of this Category. The name assigned to the category. :param name: The name of this Category. :type: str Nr3 )r* r r, r, r- r � s c C s | j S )z� **[Required]** Gets the description of this Category. Text describing the category. :return: The description of this Category. :rtype: str �r"