ruạṛ
a N��f1Y � @ 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�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�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 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", '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", '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 �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_summary.py�__init__1 sj O��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 �r4 �rE rG rG rH 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 NrJ )rE r rG rG rH 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 �r5 rK rG rG rH 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 NrL )rE r rG rG rH 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 �r6 rK rG rG rH 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 NrM )rE r rG rG rH 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 �r7 rK rG rG rH 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 NrN )rE r rG rG rH r 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", '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 )r8 rK rG rG rH r % s z$AutonomousDatabaseBackupSummary.typec C s ddg}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 �UNKNOWN_ENUM_VALUEN)r r8 )rE r �allowed_valuesrG rG rH r 4 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 �r9 rK rG rG rH r C 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 NrQ )rE r rG rG rH r O 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 �r: rK rG rG rH 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 NrR )rE r rG rG rH r g 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 �r; rK rG rG rH r s 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 NrS )rE r rG rG rH 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 �r<