ruạṛ
a N��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]�datetimezdict(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 �displayNamer � compartmentId�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�freeformTags�definedTagsN)� swagger_types� attribute_map�_id� _display_name� _entitlements�_compartment_id� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags)�self�kwargs� r/ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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- r/ r/ r0 r } s zUsagePlan.idc C s || _ dS )z� Sets the id of this UsagePlan. The `OCID`__ of a usage plan resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this UsagePlan. :type: str Nr2 )r- r r/ r/ r0 r � s c C s | j S )a) Gets the display_name of this UsagePlan. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` :return: The display_name of this UsagePlan. :rtype: str �r$ r3 r/ r/ r0 r � s zUsagePlan.display_namec C s || _ dS )a4 Sets the display_name of this UsagePlan. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` :param display_name: The display_name of this UsagePlan. :type: str Nr4 )r- r r/ r/ r0 r � s c C s | j S )a **[Required]** Gets the entitlements of this UsagePlan. A collection of entitlements currently assigned to the usage plan. :return: The entitlements of this UsagePlan. :rtype: list[oci.apigateway.models.Entitlement] �r% r3 r/ r/ r0 r � s zUsagePlan.entitlementsc C s || _ dS )z� Sets the entitlements of this UsagePlan. A collection of entitlements currently assigned to the usage plan. :param entitlements: The entitlements of this UsagePlan. :type: list[oci.apigateway.models.Entitlement] Nr5 )r- r r/ r/ r0 r � s c C s | j S )a= **[Required]** Gets the compartment_id of this UsagePlan. The `OCID`__ of the compartment in which the resource is created. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this UsagePlan. :rtype: str �r&