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                   @   s  e 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	edd„ ƒZ
e
jdd„ ƒZ
edd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZej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 )'ÚQuotaSummaryzÉ
    Consists of a subset of all the properties of the corresponding quota, and is recommended to be used in cases requiring
    security of quota details, and for slightly better API performance.
    ÚACTIVEc              
   K   sn   ddddddddddœ	| _ ddd	d
ddddddœ	| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
dS )a£  
        Initializes a new QuotaSummary 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 QuotaSummary.
        :type id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this QuotaSummary.
        :type compartment_id: str

        :param name:
            The value to assign to the name property of this QuotaSummary.
        :type name: str

        :param description:
            The value to assign to the description property of this QuotaSummary.
        :type description: str

        :param time_created:
            The value to assign to the time_created property of this QuotaSummary.
        :type time_created: datetime

        :param locks:
            The value to assign to the locks property of this QuotaSummary.
        :type locks: list[oci.limits.models.ResourceLock]

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this QuotaSummary.
            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 freeform_tags:
            The value to assign to the freeform_tags property of this QuotaSummary.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this QuotaSummary.
        :type defined_tags: dict(str, dict(str, object))

        ÚstrÚdatetimezlist[ResourceLock]zdict(str, str)zdict(str, dict(str, object)))	ÚidÚcompartment_idÚnameÚdescriptionÚtime_createdÚlocksÚlifecycle_stateÚfreeform_tagsÚdefined_tagsr
   ZcompartmentIdr   r   ZtimeCreatedr   ZlifecycleStateZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_mapÚ_idÚ_compartment_idÚ_nameÚ_descriptionÚ_time_createdÚ_locksÚ_lifecycle_stateÚ_freeform_tagsÚ_defined_tags)ÚselfÚkwargs© r   úCusr/lib/python3.10/site-packages/oci/limits/models/quota_summary.pyÚ__init__   s:   -÷÷
zQuotaSummary.__init__c                 C   ó   | j S )z¥
        **[Required]** Gets the id of this QuotaSummary.
        The OCID of the quota.


        :return: The id of this QuotaSummary.
        :rtype: str
        ©r   ©r   r   r   r   r
   e   ó   
zQuotaSummary.idc                 C   ó
   || _ dS )z—
        Sets the id of this QuotaSummary.
        The OCID of the quota.


        :param id: The id of this QuotaSummary.
        :type: str
        Nr"   )r   r
   r   r   r   r
   q   ó   

c                 C   r!   )zñ
        **[Required]** Gets the compartment_id of this QuotaSummary.
        The OCID of the compartment containing the resource this quota applies to.


        :return: The compartment_id of this QuotaSummary.
        :rtype: str
        ©r   r#   r   r   r   r   }   r$   zQuotaSummary.compartment_idc                 C   r%   )zï
        Sets the compartment_id of this QuotaSummary.
        The OCID of the compartment containing the resource this quota applies to.


        :param compartment_id: The compartment_id of this QuotaSummary.
        :type: str
        Nr'   )r   r   r   r   r   r   ‰   r&   c                 C   r!   )a  
        **[Required]** Gets the name of this QuotaSummary.
        The name you assign to the quota during creation. The name must be unique across all quotas
        in the tenancy and cannot be changed.


        :return: The name of this QuotaSummary.
        :rtype: str
        ©r   r#   r   r   r   r   •   ó   zQuotaSummary.namec                 C   r%   )a  
        Sets the name of this QuotaSummary.
        The name you assign to the quota during creation. The name must be unique across all quotas
        in the tenancy and cannot be changed.


        :param name: The name of this QuotaSummary.
        :type: str
        Nr(   )r   r   r   r   r   r   ¢   ó   
c                 C   r!   )zÉ
        **[Required]** Gets the description of this QuotaSummary.
        The description you assign to the quota.


        :return: The description of this QuotaSummary.
        :rtype: str
        ©r   r#   r   r   r   r   ¯   r$   zQuotaSummary.descriptionc                 C   r%   )zÄ
        Sets the description of this QuotaSummary.
        The description you assign to the quota.


        :param description: The description of this QuotaSummary.
        :type: str
        Nr+   )r   r   r   r   r   r   »   r&   c                 C   r!   )a  
        **[Required]** Gets the time_created of this QuotaSummary.
        Date and time the quota was created, in the format defined by RFC 3339.
        Example: `2016-08-25T21:10:29.600Z`


        :return: The time_created of this QuotaSummary.
        :rtype: datetime
        ©r   r#   r   r   r   r   Ç   r)   zQuotaSummary.time_createdc                 C   r%   )a  
        Sets the time_created of this QuotaSummary.
        Date and time the quota was created, in the format defined by RFC 3339.
        Example: `2016-08-25T21:10:29.600Z`


        :param time_created: The time_created of this QuotaSummary.
        :type: datetime
        Nr,   )r   r   r   r   r   r   Ô   r*   c                 C   r!   )zË
        Gets the locks of this QuotaSummary.
        Locks associated with this resource.


        :return: The locks of this QuotaSummary.
        :rtype: list[oci.limits.models.ResourceLock]
        ©r   r#   r   r   r   r   á   r$   zQuotaSummary.locksc                 C   r%   )zÏ
        Sets the locks of this QuotaSummary.
        Locks associated with this resource.


        :param locks: The locks of this QuotaSummary.
        :type: list[oci.limits.models.ResourceLock]
        Nr-   )r   r   r   r   r   r   í   r&   c                 C   r!   )aÂ  
        Gets the lifecycle_state of this QuotaSummary.
        The quota's current state. After creating a quota, make sure its `lifecycleState` is set to
        ACTIVE before using it.

        Allowed values for this property are: "ACTIVE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this QuotaSummary.
        :rtype: str
        )r   r#   r   r   r   r   ù   ó   zQuotaSummary.lifecycle_statec                 C   s   dg}t ||ƒs
d}|| _dS )a#  
        Sets the lifecycle_state of this QuotaSummary.
        The quota's current state. After creating a quota, make sure its `lifecycleState` is set to
        ACTIVE before using it.


        :param lifecycle_state: The lifecycle_state of this QuotaSummary.
        :type: str
        r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   	  s   

c                 C   r!   )aÉ  
        Gets the freeform_tags of this QuotaSummary.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this QuotaSummary.
        :rtype: dict(str, str)
        ©r   r#   r   r   r   r     r.   zQuotaSummary.freeform_tagsc                 C   r%   )aÕ  
        Sets the freeform_tags of this QuotaSummary.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this QuotaSummary.
        :type: dict(str, str)
        Nr/   )r   r   r   r   r   r   )  ó   
c                 C   r!   )a¿  
        Gets the defined_tags of this QuotaSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this QuotaSummary.
        :rtype: dict(str, dict(str, object))
        ©r   r#   r   r   r   r   9  r.   zQuotaSummary.defined_tagsc                 C   r%   )aÊ  
        Sets the defined_tags of this QuotaSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.
        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this QuotaSummary.
        :type: dict(str, dict(str, object))
        Nr1   )r   r   r   r   r   r   I  r0   c                 C   s   t | ƒS ©N)r   r#   r   r   r   Ú__repr__Y  s   zQuotaSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__\  s   zQuotaSummary.__eq__c                 C   s
   | |k S r2   r   r5   r   r   r   Ú__ne__b  s   
zQuotaSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_ACTIVEr    Úpropertyr
   Úsetterr   r   r   r   r   r   r   r   r3   r7   r8   r   r   r   r   r      sV    N

















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   