ruạṛ
a ���fh� � @ 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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Z e jd,d+� �Z ed-d.� �Z!e!jd/d.� �Z!ed0d1� �Z"e"jd2d1� �Z"ed3d4� �Z#e#jd5d4� �Z#ed6d7� �Z$e$jd8d7� �Z$ed9d:� �Z%e%jd;d:� �Z%ed<d=� �Z&e&jd>d=� �Z&ed?d@� �Z'e'jdAd@� �Z'edBdC� �Z(e(jdDdC� �Z(edEdF� �Z)e)jdGdF� �Z)edHdI� �Z*e*jdJdI� �Z*edKdL� �Z+e+jdMdL� �Z+edNdO� �Z,e,jdPdO� �Z,edQdR� �Z-e-jdSdR� �Z-edTdU� �Z.e.jdVdU� �Z.edWdX� �Z/e/jdYdX� �Z/edZd[� �Z0e0jd\d[� �Z0ed]d^� �Z1e1jd_d^� �Z1ed`da� �Z2e2jdbda� �Z2dcdd� Z3dedf� Z4dgdh� Z5diS )j�OceInstanceSummaryz% Summary of the OceInstance. �PRIMARY� NONPRIMARY�PUBLIC�PRIVATE�NEW�BYOL�PREMIUM�STARTER�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�STANDBY�FAILOVER�DOWNc K s ddddddddddddddddddddddddddd�| _ dd 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"| _d"| _d"S )#a� Initializes a new OceInstanceSummary 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 OceInstanceSummary. :type id: str :param guid: The value to assign to the guid property of this OceInstanceSummary. :type guid: str :param description: The value to assign to the description property of this OceInstanceSummary. :type description: str :param compartment_id: The value to assign to the compartment_id property of this OceInstanceSummary. :type compartment_id: str :param name: The value to assign to the name property of this OceInstanceSummary. :type name: str :param tenancy_id: The value to assign to the tenancy_id property of this OceInstanceSummary. :type tenancy_id: str :param idcs_tenancy: The value to assign to the idcs_tenancy property of this OceInstanceSummary. :type idcs_tenancy: str :param tenancy_name: The value to assign to the tenancy_name property of this OceInstanceSummary. :type tenancy_name: str :param instance_usage_type: The value to assign to the instance_usage_type property of this OceInstanceSummary. Allowed values for this property are: "PRIMARY", "NONPRIMARY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type instance_usage_type: str :param add_on_features: The value to assign to the add_on_features property of this OceInstanceSummary. :type add_on_features: list[str] :param object_storage_namespace: The value to assign to the object_storage_namespace property of this OceInstanceSummary. :type object_storage_namespace: str :param admin_email: The value to assign to the admin_email property of this OceInstanceSummary. :type admin_email: str :param upgrade_schedule: The value to assign to the upgrade_schedule property of this OceInstanceSummary. :type upgrade_schedule: str :param waf_primary_domain: The value to assign to the waf_primary_domain property of this OceInstanceSummary. :type waf_primary_domain: str :param instance_access_type: The value to assign to the instance_access_type property of this OceInstanceSummary. Allowed values for this property are: "PUBLIC", "PRIVATE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type instance_access_type: str :param instance_license_type: The value to assign to the instance_license_type property of this OceInstanceSummary. Allowed values for this property are: "NEW", "BYOL", "PREMIUM", "STARTER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type instance_license_type: str :param time_created: The value to assign to the time_created property of this OceInstanceSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this OceInstanceSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this OceInstanceSummary. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "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 OceInstanceSummary. Allowed values for this property are: "STANDBY", "FAILOVER", "DOWN", "PRIMARY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_details: str :param dr_region: The value to assign to the dr_region property of this OceInstanceSummary. :type dr_region: str :param state_message: The value to assign to the state_message property of this OceInstanceSummary. :type state_message: str :param service: The value to assign to the service property of this OceInstanceSummary. :type service: dict(str, object) :param freeform_tags: The value to assign to the freeform_tags property of this OceInstanceSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this OceInstanceSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this OceInstanceSummary. :type system_tags: dict(str, dict(str, object)) �strz list[str]Zdatetimezdict(str, object)zdict(str, str)zdict(str, dict(str, object)))�id�guid�description�compartment_id�name� tenancy_id�idcs_tenancy�tenancy_name�instance_usage_type�add_on_features�object_storage_namespace�admin_email�upgrade_schedule�waf_primary_domain�instance_access_type�instance_license_type�time_created�time_updated�lifecycle_state�lifecycle_details� dr_region� state_message�service� freeform_tags�defined_tags�system_tagsr r r Z compartmentIdr Z tenancyIdZidcsTenancyZtenancyNameZinstanceUsageTypeZ addOnFeaturesZobjectStorageNamespaceZ adminEmailZupgradeScheduleZwafPrimaryDomainZinstanceAccessTypeZinstanceLicenseTypeZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZdrRegionZstateMessager/ ZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_guid�_description�_compartment_id�_name�_tenancy_id� _idcs_tenancy� _tenancy_name�_instance_usage_type�_add_on_features�_object_storage_namespace�_admin_email�_upgrade_schedule�_waf_primary_domain�_instance_access_type�_instance_license_type� _time_created� _time_updated�_lifecycle_state�_lifecycle_details� _dr_region�_state_message�_service�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rO �G/usr/lib/python3.9/site-packages/oci/oce/models/oce_instance_summary.py�__init__Z s� y��zOceInstanceSummary.__init__c C s | j S )z� **[Required]** Gets the id of this OceInstanceSummary. Unique identifier that is immutable on creation :return: The id of this OceInstanceSummary. :rtype: str �r3 �rM rO rO rP r ' s zOceInstanceSummary.idc C s || _ dS )z� Sets the id of this OceInstanceSummary. Unique identifier that is immutable on creation :param id: The id of this OceInstanceSummary. :type: str NrR )rM r rO rO rP r 3 s c C s | j S )z� **[Required]** Gets the guid of this OceInstanceSummary. Unique GUID identifier that is immutable on creation :return: The guid of this OceInstanceSummary. :rtype: str �r4 rS rO rO rP r ? s zOceInstanceSummary.guidc C s || _ dS )z� Sets the guid of this OceInstanceSummary. Unique GUID identifier that is immutable on creation :param guid: The guid of this OceInstanceSummary. :type: str NrT )rM r rO rO rP r K s c C s | j S )z� Gets the description of this OceInstanceSummary. OceInstance description, can be updated :return: The description of this OceInstanceSummary. :rtype: str �r5 rS rO rO rP r W s zOceInstanceSummary.descriptionc C s || _ dS )z� Sets the description of this OceInstanceSummary. OceInstance description, can be updated :param description: The description of this OceInstanceSummary. :type: str NrU )rM r rO rO rP r c s c C s | j S )z� **[Required]** Gets the compartment_id of this OceInstanceSummary. Compartment Identifier :return: The compartment_id of this OceInstanceSummary. :rtype: str �r6 rS rO rO rP r o s z!OceInstanceSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this OceInstanceSummary. Compartment Identifier :param compartment_id: The compartment_id of this OceInstanceSummary. :type: str NrV )rM r rO rO rP r { s c C s | j S )z� **[Required]** Gets the name of this OceInstanceSummary. OceInstance Name :return: The name of this OceInstanceSummary. :rtype: str �r7 rS rO rO rP r � s zOceInstanceSummary.namec C s || _ dS )z� Sets the name of this OceInstanceSummary. OceInstance Name :param name: The name of this OceInstanceSummary. :type: str NrW )rM r rO rO rP r � s c C s | j S )z� **[Required]** Gets the tenancy_id of this OceInstanceSummary. Tenancy Identifier :return: The tenancy_id of this OceInstanceSummary. :rtype: str �r8 rS rO rO rP r � s zOceInstanceSummary.tenancy_idc C s || _ dS )z� Sets the tenancy_id of this OceInstanceSummary. Tenancy Identifier :param tenancy_id: The tenancy_id of this OceInstanceSummary. :type: str NrX )rM r rO rO rP r � s c C s | j S )z� **[Required]** Gets the idcs_tenancy of this OceInstanceSummary. IDCS Tenancy Identifier :return: The idcs_tenancy of this OceInstanceSummary. :rtype: str �r9 rS rO rO rP r � s zOceInstanceSummary.idcs_tenancyc C s || _ dS )z� Sets the idcs_tenancy of this OceInstanceSummary. IDCS Tenancy Identifier :param idcs_tenancy: The idcs_tenancy of this OceInstanceSummary. :type: str NrY )rM r rO rO rP r � s c C s | j S )z� **[Required]** Gets the tenancy_name of this OceInstanceSummary. Tenancy Name :return: The tenancy_name of this OceInstanceSummary. :rtype: str �r: rS rO rO rP r � s zOceInstanceSummary.tenancy_namec C s || _ dS )z� Sets the tenancy_name of this OceInstanceSummary. Tenancy Name :param tenancy_name: The tenancy_name of this OceInstanceSummary. :type: str NrZ )rM r rO rO rP r � s c C s | j S )a� Gets the instance_usage_type of this OceInstanceSummary. Instance type based on its usage Allowed values for this property are: "PRIMARY", "NONPRIMARY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The instance_usage_type of this OceInstanceSummary. :rtype: str )r; rS rO rO rP r! � s z&OceInstanceSummary.instance_usage_typec C s ddg}t ||�sd}|| _dS )z� Sets the instance_usage_type of this OceInstanceSummary. Instance type based on its usage :param instance_usage_type: The instance_usage_type of this OceInstanceSummary. :type: str r r �UNKNOWN_ENUM_VALUEN)r r; )rM r! �allowed_valuesrO rO rP r! � s c C s | j S )z� Gets the add_on_features of this OceInstanceSummary. a list of add-on features for the ocm instance :return: The add_on_features of this OceInstanceSummary. :rtype: list[str] �r<