ruạṛ
a ���f�q � @ 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 @ sf 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!jd0d/� �Z!ed1d2� �Z"e"jd3d2� �Z"ed4d5� �Z#e#jd6d5� �Z#ed7d8� �Z$e$jd9d8� �Z$ed:d;� �Z%e%jd<d;� �Z%ed=d>� �Z&e&jd?d>� �Z&ed@dA� �Z'e'jdBdA� �Z'edCdD� �Z(e(jdEdD� �Z(edFdG� �Z)e)jdHdG� �Z)edIdJ� �Z*e*jdKdJ� �Z*edLdM� �Z+e+jdNdM� �Z+dOdP� Z,dQdR� Z-dSdT� Z.dUS )V�ExternalDatabaseSummaryz. The summary of an external database. � EXTERNAL_SIDB�EXTERNAL_RAC� CLOUD_SIDB� CLOUD_RAC�SHARED� DEDICATED�CDB�PDB�NON_CDB�ACD�ADB�CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILEDc K s� dddddddddddddddddddd �| _ d ddd dddddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _dS )a Initializes a new ExternalDatabaseSummary 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 ExternalDatabaseSummary. :type id: str :param display_name: The value to assign to the display_name property of this ExternalDatabaseSummary. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this ExternalDatabaseSummary. :type compartment_id: str :param db_unique_name: The value to assign to the db_unique_name property of this ExternalDatabaseSummary. :type db_unique_name: str :param database_type: The value to assign to the database_type property of this ExternalDatabaseSummary. Allowed values for this property are: "EXTERNAL_SIDB", "EXTERNAL_RAC", "CLOUD_SIDB", "CLOUD_RAC", "SHARED", "DEDICATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type database_type: str :param database_sub_type: The value to assign to the database_sub_type property of this ExternalDatabaseSummary. Allowed values for this property are: "CDB", "PDB", "NON_CDB", "ACD", "ADB", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type database_sub_type: str :param external_container_database_id: The value to assign to the external_container_database_id property of this ExternalDatabaseSummary. :type external_container_database_id: str :param external_db_home_id: The value to assign to the external_db_home_id property of this ExternalDatabaseSummary. :type external_db_home_id: str :param db_system_info: The value to assign to the db_system_info property of this ExternalDatabaseSummary. :type db_system_info: oci.database_management.models.ExternalDbSystemBasicInfo :param db_management_config: The value to assign to the db_management_config property of this ExternalDatabaseSummary. :type db_management_config: oci.database_management.models.DatabaseManagementConfig :param instance_details: The value to assign to the instance_details property of this ExternalDatabaseSummary. :type instance_details: list[oci.database_management.models.ExternalDatabaseInstance] :param lifecycle_state: The value to assign to the lifecycle_state property of this ExternalDatabaseSummary. 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 time_created: The value to assign to the time_created property of this ExternalDatabaseSummary. :type time_created: datetime :param freeform_tags: The value to assign to the freeform_tags property of this ExternalDatabaseSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ExternalDatabaseSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this ExternalDatabaseSummary. :type system_tags: dict(str, dict(str, object)) :param dbmgmt_feature_configs: The value to assign to the dbmgmt_feature_configs property of this ExternalDatabaseSummary. :type dbmgmt_feature_configs: list[oci.database_management.models.DatabaseFeatureConfiguration] :param database_version: The value to assign to the database_version property of this ExternalDatabaseSummary. :type database_version: str :param database_platform_name: The value to assign to the database_platform_name property of this ExternalDatabaseSummary. :type database_platform_name: str �strZExternalDbSystemBasicInfoZDatabaseManagementConfigzlist[ExternalDatabaseInstance]Zdatetimezdict(str, str)zdict(str, dict(str, object))z"list[DatabaseFeatureConfiguration])�id�display_name�compartment_id�db_unique_name� database_type�database_sub_type�external_container_database_id�external_db_home_id�db_system_info�db_management_config�instance_details�lifecycle_state�time_created� freeform_tags�defined_tags�system_tags�dbmgmt_feature_configs�database_version�database_platform_namer ZdisplayNameZ compartmentIdZdbUniqueNameZdatabaseTypeZdatabaseSubTypeZexternalContainerDatabaseIdZexternalDbHomeIdZdbSystemInfoZdbManagementConfigZinstanceDetailsZlifecycleStateZtimeCreatedZfreeformTagsZdefinedTagsZ systemTagsZdbmgmtFeatureConfigsZdatabaseVersionZdatabasePlatformNameN)Z swagger_typesZ attribute_map�_id� _display_name�_compartment_id�_db_unique_name�_database_type�_database_sub_type�_external_container_database_id�_external_db_home_id�_db_system_info�_db_management_config�_instance_details�_lifecycle_state� _time_created�_freeform_tags� _defined_tags�_system_tags�_dbmgmt_feature_configs�_database_version�_database_platform_name)�self�kwargs� rB �\/usr/lib/python3.9/site-packages/oci/database_management/models/external_database_summary.py�__init__Z sv Y��z ExternalDatabaseSummary.__init__c C s | j S )a **[Required]** Gets the id of this ExternalDatabaseSummary. The `OCID`__ of the external DB system. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this ExternalDatabaseSummary. :rtype: str �r- �r@ rB rB rC r � s zExternalDatabaseSummary.idc C s || _ dS )a Sets the id of this ExternalDatabaseSummary. The `OCID`__ of the external DB system. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this ExternalDatabaseSummary. :type: str NrE )r@ r rB rB rC r s c C s | j S )a **[Required]** Gets the display_name of this ExternalDatabaseSummary. The user-friendly name for the database. The name does not have to be unique. :return: The display_name of this ExternalDatabaseSummary. :rtype: str �r. rF rB rB rC r s z$ExternalDatabaseSummary.display_namec C s || _ dS )a Sets the display_name of this ExternalDatabaseSummary. The user-friendly name for the database. The name does not have to be unique. :param display_name: The display_name of this ExternalDatabaseSummary. :type: str NrG )r@ r rB rB rC r s c C s | j S )a0 **[Required]** Gets the compartment_id of this ExternalDatabaseSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ExternalDatabaseSummary. :rtype: str �r/ rF rB rB rC r & s z&ExternalDatabaseSummary.compartment_idc C s || _ dS )a. Sets the compartment_id of this ExternalDatabaseSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ExternalDatabaseSummary. :type: str NrH )r@ r rB rB rC r 4 s c C s | j S )z� Gets the db_unique_name of this ExternalDatabaseSummary. The `DB_UNIQUE_NAME` of the external database. :return: The db_unique_name of this ExternalDatabaseSummary. :rtype: str �r0 rF rB rB rC r B s z&ExternalDatabaseSummary.db_unique_namec C s || _ dS )z� Sets the db_unique_name of this ExternalDatabaseSummary. The `DB_UNIQUE_NAME` of the external database. :param db_unique_name: The db_unique_name of this ExternalDatabaseSummary. :type: str NrI )r@ r rB rB rC r N s c C s | j S )a� Gets the database_type of this ExternalDatabaseSummary. The type of Oracle Database installation. Allowed values for this property are: "EXTERNAL_SIDB", "EXTERNAL_RAC", "CLOUD_SIDB", "CLOUD_RAC", "SHARED", "DEDICATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The database_type of this ExternalDatabaseSummary. :rtype: str )r1 rF rB rB rC r Z s z%ExternalDatabaseSummary.database_typec C s g d�}t ||�sd}|| _dS )z� Sets the database_type of this ExternalDatabaseSummary. The type of Oracle Database installation. :param database_type: The database_type of this ExternalDatabaseSummary. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r1 )r@ r �allowed_valuesrB rB rC r i s c C s | j S )a Gets the database_sub_type of this ExternalDatabaseSummary. The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. Allowed values for this property are: "CDB", "PDB", "NON_CDB", "ACD", "ADB", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The database_sub_type of this ExternalDatabaseSummary. :rtype: str )r2 rF rB rB rC r x s z)ExternalDatabaseSummary.database_sub_typec C s g d�}t ||�sd}|| _dS )aR Sets the database_sub_type of this ExternalDatabaseSummary. The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. :param database_sub_type: The database_sub_type of this ExternalDatabaseSummary. :type: str )r r r r r rJ N)r r2 )r@ r rK rB rB rC r � s c C s | j S )a� Gets the external_container_database_id of this ExternalDatabaseSummary. The `OCID`__ of the parent Container Database (CDB) if this is a Pluggable Database (PDB). __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The external_container_database_id of this ExternalDatabaseSummary. :rtype: str �r3 rF rB rB rC r � s z6ExternalDatabaseSummary.external_container_database_idc C s || _ dS )a� Sets the external_container_database_id of this ExternalDatabaseSummary. The `OCID`__ of the parent Container Database (CDB) if this is a Pluggable Database (PDB). __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param external_container_database_id: The external_container_database_id of this ExternalDatabaseSummary. :type: str NrL )r@ r rB rB rC r � s c C s | j S )a0 Gets the external_db_home_id of this ExternalDatabaseSummary. The `OCID`__ of the external DB home. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The external_db_home_id of this ExternalDatabaseSummary. :rtype: str �r4 rF rB rB rC r! � s z+ExternalDatabaseSummary.external_db_home_idc C s || _ dS )aB Sets the external_db_home_id of this ExternalDatabaseSummary. The `OCID`__ of the external DB home. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param external_db_home_id: The external_db_home_id of this ExternalDatabaseSummary. :type: str NrM )r@ r! rB rB rC r! � s c C s | j S )z� Gets the db_system_info of this ExternalDatabaseSummary. :return: The db_system_info of this ExternalDatabaseSummary. :rtype: oci.database_management.models.ExternalDbSystemBasicInfo �r5 rF rB rB rC r"