ruạṛ
a N��f�T � @ 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 d � Zedd� �Z e jd d� �Z edd� �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<� �Zejd=d<� �Zd>d?� Zd@dA� Z dBdC� Z!dDS )E�AutonomousDatabaseBackupz( An Autonomous Database backup. �INCREMENTAL�FULL�CREATING�ACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddddddd�| _ dddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a' Initializes a new AutonomousDatabaseBackup 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 AutonomousDatabaseBackup. :type id: str :param compartment_id: The value to assign to the compartment_id property of this AutonomousDatabaseBackup. :type compartment_id: str :param autonomous_database_id: The value to assign to the autonomous_database_id property of this AutonomousDatabaseBackup. :type autonomous_database_id: str :param display_name: The value to assign to the display_name property of this AutonomousDatabaseBackup. :type display_name: str :param type: The value to assign to the type property of this AutonomousDatabaseBackup. Allowed values for this property are: "INCREMENTAL", "FULL", '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 AutonomousDatabaseBackup. :type is_automatic: bool :param time_started: The value to assign to the time_started property of this AutonomousDatabaseBackup. :type time_started: datetime :param time_ended: The value to assign to the time_ended property of this AutonomousDatabaseBackup. :type time_ended: datetime :param lifecycle_details: The value to assign to the lifecycle_details property of this AutonomousDatabaseBackup. :type lifecycle_details: str :param database_size_in_tbs: The value to assign to the database_size_in_tbs property of this AutonomousDatabaseBackup. :type database_size_in_tbs: float :param lifecycle_state: The value to assign to the lifecycle_state property of this AutonomousDatabaseBackup. Allowed values for this property are: "CREATING", "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 is_restorable: The value to assign to the is_restorable property of this AutonomousDatabaseBackup. :type is_restorable: bool :param key_store_id: The value to assign to the key_store_id property of this AutonomousDatabaseBackup. :type key_store_id: str :param key_store_wallet_name: The value to assign to the key_store_wallet_name property of this AutonomousDatabaseBackup. :type key_store_wallet_name: str :param kms_key_id: The value to assign to the kms_key_id property of this AutonomousDatabaseBackup. :type kms_key_id: str :param vault_id: The value to assign to the vault_id property of this AutonomousDatabaseBackup. :type vault_id: str :param kms_key_version_id: The value to assign to the kms_key_version_id property of this AutonomousDatabaseBackup. :type kms_key_version_id: str �str�bool�datetime�float)�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_idr � compartmentId�autonomousDatabaseId�displayNamer �isAutomatic�timeStarted� timeEnded�lifecycleDetails�databaseSizeInTBs�lifecycleState�isRestorable� keyStoreId�keyStoreWalletName�kmsKeyId�vaultId�kmsKeyVersionIdN)� swagger_types� 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)�self�kwargs� rG ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/autonomous_database_backup.py�__init__, sj O��z!AutonomousDatabaseBackup.__init__c C s | j S )a) **[Required]** Gets the id of this AutonomousDatabaseBackup. The `OCID`__ of the Autonomous Database backup. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this AutonomousDatabaseBackup. :rtype: str �r4 �rE rG rG rH r � s zAutonomousDatabaseBackup.idc C s || _ dS )a Sets the id of this AutonomousDatabaseBackup. The `OCID`__ of the Autonomous Database backup. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this AutonomousDatabaseBackup. :type: str NrJ )rE r rG rG rH r � s c C s | j S )a2 **[Required]** Gets the compartment_id of this AutonomousDatabaseBackup. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this AutonomousDatabaseBackup. :rtype: str �r5 rK rG rG rH r � s z'AutonomousDatabaseBackup.compartment_idc C s || _ dS )a0 Sets the compartment_id of this AutonomousDatabaseBackup. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this AutonomousDatabaseBackup. :type: str NrL )rE r rG rG rH r � s c C s | j S )aJ **[Required]** Gets the autonomous_database_id of this AutonomousDatabaseBackup. The `OCID`__ of the Autonomous Database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The autonomous_database_id of this AutonomousDatabaseBackup. :rtype: str �r6 rK rG rG rH r � s z/AutonomousDatabaseBackup.autonomous_database_idc C s || _ dS )aP Sets the autonomous_database_id of this AutonomousDatabaseBackup. 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 AutonomousDatabaseBackup. :type: str NrM )rE r rG rG rH r � s c C s | j S )a **[Required]** Gets the display_name of this AutonomousDatabaseBackup. The user-friendly name for the backup. The name does not have to be unique. :return: The display_name of this AutonomousDatabaseBackup. :rtype: str �r7 rK rG rG rH r s z%AutonomousDatabaseBackup.display_namec C s || _ dS )a Sets the display_name of this AutonomousDatabaseBackup. The user-friendly name for the backup. The name does not have to be unique. :param display_name: The display_name of this AutonomousDatabaseBackup. :type: str NrN )rE r rG rG rH r s c C s | j S )ax **[Required]** Gets the type of this AutonomousDatabaseBackup. The type of backup. Allowed values for this property are: "INCREMENTAL", "FULL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this AutonomousDatabaseBackup. :rtype: str )r8 rK rG rG rH r s zAutonomousDatabaseBackup.typec C s ddg}t ||�sd}|| _dS )z� Sets the type of this AutonomousDatabaseBackup. The type of backup. :param type: The type of this AutonomousDatabaseBackup. :type: str r r �UNKNOWN_ENUM_VALUEN)r r8 )rE r �allowed_valuesrG rG rH r / s c C s | j S )z� **[Required]** Gets the is_automatic of this AutonomousDatabaseBackup. Indicates whether the backup is user-initiated or automatic. :return: The is_automatic of this AutonomousDatabaseBackup. :rtype: bool �r9 rK rG rG rH r > s z%AutonomousDatabaseBackup.is_automaticc C s || _ dS )z� Sets the is_automatic of this AutonomousDatabaseBackup. Indicates whether the backup is user-initiated or automatic. :param is_automatic: The is_automatic of this AutonomousDatabaseBackup. :type: bool NrQ )rE r rG rG rH r J s c C s | j S )z� Gets the time_started of this AutonomousDatabaseBackup. The date and time the backup started. :return: The time_started of this AutonomousDatabaseBackup. :rtype: datetime �r: rK rG rG rH r V s z%AutonomousDatabaseBackup.time_startedc C s || _ dS )z� Sets the time_started of this AutonomousDatabaseBackup. The date and time the backup started. :param time_started: The time_started of this AutonomousDatabaseBackup. :type: datetime NrR )rE r rG rG rH r b s c C s | j S )z� Gets the time_ended of this AutonomousDatabaseBackup. The date and time the backup completed. :return: The time_ended of this AutonomousDatabaseBackup. :rtype: datetime �r; rK rG rG rH r n s z#AutonomousDatabaseBackup.time_endedc C s || _ dS )z� Sets the time_ended of this AutonomousDatabaseBackup. The date and time the backup completed. :param time_ended: The time_ended of this AutonomousDatabaseBackup. :type: datetime NrS )rE r rG rG rH r z s c C s | j S )z� Gets the lifecycle_details of this AutonomousDatabaseBackup. Additional information about the current lifecycle state. :return: The lifecycle_details of this AutonomousDatabaseBackup. :rtype: str �r<