ruạṛ
a ���f�H � @ 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 d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zd;d<� Zd=d>� Zd?d@� Z dAS )B�UsageLimitSummaryza Encapsulates a collection of Hard and Soft Limits for a resource within a subscription. �QUOTA_BREACH�QUOTA_ALERT�HARD�SOFT�ABSOLUTE� PERCENTAGE�ACTIVEc K s� ddddddddddddddddd�| _ ddddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a� Initializes a new UsageLimitSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param time_created: The value to assign to the time_created property of this UsageLimitSummary. :type time_created: datetime :param entitlement_id: The value to assign to the entitlement_id property of this UsageLimitSummary. :type entitlement_id: str :param id: The value to assign to the id property of this UsageLimitSummary. :type id: str :param time_modified: The value to assign to the time_modified property of this UsageLimitSummary. :type time_modified: datetime :param resource_name: The value to assign to the resource_name property of this UsageLimitSummary. :type resource_name: str :param service_name: The value to assign to the service_name property of this UsageLimitSummary. :type service_name: str :param limit: The value to assign to the limit property of this UsageLimitSummary. :type limit: str :param created_by: The value to assign to the created_by property of this UsageLimitSummary. :type created_by: str :param modified_by: The value to assign to the modified_by property of this UsageLimitSummary. :type modified_by: str :param action: The value to assign to the action property of this UsageLimitSummary. Allowed values for this property are: "QUOTA_BREACH", "QUOTA_ALERT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type action: str :param alert_level: The value to assign to the alert_level property of this UsageLimitSummary. :type alert_level: float :param limit_type: The value to assign to the limit_type property of this UsageLimitSummary. Allowed values for this property are: "HARD", "SOFT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type limit_type: str :param value_type: The value to assign to the value_type property of this UsageLimitSummary. Allowed values for this property are: "ABSOLUTE", "PERCENTAGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type value_type: str :param lifecycle_state: The value to assign to the lifecycle_state property of this UsageLimitSummary. Allowed values for this property are: "ACTIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param max_hard_limit: The value to assign to the max_hard_limit property of this UsageLimitSummary. :type max_hard_limit: str :param sku_part_id: The value to assign to the sku_part_id property of this UsageLimitSummary. :type sku_part_id: str Zdatetime�str�float)�time_created�entitlement_id�id� time_modified� resource_name�service_name�limit� created_by�modified_by�action�alert_level� limit_type� value_type�lifecycle_state�max_hard_limit�sku_part_idZtimeCreatedZ entitlementIdr ZtimeModifiedZresourceNameZserviceNamer Z createdByZ modifiedByr Z alertLevelZ limitTypeZ valueTypeZlifecycleStateZmaxHardLimitZ skuPartIdN)Z swagger_typesZ attribute_map� _time_created�_entitlement_id�_id�_time_modified�_resource_name� _service_name�_limit�_created_by�_modified_by�_action�_alert_level�_limit_type�_value_type�_lifecycle_state�_max_hard_limit�_sku_part_id)�self�kwargs� r2 �H/usr/lib/python3.9/site-packages/oci/usage/models/usage_limit_summary.py�__init__. sd O��zUsageLimitSummary.__init__c C s | j S )z� **[Required]** Gets the time_created of this UsageLimitSummary. Time when the usage limit was created :return: The time_created of this UsageLimitSummary. :rtype: datetime �r �r0 r2 r2 r3 r � s zUsageLimitSummary.time_createdc C s || _ dS )z� Sets the time_created of this UsageLimitSummary. Time when the usage limit was created :param time_created: The time_created of this UsageLimitSummary. :type: datetime Nr5 )r0 r r2 r2 r3 r � s c C s | j S )z� **[Required]** Gets the entitlement_id of this UsageLimitSummary. Entitlement ID of the usage limit :return: The entitlement_id of this UsageLimitSummary. :rtype: str �r! r6 r2 r2 r3 r � s z UsageLimitSummary.entitlement_idc C s || _ dS )z� Sets the entitlement_id of this UsageLimitSummary. Entitlement ID of the usage limit :param entitlement_id: The entitlement_id of this UsageLimitSummary. :type: str Nr7 )r0 r r2 r2 r3 r � s c C s | j S )z� **[Required]** Gets the id of this UsageLimitSummary. The usage limit ID :return: The id of this UsageLimitSummary. :rtype: str �r"