ruạṛ
a ���f�6 � @ 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 @ sL e Zd ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zd(d)� Zd*d+� Zd,d-� Zd.S )/� UsagePlanzs A usage plan controls access of subscribers to deployments, controlling rate limits and quotas for usage. �CREATING�ACTIVE�UPDATING�DELETING�DELETED�FAILEDc K sx ddddddddddd� | _ ddd d ddd dddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _dS )a� Initializes a new UsagePlan 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 UsagePlan. :type id: str :param display_name: The value to assign to the display_name property of this UsagePlan. :type display_name: str :param entitlements: The value to assign to the entitlements property of this UsagePlan. :type entitlements: list[oci.apigateway.models.Entitlement] :param compartment_id: The value to assign to the compartment_id property of this UsagePlan. :type compartment_id: str :param time_created: The value to assign to the time_created property of this UsagePlan. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this UsagePlan. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this UsagePlan. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this UsagePlan. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this UsagePlan. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UsagePlan. :type defined_tags: dict(str, dict(str, object)) �strzlist[Entitlement]Zdatetimezdict(str, str)zdict(str, dict(str, object))) �id�display_name�entitlements�compartment_id�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tagsr ZdisplayNamer Z compartmentIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_id� _display_name� _entitlements�_compartment_id� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags)�self�kwargs� r$ �D/usr/lib/python3.9/site-packages/oci/apigateway/models/usage_plan.py�__init__* s@ 1�� zUsagePlan.__init__c C s | j S )a **[Required]** Gets the id of this UsagePlan. The `OCID`__ of a usage plan resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this UsagePlan. :rtype: str �r �r"