📂 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: subscription.cpython-39.opt-1.pyc
a ���f�, � @ 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 ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Zd d!� Zd"d#� Zd$d%� Zd&S )'�Subscriptionz_ Base subscription type, which carries shared properties for any subscription version. �V1�V2c K sd ddddddddd�| _ dddd d ddd d�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )ar Initializes a new Subscription object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.tenant_manager_control_plane.models.ClassicSubscription` * :class:`~oci.tenant_manager_control_plane.models.CloudSubscription` 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 Subscription. 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 Subscription. :type id: str :param compartment_id: The value to assign to the compartment_id property of this Subscription. :type compartment_id: str :param service_name: The value to assign to the service_name property of this Subscription. :type service_name: str :param time_created: The value to assign to the time_created property of this Subscription. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Subscription. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this Subscription. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Subscription. :type defined_tags: dict(str, dict(str, object)) �strZdatetimezdict(str, str)zdict(str, dict(str, object)))�entity_version�id�compartment_id�service_name�time_created�time_updated� freeform_tags�defined_tags� entityVersionr Z compartmentIdZserviceNameZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsN) Z swagger_typesZ attribute_map�_entity_version�_id�_compartment_id� _service_name� _time_created� _time_updated�_freeform_tags� _defined_tags)�self�kwargs� r �X/usr/lib/python3.9/site-packages/oci/tenant_manager_control_plane/models/subscription.py�__init__ s4 .��zSubscription.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZClassicSubscriptionr ZCloudSubscriptionr Nr )Zobject_dictionary�typer r r �get_subtypef s zSubscription.get_subtypec C s | j S )a� **[Required]** Gets the entity_version of this Subscription. The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). 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'. :return: The entity_version of this Subscription. :rtype: str )r �r r r r r v s zSubscription.entity_versionc C s ddg}t ||�sd}|| _dS )a Sets the entity_version of this Subscription. The entity version of the subscription, whether V1 (the legacy schema version), or V2 (the latest 20230401 API version). :param entity_version: The entity_version of this Subscription. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )a **[Required]** Gets the id of this Subscription. The Oracle ID (`OCID`__) of the subscription. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this Subscription. :rtype: str �r r"