ruạṛ
a N��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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dd � Zedd� �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� �Zed;d<� �Z e jd=d<� �Z ed>d?� �Z!e!jd@d?� �Z!edAdB� �Z"e"jdCdB� �Z"edDdE� �Z#e#jdFdE� �Z#edGdH� �Z$e$jdIdH� �Z$edJdK� �Z%e%jdLdK� �Z%edMdN� �Z&e&jdOdN� �Z&edPdQ� �Z'e'jdRdQ� �Z'edSdT� �Z(e(jdUdT� �Z(edVdW� �Z)e)jdXdW� �Z)edYdZ� �Z*e*jd[dZ� �Z*ed\d]� �Z+e+jd^d]� �Z+d_d`� Z,dadb� Z-dcdd� Z.deS )f�Databasez Database model. �PROVISIONING� AVAILABLE�UPDATING�BACKUP_IN_PROGRESS� UPGRADING� CONVERTING�TERMINATING� TERMINATED�RESTORE_FAILED�FAILEDc K s" dddddddddddddddddddddddddddd �| _ 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%| _d%| _d%| _d%| _d%S )&a] Initializes a new Database 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 Database. :type id: str :param compartment_id: The value to assign to the compartment_id property of this Database. :type compartment_id: str :param character_set: The value to assign to the character_set property of this Database. :type character_set: str :param ncharacter_set: The value to assign to the ncharacter_set property of this Database. :type ncharacter_set: str :param db_home_id: The value to assign to the db_home_id property of this Database. :type db_home_id: str :param db_system_id: The value to assign to the db_system_id property of this Database. :type db_system_id: str :param vm_cluster_id: The value to assign to the vm_cluster_id property of this Database. :type vm_cluster_id: str :param db_name: The value to assign to the db_name property of this Database. :type db_name: str :param pdb_name: The value to assign to the pdb_name property of this Database. :type pdb_name: str :param db_workload: The value to assign to the db_workload property of this Database. :type db_workload: str :param db_unique_name: The value to assign to the db_unique_name property of this Database. :type db_unique_name: str :param lifecycle_details: The value to assign to the lifecycle_details property of this Database. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Database. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "UPGRADING", "CONVERTING", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "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 Database. :type time_created: datetime :param last_backup_timestamp: The value to assign to the last_backup_timestamp property of this Database. :type last_backup_timestamp: datetime :param db_backup_config: The value to assign to the db_backup_config property of this Database. :type db_backup_config: oci.database.models.DbBackupConfig :param freeform_tags: The value to assign to the freeform_tags property of this Database. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Database. :type defined_tags: dict(str, dict(str, object)) :param connection_strings: The value to assign to the connection_strings property of this Database. :type connection_strings: oci.database.models.DatabaseConnectionStrings :param kms_key_id: The value to assign to the kms_key_id property of this Database. :type kms_key_id: str :param kms_key_version_id: The value to assign to the kms_key_version_id property of this Database. :type kms_key_version_id: str :param vault_id: The value to assign to the vault_id property of this Database. :type vault_id: str :param source_database_point_in_time_recovery_timestamp: The value to assign to the source_database_point_in_time_recovery_timestamp property of this Database. :type source_database_point_in_time_recovery_timestamp: datetime :param database_software_image_id: The value to assign to the database_software_image_id property of this Database. :type database_software_image_id: str :param is_cdb: The value to assign to the is_cdb property of this Database. :type is_cdb: bool :param database_management_config: The value to assign to the database_management_config property of this Database. :type database_management_config: oci.database.models.CloudDatabaseManagementConfig :param sid_prefix: The value to assign to the sid_prefix property of this Database. :type sid_prefix: str �str�datetime�DbBackupConfigzdict(str, str)zdict(str, dict(str, object))�DatabaseConnectionStrings�bool�CloudDatabaseManagementConfig)�id�compartment_id� character_set�ncharacter_set� db_home_id�db_system_id� vm_cluster_id�db_name�pdb_name�db_workload�db_unique_name�lifecycle_details�lifecycle_state�time_created�last_backup_timestamp�db_backup_config� freeform_tags�defined_tags�connection_strings� kms_key_id�kms_key_version_id�vault_id�0source_database_point_in_time_recovery_timestamp�database_software_image_id�is_cdb�database_management_config� sid_prefixr � compartmentId�characterSet� ncharacterSet�dbHomeId� dbSystemId�vmClusterId�dbName�pdbName� dbWorkload�dbUniqueName�lifecycleDetails�lifecycleState�timeCreated�lastBackupTimestamp�dbBackupConfig�freeformTags�definedTags�connectionStrings�kmsKeyId�kmsKeyVersionId�vaultId�*sourceDatabasePointInTimeRecoveryTimestamp�databaseSoftwareImageId�isCdb�databaseManagementConfig� sidPrefixN)� swagger_types� attribute_map�_id�_compartment_id�_character_set�_ncharacter_set�_db_home_id� _db_system_id�_vm_cluster_id�_db_name� _pdb_name�_db_workload�_db_unique_name�_lifecycle_details�_lifecycle_state� _time_created�_last_backup_timestamp�_db_backup_config�_freeform_tags� _defined_tags�_connection_strings�_kms_key_id�_kms_key_version_id� _vault_id�1_source_database_point_in_time_recovery_timestamp�_database_software_image_id�_is_cdb�_database_management_config�_sid_prefix)�self�kwargs� rk ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/database.py�__init__8 s� u��zDatabase.__init__c C s | j S )z� **[Required]** Gets the id of this Database. The `OCID`__ of the database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this Database. :rtype: str �rN �ri rk rk rl r s zDatabase.idc C s || _ dS )z� Sets the id of this Database. The `OCID`__ of the database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this Database. :type: str Nrn )ri r rk rk rl r s c C s | j S )a **[Required]** Gets the compartment_id of this Database. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Database. :rtype: str �rO ro rk rk rl r s zDatabase.compartment_idc C s || _ dS )a Sets the compartment_id of this Database. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Database. :type: str Nrp )ri r rk rk rl r . s c C s | j S )z� Gets the character_set of this Database. The character set for the database. :return: The character_set of this Database. :rtype: str �rP ro rk rk rl r < s zDatabase.character_setc C s || _ dS )z� Sets the character_set of this Database. The character set for the database. :param character_set: The character_set of this Database. :type: str Nrq )ri r rk rk rl r H s c C s | j S )z� Gets the ncharacter_set of this Database. The national character set for the database. :return: The ncharacter_set of this Database. :rtype: str �rQ ro rk rk rl r T s zDatabase.ncharacter_setc C s || _ dS )z� Sets the ncharacter_set of this Database. The national character set for the database. :param ncharacter_set: The ncharacter_set of this Database. :type: str Nrr )ri r rk rk rl r ` s c C s | j S )z� Gets the db_home_id of this Database. The `OCID`__ of the Database Home. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The db_home_id of this Database. :rtype: str �rR ro rk rk rl r l s zDatabase.db_home_idc C s || _ dS )a Sets the db_home_id of this Database. The `OCID`__ of the Database Home. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param db_home_id: The db_home_id of this Database. :type: str Nrs )ri r rk rk rl r z s c C s | j S )z� Gets the db_system_id of this Database. The `OCID`__ of the DB system. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The db_system_id of this Database. :rtype: str �rS ro rk rk rl r � s zDatabase.db_system_idc C s || _ dS )a Sets the db_system_id of this Database. The `OCID`__ of the DB system. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param db_system_id: The db_system_id of this Database. :type: str Nrt )ri r rk rk rl r � s c C s | j S )a Gets the vm_cluster_id of this Database. The `OCID`__ of the VM cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The vm_cluster_id of this Database. :rtype: str �rT ro rk rk rl r � s zDatabase.vm_cluster_idc C s || _ dS )a Sets the vm_cluster_id of this Database. The `OCID`__ of the VM cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param vm_cluster_id: The vm_cluster_id of this Database. :type: str Nru )ri r rk rk rl r � s c C s | j S )z� **[Required]** Gets the db_name of this Database. The database name. :return: The db_name of this Database. :rtype: str �rU ro rk rk rl r � s zDatabase.db_namec C s || _ dS )z� Sets the db_name of this Database. The database name. :param db_name: The db_name of this Database. :type: str Nrv )ri r rk rk rl r � s c C s | j S )as Gets the pdb_name of this Database. The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name. :return: The pdb_name of this Database. :rtype: str �rV ro rk rk rl r � s zDatabase.pdb_namec C s || _ dS )az Sets the pdb_name of this Database. The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name. :param pdb_name: The pdb_name of this Database. :type: str Nrw )ri r rk rk rl r � s c C s | j S )z� Gets the db_workload of this Database. The database workload type. :return: The db_workload of this Database. :rtype: str �rW ro rk rk rl r � s zDatabase.db_workloadc C s || _ dS )z� Sets the db_workload of this Database. The database workload type. :param db_workload: The db_workload of this Database. :type: str Nrx )ri r rk rk rl r � s c C s | j S )aQ **[Required]** Gets the db_unique_name of this Database. A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed. :return: The db_unique_name of this Database. :rtype: str �rX ro rk rk rl r! s zDatabase.db_unique_namec C s || _ dS )aO Sets the db_unique_name of this Database. A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed. :param db_unique_name: The db_unique_name of this Database. :type: str Nry )ri r! rk rk rl r! s c C s | j S )z� Gets the lifecycle_details of this Database. Additional information about the current lifecycle state. :return: The lifecycle_details of this Database. :rtype: str �rY ro rk rk rl r"