HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/database/models/__pycache__/backup.cpython-39.pyc
a

���fs_�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@sZeZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
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_PERFORMANCEcKs�dddddddddddddddddddd�|_ddddd	d
ddd
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_namerZ
compartmentIdZ
databaseIdZdisplayNamerZtimeStartedZ	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__NsvY��zBackup.__init__cCs|jS)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>r@r@rAr�sz	Backup.idcCs
||_dS)z�
        Sets the id of this Backup.
        The `OCID`__ of the backup.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param id: The id of this Backup.
        :type: str
        NrC)r>rr@r@rAr�scCs|jS)z�
        Gets the compartment_id of this Backup.
        The `OCID`__ of the compartment.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this Backup.
        :rtype: str
        �r,rDr@r@rArszBackup.compartment_idcCs
||_dS)a
        Sets the compartment_id of this Backup.
        The `OCID`__ of the compartment.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this Backup.
        :type: str
        NrE)r>rr@r@rArscCs|jS)z�
        Gets the database_id of this Backup.
        The `OCID`__ of the database.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The database_id of this Backup.
        :rtype: str
        �r-rDr@r@rArszBackup.database_idcCs
||_dS)a
        Sets the database_id of this Backup.
        The `OCID`__ of the database.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param database_id: The database_id of this Backup.
        :type: str
        NrF)r>rr@r@rAr,scCs|jS)z�
        Gets the display_name of this Backup.
        The user-friendly name for the backup. The name does not have to be unique.


        :return: The display_name of this Backup.
        :rtype: str
        �r.rDr@r@rAr:s
zBackup.display_namecCs
||_dS)z�
        Sets the display_name of this Backup.
        The user-friendly name for the backup. The name does not have to be unique.


        :param display_name: The display_name of this Backup.
        :type: str
        NrG)r>rr@r@rArFs
cCs|jS)aU
        Gets the type of this Backup.
        The type of 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'.


        :return: The type of this Backup.
        :rtype: str
        )r/rDr@r@rArRs
zBackup.typecCs gd�}t||�sd}||_dS)z�
        Sets the type of this Backup.
        The type of backup.


        :param type: The type of this Backup.
        :type: str
        )rrr	�UNKNOWN_ENUM_VALUEN)rr/)r>r�allowed_valuesr@r@rAras

cCs|jS)z�
        Gets the time_started of this Backup.
        The date and time the backup started.


        :return: The time_started of this Backup.
        :rtype: datetime
        �r0rDr@r@rArps
zBackup.time_startedcCs
||_dS)z�
        Sets the time_started of this Backup.
        The date and time the backup started.


        :param time_started: The time_started of this Backup.
        :type: datetime
        NrJ)r>rr@r@rAr|s
cCs|jS)z�
        Gets the time_ended of this Backup.
        The date and time the backup was completed.


        :return: The time_ended of this Backup.
        :rtype: datetime
        �r1rDr@r@rAr�s
zBackup.time_endedcCs
||_dS)z�
        Sets the time_ended of this Backup.
        The date and time the backup was completed.


        :param time_ended: The time_ended of this Backup.
        :type: datetime
        NrK)r>rr@r@rAr�s
cCs|jS)z�
        Gets the lifecycle_details of this Backup.
        Additional information about the current lifecycle state.


        :return: The lifecycle_details of this Backup.
        :rtype: str
        �r2rDr@r@rAr�s
zBackup.lifecycle_detailscCs
||_dS)z�
        Sets the lifecycle_details of this Backup.
        Additional information about the current lifecycle state.


        :param lifecycle_details: The lifecycle_details of this Backup.
        :type: str
        NrL)r>rr@r@rAr�s
cCs|jS)z�
        Gets the availability_domain of this Backup.
        The name of the availability domain where the database backup is stored.


        :return: The availability_domain of this Backup.
        :rtype: str
        �r3rDr@r@rAr �s
zBackup.availability_domaincCs
||_dS)z�
        Sets the availability_domain of this Backup.
        The name of the availability domain where the database backup is stored.


        :param availability_domain: The availability_domain of this Backup.
        :type: str
        NrM)r>r r@r@rAr �s
cCs|jS)a�
        Gets the lifecycle_state of this Backup.
        The current state of the 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'.


        :return: The lifecycle_state of this Backup.
        :rtype: str
        )r4rDr@r@rAr!�s
zBackup.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this Backup.
        The current state of the backup.


        :param lifecycle_state: The lifecycle_state of this Backup.
        :type: str
        )r
rrr
rrrrrHN)rr4)r>r!rIr@r@rAr!�s

cCs|jS)a
        Gets the database_edition of this Backup.
        The Oracle Database edition of the DB system from which the database backup was taken.

        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'.


        :return: The database_edition of this Backup.
        :rtype: str
        )r5rDr@r@rAr"�s
zBackup.database_editioncCs gd�}t||�sd}||_dS)z�
        Sets the database_edition of this Backup.
        The Oracle Database edition of the DB system from which the database backup was taken.


        :param database_edition: The database_edition of this Backup.
        :type: str
        )rrrrrHN)rr5)r>r"rIr@r@rAr"�s

cCs|jS)z�
        Gets the database_size_in_gbs of this Backup.
        The size of the database in gigabytes at the time the backup was taken.


        :return: The database_size_in_gbs of this Backup.
        :rtype: float
        �r6rDr@r@rAr#s
zBackup.database_size_in_gbscCs
||_dS)z�
        Sets the database_size_in_gbs of this Backup.
        The size of the database in gigabytes at the time the backup was taken.


        :param database_size_in_gbs: The database_size_in_gbs of this Backup.
        :type: float
        NrN)r>r#r@r@rAr#s
cCs|jS)z�
        Gets the shape of this Backup.
        Shape of the backup's source database.


        :return: The shape of this Backup.
        :rtype: str
        �r7rDr@r@rAr$$s
zBackup.shapecCs
||_dS)z�
        Sets the shape of this Backup.
        Shape of the backup's source database.


        :param shape: The shape of this Backup.
        :type: str
        NrO)r>r$r@r@rAr$0s
cCs|jS)z�
        Gets the version of this Backup.
        Version of the backup's source database


        :return: The version of this Backup.
        :rtype: str
        �r8rDr@r@rAr%<s
zBackup.versioncCs
||_dS)z�
        Sets the version of this Backup.
        Version of the backup's source database


        :param version: The version of this Backup.
        :type: str
        NrP)r>r%r@r@rAr%Hs
cCs|jS)a
        Gets the kms_key_id of this Backup.
        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 Backup.
        :rtype: str
        �r9rDr@r@rAr&Ts
zBackup.kms_key_idcCs
||_dS)a
        Sets the kms_key_id of this Backup.
        The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.


        :param kms_key_id: The kms_key_id of this Backup.
        :type: str
        NrQ)r>r&r@r@rAr&`s
cCs|jS)a
        Gets the kms_key_version_id of this Backup.
        The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.


        :return: The kms_key_version_id of this Backup.
        :rtype: str
        �r:rDr@r@rAr'ls
zBackup.kms_key_version_idcCs
||_dS)a
        Sets the kms_key_version_id of this Backup.
        The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.


        :param kms_key_version_id: The kms_key_version_id of this Backup.
        :type: str
        NrR)r>r'r@r@rAr'xs
cCs|jS)a�
        Gets the vault_id of this Backup.
        The `OCID`__ of the Oracle Cloud Infrastructure `vault`__. This parameter and `secretId` are required for Customer Managed Keys.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
        __ https://docs.cloud.oracle.com/Content/KeyManagement/Concepts/keyoverview.htm#concepts


        :return: The vault_id of this Backup.
        :rtype: str
        �r;rDr@r@rAr(�s
zBackup.vault_idcCs
||_dS)a�
        Sets the vault_id of this Backup.
        The `OCID`__ of the Oracle Cloud Infrastructure `vault`__. This parameter and `secretId` are required for Customer Managed Keys.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
        __ https://docs.cloud.oracle.com/Content/KeyManagement/Concepts/keyoverview.htm#concepts


        :param vault_id: The vault_id of this Backup.
        :type: str
        NrS)r>r(r@r@rAr(�s
cCs|jS)a	
        Gets the key_store_id of this Backup.
        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 Backup.
        :rtype: str
        �r<rDr@r@rAr)�szBackup.key_store_idcCs
||_dS)a
        Sets the key_store_id of this Backup.
        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 Backup.
        :type: str
        NrT)r>r)r@r@rAr)�scCs|jS)z�
        Gets the key_store_wallet_name of this Backup.
        The wallet name for Oracle Key Vault.


        :return: The key_store_wallet_name of this Backup.
        :rtype: str
        �r=rDr@r@rAr*�s
zBackup.key_store_wallet_namecCs
||_dS)z�
        Sets the key_store_wallet_name of this Backup.
        The wallet name for Oracle Key Vault.


        :param key_store_wallet_name: The key_store_wallet_name of this Backup.
        :type: str
        NrU)r>r*r@r@rAr*�s
cCst|�S�N)rrDr@r@rA�__repr__�szBackup.__repr__cCs|durdS|j|jkS)NF)�__dict__�r>�otherr@r@rA�__eq__�sz
Backup.__eq__cCs
||kSrVr@rYr@r@rA�__ne__�sz
Backup.__ne__N),�__name__�
__module__�__qualname__�__doc__ZTYPE_INCREMENTALZ	TYPE_FULLZTYPE_VIRTUAL_FULLZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_RESTORINGZLIFECYCLE_STATE_CANCELINGZLIFECYCLE_STATE_CANCELEDZ!DATABASE_EDITION_STANDARD_EDITIONZ#DATABASE_EDITION_ENTERPRISE_EDITIONZ4DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCEZ7DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCErB�propertyr�setterrrrrrrrr r!r"r#r$r%r&r'r(r)r*rWr[r\r@r@r@rArs�













































rN)Zoci.utilrrrZoci.decoratorsr�objectrr@r@r@rA�<module>s