File: //lib/python3.9/site-packages/oci/database/models/__pycache__/backup.cpython-39.pyc
a
���fs_ � @ 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 @ sZ e Zd ZdZdZdZdZdZdZdZ dZ
d Zd
ZdZ
dZd
ZdZdZdZdd� 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� �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(dLdM� Z)dNdO� Z*dPdQ� Z+dRS )S�Backupz
Backup model.
�INCREMENTAL�FULL�VIRTUAL_FULL�CREATING�ACTIVE�DELETING�DELETED�FAILED� RESTORING� CANCELING�CANCELED�STANDARD_EDITION�ENTERPRISE_EDITION�#ENTERPRISE_EDITION_HIGH_PERFORMANCE�&ENTERPRISE_EDITION_EXTREME_PERFORMANCEc K s� dddddddddddddddddddd�| _ ddddd d
ddd
ddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _d| _
d| _d| _d| _d| _d| _d| _d| _dS )a+
Initializes a new Backup 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 Backup.
:type id: str
:param compartment_id:
The value to assign to the compartment_id property of this Backup.
:type compartment_id: str
:param database_id:
The value to assign to the database_id property of this Backup.
:type database_id: str
:param display_name:
The value to assign to the display_name property of this Backup.
:type display_name: str
:param type:
The value to assign to the type property of this Backup.
Allowed values for this property are: "INCREMENTAL", "FULL", "VIRTUAL_FULL", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type type: str
:param time_started:
The value to assign to the time_started property of this Backup.
:type time_started: datetime
:param time_ended:
The value to assign to the time_ended property of this Backup.
:type time_ended: datetime
:param lifecycle_details:
The value to assign to the lifecycle_details property of this Backup.
:type lifecycle_details: str
:param availability_domain:
The value to assign to the availability_domain property of this Backup.
:type availability_domain: str
:param lifecycle_state:
The value to assign to the lifecycle_state property of this Backup.
Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "RESTORING", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
:param database_edition:
The value to assign to the database_edition property of this Backup.
Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type database_edition: str
:param database_size_in_gbs:
The value to assign to the database_size_in_gbs property of this Backup.
:type database_size_in_gbs: float
:param shape:
The value to assign to the shape property of this Backup.
:type shape: str
:param version:
The value to assign to the version property of this Backup.
:type version: str
:param kms_key_id:
The value to assign to the kms_key_id property of this Backup.
:type kms_key_id: str
:param kms_key_version_id:
The value to assign to the kms_key_version_id property of this Backup.
:type kms_key_version_id: str
:param vault_id:
The value to assign to the vault_id property of this Backup.
:type vault_id: str
:param key_store_id:
The value to assign to the key_store_id property of this Backup.
:type key_store_id: str
:param key_store_wallet_name:
The value to assign to the key_store_wallet_name property of this Backup.
:type key_store_wallet_name: str
�strZdatetime�float)�id�compartment_id�database_id�display_name�type�time_started�
time_ended�lifecycle_details�availability_domain�lifecycle_state�database_edition�database_size_in_gbs�shape�version�
kms_key_id�kms_key_version_id�vault_id�key_store_id�key_store_wallet_namer Z
compartmentIdZ
databaseIdZdisplayNamer ZtimeStartedZ timeEndedZlifecycleDetailsZavailabilityDomainZlifecycleStateZdatabaseEditionZdatabaseSizeInGBsr$ r% ZkmsKeyIdZkmsKeyVersionIdZvaultIdZ
keyStoreIdZkeyStoreWalletNameN)Z
swagger_typesZ
attribute_map�_id�_compartment_id�_database_id�
_display_name�_type�
_time_started�_time_ended�_lifecycle_details�_availability_domain�_lifecycle_state�_database_edition�_database_size_in_gbs�_shape�_version�_kms_key_id�_kms_key_version_id� _vault_id�
_key_store_id�_key_store_wallet_name)�self�kwargs� r@ �>/usr/lib/python3.9/site-packages/oci/database/models/backup.py�__init__N sv Y��zBackup.__init__c C s | j S )z�
Gets the id of this Backup.
The `OCID`__ of the backup.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:return: The id of this Backup.
:rtype: str
�r+ �r>