ruạṛ
a ���f\r � @ 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 Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Zejd<d;� �Zed=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�AutonomousDatabaseBackupSummarya� An Autonomous Database backup. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see `Getting Started with Policies`__. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. __ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm �INCREMENTAL�FULL�LONGTERM�CREATING�ACTIVE�DELETING�DELETED�FAILED�UPDATINGc K s� ddddddddddddddddddddddd�| _ dd d ddd ddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _dS )a{ Initializes a new AutonomousDatabaseBackupSummary 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 AutonomousDatabaseBackupSummary. :type id: str :param compartment_id: The value to assign to the compartment_id property of this AutonomousDatabaseBackupSummary. :type compartment_id: str :param autonomous_database_id: The value to assign to the autonomous_database_id property of this AutonomousDatabaseBackupSummary. :type autonomous_database_id: str :param display_name: The value to assign to the display_name property of this AutonomousDatabaseBackupSummary. :type display_name: str :param type: The value to assign to the type property of this AutonomousDatabaseBackupSummary. Allowed values for this property are: "INCREMENTAL", "FULL", "LONGTERM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param is_automatic: The value to assign to the is_automatic property of this AutonomousDatabaseBackupSummary. :type is_automatic: bool :param time_started: The value to assign to the time_started property of this AutonomousDatabaseBackupSummary. :type time_started: datetime :param time_ended: The value to assign to the time_ended property of this AutonomousDatabaseBackupSummary. :type time_ended: datetime :param lifecycle_details: The value to assign to the lifecycle_details property of this AutonomousDatabaseBackupSummary. :type lifecycle_details: str :param database_size_in_tbs: The value to assign to the database_size_in_tbs property of this AutonomousDatabaseBackupSummary. :type database_size_in_tbs: float :param lifecycle_state: The value to assign to the lifecycle_state property of this AutonomousDatabaseBackupSummary. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param is_restorable: The value to assign to the is_restorable property of this AutonomousDatabaseBackupSummary. :type is_restorable: bool :param key_store_id: The value to assign to the key_store_id property of this AutonomousDatabaseBackupSummary. :type key_store_id: str :param key_store_wallet_name: The value to assign to the key_store_wallet_name property of this AutonomousDatabaseBackupSummary. :type key_store_wallet_name: str :param kms_key_id: The value to assign to the kms_key_id property of this AutonomousDatabaseBackupSummary. :type kms_key_id: str :param vault_id: The value to assign to the vault_id property of this AutonomousDatabaseBackupSummary. :type vault_id: str :param kms_key_version_id: The value to assign to the kms_key_version_id property of this AutonomousDatabaseBackupSummary. :type kms_key_version_id: str :param retention_period_in_days: The value to assign to the retention_period_in_days property of this AutonomousDatabaseBackupSummary. :type retention_period_in_days: int :param time_available_till: The value to assign to the time_available_till property of this AutonomousDatabaseBackupSummary. :type time_available_till: datetime :param db_version: The value to assign to the db_version property of this AutonomousDatabaseBackupSummary. :type db_version: str :param size_in_tbs: The value to assign to the size_in_tbs property of this AutonomousDatabaseBackupSummary. :type size_in_tbs: float :param backup_destination_details: The value to assign to the backup_destination_details property of this AutonomousDatabaseBackupSummary. :type backup_destination_details: oci.database.models.BackupDestinationDetails �str�boolZdatetime�float�intZBackupDestinationDetails)�id�compartment_id�autonomous_database_id�display_name�type�is_automatic�time_started� time_ended�lifecycle_details�database_size_in_tbs�lifecycle_state� is_restorable�key_store_id�key_store_wallet_name� kms_key_id�vault_id�kms_key_version_id�retention_period_in_days�time_available_till� db_version�size_in_tbs�backup_destination_detailsr Z compartmentIdZautonomousDatabaseIdZdisplayNamer ZisAutomaticZtimeStartedZ timeEndedZlifecycleDetailsZdatabaseSizeInTBsZlifecycleStateZisRestorableZ keyStoreIdZkeyStoreWalletNameZkmsKeyIdZvaultIdZkmsKeyVersionIdZretentionPeriodInDaysZtimeAvailableTillZ dbVersionZ sizeInTBsZbackupDestinationDetailsN)Z swagger_typesZ attribute_map�_id�_compartment_id�_autonomous_database_id� _display_name�_type� _is_automatic� _time_started�_time_ended�_lifecycle_details�_database_size_in_tbs�_lifecycle_state�_is_restorable� _key_store_id�_key_store_wallet_name�_kms_key_id� _vault_id�_kms_key_version_id�_retention_period_in_days�_time_available_till�_db_version�_size_in_tbs�_backup_destination_details)�self�kwargs� rB �Z/usr/lib/python3.9/site-packages/oci/database/models/autonomous_database_backup_summary.py�__init__; s� c��z(AutonomousDatabaseBackupSummary.__init__c C s | j S )a7 **[Required]** Gets the id of this AutonomousDatabaseBackupSummary. The `OCID`__ of the Autonomous Database backup. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this AutonomousDatabaseBackupSummary. :rtype: str �r* �r@ rB rB rC r � s z"AutonomousDatabaseBackupSummary.idc C s || _ dS )a) Sets the id of this AutonomousDatabaseBackupSummary. The `OCID`__ of the Autonomous Database backup. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this AutonomousDatabaseBackupSummary. :type: str NrE )r@ r rB rB rC r � s c C s | j S )a@ **[Required]** Gets the compartment_id of this AutonomousDatabaseBackupSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this AutonomousDatabaseBackupSummary. :rtype: str �r+ rF rB rB rC r s z.AutonomousDatabaseBackupSummary.compartment_idc C s || _ dS )a> Sets the compartment_id of this AutonomousDatabaseBackupSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this AutonomousDatabaseBackupSummary. :type: str NrG )r@ r rB rB rC r s c C s | j S )aX **[Required]** Gets the autonomous_database_id of this AutonomousDatabaseBackupSummary. The `OCID`__ of the Autonomous Database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The autonomous_database_id of this AutonomousDatabaseBackupSummary. :rtype: str �r, rF rB rB rC r s z6AutonomousDatabaseBackupSummary.autonomous_database_idc C s || _ dS )a^ Sets the autonomous_database_id of this AutonomousDatabaseBackupSummary. The `OCID`__ of the Autonomous Database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param autonomous_database_id: The autonomous_database_id of this AutonomousDatabaseBackupSummary. :type: str NrH )r@ r rB rB rC r , s c C s | j S )a **[Required]** Gets the display_name of this AutonomousDatabaseBackupSummary. The user-friendly name for the backup. The name does not have to be unique. :return: The display_name of this AutonomousDatabaseBackupSummary. :rtype: str �r- rF rB rB rC r : s z,AutonomousDatabaseBackupSummary.display_namec C s || _ dS )a Sets the display_name of this AutonomousDatabaseBackupSummary. The user-friendly name for the backup. The name does not have to be unique. :param display_name: The display_name of this AutonomousDatabaseBackupSummary. :type: str NrI )r@ r rB rB rC r F s c C s | j S )a� **[Required]** Gets the type of this AutonomousDatabaseBackupSummary. The type of backup. Allowed values for this property are: "INCREMENTAL", "FULL", "LONGTERM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this AutonomousDatabaseBackupSummary. :rtype: str )r. rF rB rB rC r R s z$AutonomousDatabaseBackupSummary.typec C s g d�}t ||�sd}|| _dS )z� Sets the type of this AutonomousDatabaseBackupSummary. The type of backup. :param type: The type of this AutonomousDatabaseBackupSummary. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r. )r@ r �allowed_valuesrB rB rC r a s c C s | j S )a **[Required]** Gets the is_automatic of this AutonomousDatabaseBackupSummary. Indicates whether the backup is user-initiated or automatic. :return: The is_automatic of this AutonomousDatabaseBackupSummary. :rtype: bool �r/ rF rB rB rC r p s z,AutonomousDatabaseBackupSummary.is_automaticc C s || _ dS )a Sets the is_automatic of this AutonomousDatabaseBackupSummary. Indicates whether the backup is user-initiated or automatic. :param is_automatic: The is_automatic of this AutonomousDatabaseBackupSummary. :type: bool NrL )r@ r rB rB rC r | s c C s | j S )z� Gets the time_started of this AutonomousDatabaseBackupSummary. The date and time the backup started. :return: The time_started of this AutonomousDatabaseBackupSummary. :rtype: datetime �r0 rF rB rB rC r � s z,AutonomousDatabaseBackupSummary.time_startedc C s || _ dS )z� Sets the time_started of this AutonomousDatabaseBackupSummary. The date and time the backup started. :param time_started: The time_started of this AutonomousDatabaseBackupSummary. :type: datetime NrM )r@ r rB rB rC r � s c C s | j S )z� Gets the time_ended of this AutonomousDatabaseBackupSummary. The date and time the backup completed. :return: The time_ended of this AutonomousDatabaseBackupSummary. :rtype: datetime �r1 rF rB rB rC r � s z*AutonomousDatabaseBackupSummary.time_endedc C s || _ dS )z� Sets the time_ended of this AutonomousDatabaseBackupSummary. The date and time the backup completed. :param time_ended: The time_ended of this AutonomousDatabaseBackupSummary. :type: datetime NrN )r@ r rB rB rC r � s c C s | j S )z� Gets the lifecycle_details of this AutonomousDatabaseBackupSummary. Additional information about the current lifecycle state. :return: The lifecycle_details of this AutonomousDatabaseBackupSummary. :rtype: str �r2 rF rB rB rC r � s z1AutonomousDatabaseBackupSummary.lifecycle_detailsc C s || _ dS )a Sets the lifecycle_details of this AutonomousDatabaseBackupSummary. Additional information about the current lifecycle state. :param lifecycle_details: The lifecycle_details of this AutonomousDatabaseBackupSummary. :type: str NrO )r@ r rB rB rC r � s c C s | j S )a Gets the database_size_in_tbs of this AutonomousDatabaseBackupSummary. The size of the database in terabytes at the time the backup was taken. :return: The database_size_in_tbs of this AutonomousDatabaseBackupSummary. :rtype: float �r3 rF rB rB rC r � s z4AutonomousDatabaseBackupSummary.database_size_in_tbsc C s || _ dS )a& Sets the database_size_in_tbs of this AutonomousDatabaseBackupSummary. The size of the database in terabytes at the time the backup was taken. :param database_size_in_tbs: The database_size_in_tbs of this AutonomousDatabaseBackupSummary. :type: float NrP )r@ r rB rB rC r � s c C s | j S )a� **[Required]** Gets the lifecycle_state of this AutonomousDatabaseBackupSummary. The current state of the backup. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this AutonomousDatabaseBackupSummary. :rtype: str )r4 rF rB rB rC r � s z/AutonomousDatabaseBackupSummary.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this AutonomousDatabaseBackupSummary. The current state of the backup. :param lifecycle_state: The lifecycle_state of this AutonomousDatabaseBackupSummary. :type: str )r r r r r r rJ N)r r4 )r@ r rK rB rB rC r � s c C s | j S )a Gets the is_restorable of this AutonomousDatabaseBackupSummary. Indicates whether the backup can be used to restore the associated Autonomous Database. :return: The is_restorable of this AutonomousDatabaseBackupSummary. :rtype: bool �r5 rF rB rB rC r s z-AutonomousDatabaseBackupSummary.is_restorablec C s || _ dS )a Sets the is_restorable of this AutonomousDatabaseBackupSummary. Indicates whether the backup can be used to restore the associated Autonomous Database. :param is_restorable: The is_restorable of this AutonomousDatabaseBackupSummary. :type: bool NrQ )r@ r rB rB rC r s c C s | j S )a; Gets the key_store_id of this AutonomousDatabaseBackupSummary. The `OCID`__ of the key store of Oracle Vault. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The key_store_id of this AutonomousDatabaseBackupSummary. :rtype: str �r6 rF rB rB rC r s z,AutonomousDatabaseBackupSummary.key_store_idc C s || _ dS )aF Sets the key_store_id of this AutonomousDatabaseBackupSummary. The `OCID`__ of the key store of Oracle Vault. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param key_store_id: The key_store_id of this AutonomousDatabaseBackupSummary. :type: str NrR )r@ r rB rB rC r , s c C s | j S )z� Gets the key_store_wallet_name of this AutonomousDatabaseBackupSummary. The wallet name for Oracle Key Vault. :return: The key_store_wallet_name of this AutonomousDatabaseBackupSummary. :rtype: str �r7 rF rB rB rC r! : s z5AutonomousDatabaseBackupSummary.key_store_wallet_namec C s || _ dS )a Sets the key_store_wallet_name of this AutonomousDatabaseBackupSummary. The wallet name for Oracle Key Vault. :param key_store_wallet_name: The key_store_wallet_name of this AutonomousDatabaseBackupSummary. :type: str NrS )r@ r! rB rB rC r! F s c C s | j S )a7 Gets the kms_key_id of this AutonomousDatabaseBackupSummary. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations. :return: The kms_key_id of this AutonomousDatabaseBackupSummary. :rtype: str �r8 rF rB rB rC r"