📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
tenant_manager_control_plane
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/tenant_manager_control_plane/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: classic_subscription.cpython-39.opt-1.pyc
a ���fDW � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Subscription� )�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�ClassicSubscriptionz] Subscription information for the compartmentId. Only root compartments are allowed. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILEDc K s ddddddddddddddddddddddddd�| _ d d ddd ddddddddddddddddddd 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 ClassicSubscription object with values from keyword arguments. The default value of the :py:attr:`~oci.tenant_manager_control_plane.models.ClassicSubscription.entity_version` attribute of this class is ``V1`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param entity_version: The value to assign to the entity_version property of this ClassicSubscription. Allowed values for this property are: "V1", "V2", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type entity_version: str :param id: The value to assign to the id property of this ClassicSubscription. :type id: str :param compartment_id: The value to assign to the compartment_id property of this ClassicSubscription. :type compartment_id: str :param service_name: The value to assign to the service_name property of this ClassicSubscription. :type service_name: str :param time_created: The value to assign to the time_created property of this ClassicSubscription. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ClassicSubscription. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this ClassicSubscription. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ClassicSubscription. :type defined_tags: dict(str, dict(str, object)) :param classic_subscription_id: The value to assign to the classic_subscription_id property of this ClassicSubscription. :type classic_subscription_id: str :param is_classic_subscription: The value to assign to the is_classic_subscription property of this ClassicSubscription. :type is_classic_subscription: bool :param payment_model: The value to assign to the payment_model property of this ClassicSubscription. :type payment_model: str :param region_assignment: The value to assign to the region_assignment property of this ClassicSubscription. :type region_assignment: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ClassicSubscription. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "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 skus: The value to assign to the skus property of this ClassicSubscription. :type skus: list[oci.tenant_manager_control_plane.models.SubscriptionSku] :param program_type: The value to assign to the program_type property of this ClassicSubscription. :type program_type: str :param customer_country_code: The value to assign to the customer_country_code property of this ClassicSubscription. :type customer_country_code: str :param cloud_amount_currency: The value to assign to the cloud_amount_currency property of this ClassicSubscription. :type cloud_amount_currency: str :param csi_number: The value to assign to the csi_number property of this ClassicSubscription. :type csi_number: str :param subscription_tier: The value to assign to the subscription_tier property of this ClassicSubscription. :type subscription_tier: str :param is_government_subscription: The value to assign to the is_government_subscription property of this ClassicSubscription. :type is_government_subscription: bool :param promotion: The value to assign to the promotion property of this ClassicSubscription. :type promotion: list[oci.tenant_manager_control_plane.models.Promotion] :param purchase_entitlement_id: The value to assign to the purchase_entitlement_id property of this ClassicSubscription. :type purchase_entitlement_id: str :param start_date: The value to assign to the start_date property of this ClassicSubscription. :type start_date: datetime :param end_date: The value to assign to the end_date property of this ClassicSubscription. :type end_date: datetime �strZdatetimezdict(str, str)zdict(str, dict(str, object))�boolzlist[SubscriptionSku]zlist[Promotion])Zentity_version�idZcompartment_idZservice_nameZtime_createdZtime_updatedZ freeform_tagsZdefined_tags�classic_subscription_id�is_classic_subscription� payment_model�region_assignment�lifecycle_state�skus�program_type�customer_country_code�cloud_amount_currency� csi_number�subscription_tier�is_government_subscription� promotion�purchase_entitlement_id� start_date�end_dateZ entityVersionr Z compartmentIdZserviceNameZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsZclassicSubscriptionIdZisClassicSubscriptionZpaymentModelZregionAssignmentZlifecycleStater ZprogramTypeZcustomerCountryCodeZcloudAmountCurrencyZ csiNumberZsubscriptionTierZisGovernmentSubscriptionr ZpurchaseEntitlementIdZ startDateZendDateNZV1)Z swagger_typesZ attribute_mapZ_entity_versionZ_idZ_compartment_idZ _service_nameZ _time_createdZ _time_updatedZ_freeform_tagsZ _defined_tags�_classic_subscription_id�_is_classic_subscription�_payment_model�_region_assignment�_lifecycle_state�_skus� _program_type�_customer_country_code�_cloud_amount_currency�_csi_number�_subscription_tier�_is_government_subscription� _promotion�_purchase_entitlement_id�_start_date� _end_date)�self�kwargs� r5 �`/usr/lib/python3.9/site-packages/oci/tenant_manager_control_plane/models/classic_subscription.py�__init__. s� l��zClassicSubscription.__init__c C s | j S )z� **[Required]** Gets the classic_subscription_id of this ClassicSubscription. Classic subscription ID. :return: The classic_subscription_id of this ClassicSubscription. :rtype: str �r# �r3 r5 r5 r6 r � s z+ClassicSubscription.classic_subscription_idc C s || _ dS )z� Sets the classic_subscription_id of this ClassicSubscription. Classic subscription ID. :param classic_subscription_id: The classic_subscription_id of this ClassicSubscription. :type: str Nr8 )r3 r r5 r5 r6 r � s c C s | j S )z� Gets the is_classic_subscription of this ClassicSubscription. Specifies whether or not the subscription is from classic systems. :return: The is_classic_subscription of this ClassicSubscription. :rtype: bool �r$ r9 r5 r5 r6 r s z+ClassicSubscription.is_classic_subscriptionc C s || _ dS )a Sets the is_classic_subscription of this ClassicSubscription. Specifies whether or not the subscription is from classic systems. :param is_classic_subscription: The is_classic_subscription of this ClassicSubscription. :type: bool Nr: )r3 r r5 r5 r6 r s c C s | j S )z� Gets the payment_model of this ClassicSubscription. The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. :return: The payment_model of this ClassicSubscription. :rtype: str �r% r9 r5 r5 r6 r s z!ClassicSubscription.payment_modelc C s || _ dS )z� Sets the payment_model of this ClassicSubscription. The pay model of the subscription, such as 'Pay as you go' or 'Monthly'. :param payment_model: The payment_model of this ClassicSubscription. :type: str Nr; )r3 r r5 r5 r6 r % s c C s | j S )z� Gets the region_assignment of this ClassicSubscription. Region for the subscription. :return: The region_assignment of this ClassicSubscription. :rtype: str �r&