o
    ëÉ¶dÇ]  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sZ  e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd „ ƒZejd!d „ ƒZed"d#„ ƒZejd$d#„ ƒZed%d&„ ƒZejd'd&„ ƒZed(d)„ ƒZejd*d)„ ƒZed+d,„ ƒZejd-d,„ ƒZed.d/„ ƒZejd0d/„ ƒZed1d2„ ƒZ e jd3d2„ ƒZ ed4d5„ ƒZ!e!jd6d5„ ƒZ!ed7d8„ ƒZ"e"jd9d8„ ƒZ"ed:d;„ ƒZ#e#jd<d;„ ƒZ#ed=d>„ ƒZ$e$jd?d>„ ƒZ$ed@dA„ ƒZ%e%jdBdA„ ƒZ%edCdD„ ƒZ&e&jdEdD„ ƒZ&edFdG„ ƒZ'e'jdHdG„ ƒZ'edIdJ„ ƒZ(e(jdKdJ„ ƒ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   sb  i dd“dd“dd“dd“dd“dd“d	d“d
d“dd“dd“dd“dd“dd“dd“dd“dd“dd“dddœ¥| _ i dd“dd“dd“dd“dd“dd“d	d“d
d“dd“dd“dd“dd“dd“dd“dd “dd!“dd"“d#d$dœ¥| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _	d%| _
d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%S )&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

        ÚidÚstrÚcompartment_idÚdatabase_idÚdisplay_nameÚtypeÚtime_startedÚdatetimeÚ
time_endedÚlifecycle_detailsÚavailability_domainÚlifecycle_stateÚdatabase_editionÚdatabase_size_in_gbsÚfloatÚshapeÚversionÚ
kms_key_idÚkms_key_version_idÚvault_id)Úkey_store_idÚkey_store_wallet_nameZcompartmentIdZ
databaseIdZdisplayNameZtimeStartedZ	timeEndedZlifecycleDetailsZavailabilityDomainZlifecycleStateZdatabaseEditionZdatabaseSizeInGBsZkmsKeyIdZkmsKeyVersionIdZvaultIdZ
keyStoreIdZkeyStoreWalletNameN)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© rA   ú>usr/lib/python3.10/site-packages/oci/database/models/backup.pyÚ__init__N   s¾   Xÿþýüûúùø	÷
öõôóòñðï
íÿþýüûúùø	÷
öõôóòñðï
í
zBackup.__init__c                 C   ó   | 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?   rA   rA   rB   r   æ   ó   z	Backup.idc                 C   ó
   || _ dS )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
        NrE   )r?   r   rA   rA   rB   r   ô   ó   
c                 C   rD   )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-   rF   rA   rA   rB   r     rG   zBackup.compartment_idc                 C   rH   )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
        NrJ   )r?   r   rA   rA   rB   r     rI   c                 C   rD   )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.   rF   rA   rA   rB   r     rG   zBackup.database_idc                 C   rH   )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
        NrK   )r?   r   rA   rA   rB   r   ,  rI   c                 C   rD   )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/   rF   rA   rA   rB   r   :  ó   
zBackup.display_namec                 C   rH   )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
        NrL   )r?   r   rA   rA   rB   r   F  ó   

c                 C   rD   )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
        )r0   rF   rA   rA   rB   r   R  ó   zBackup.typec                 C   ó    g d¢}t ||ƒsd}|| _dS )zŽ
        Sets the type of this Backup.
        The type of backup.


        :param type: The type of this Backup.
        :type: str
        )r   r   r	   ÚUNKNOWN_ENUM_VALUEN)r   r0   )r?   r   Úallowed_valuesrA   rA   rB   r   a  ó   


c                 C   rD   )z²
        Gets the time_started of this Backup.
        The date and time the backup started.


        :return: The time_started of this Backup.
        :rtype: datetime
        ©r1   rF   rA   rA   rB   r   p  rM   zBackup.time_startedc                 C   rH   )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
        NrT   )r?   r   rA   rA   rB   r   |  rN   c                 C   rD   )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
        ©r2   rF   rA   rA   rB   r   ˆ  rM   zBackup.time_endedc                 C   rH   )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
        NrU   )r?   r   rA   rA   rB   r   ”  rN   c                 C   rD   )zË
        Gets the lifecycle_details of this Backup.
        Additional information about the current lifecycle state.


        :return: The lifecycle_details of this Backup.
        :rtype: str
        ©r3   rF   rA   rA   rB   r      rM   zBackup.lifecycle_detailsc                 C   rH   )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
        NrV   )r?   r   rA   rA   rB   r   ¬  rN   c                 C   rD   )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
        ©r4   rF   rA   rA   rB   r    ¸  rM   zBackup.availability_domainc                 C   rH   )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
        NrW   )r?   r    rA   rA   rB   r    Ä  rN   c                 C   rD   )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
        )r5   rF   rA   rA   rB   r!   Ð  rO   zBackup.lifecycle_statec                 C   rP   )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
   r   r   r   r   r   r   r   rQ   N)r   r5   )r?   r!   rR   rA   rA   rB   r!   ß  rS   c                 C   rD   )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
        )r6   rF   rA   rA   rB   r"   î  rO   zBackup.database_editionc                 C   rP   )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
        )r   r   r   r   rQ   N)r   r6   )r?   r"   rR   rA   rA   rB   r"   ý  rS   c                 C   rD   )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
        ©r7   rF   rA   rA   rB   r#     rM   zBackup.database_size_in_gbsc                 C   rH   )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
        NrX   )r?   r#   rA   rA   rB   r#     rN   c                 C   rD   )z 
        Gets the shape of this Backup.
        Shape of the backup's source database.


        :return: The shape of this Backup.
        :rtype: str
        ©r8   rF   rA   rA   rB   r%   $  rM   zBackup.shapec                 C   rH   )z¤
        Sets the shape of this Backup.
        Shape of the backup's source database.


        :param shape: The shape of this Backup.
        :type: str
        NrY   )r?   r%   rA   rA   rB   r%   0  rN   c                 C   rD   )z¥
        Gets the version of this Backup.
        Version of the backup's source database


        :return: The version of this Backup.
        :rtype: str
        ©r9   rF   rA   rA   rB   r&   <  rM   zBackup.versionc                 C   rH   )z«
        Sets the version of this Backup.
        Version of the backup's source database


        :param version: The version of this Backup.
        :type: str
        NrZ   )r?   r&   rA   rA   rB   r&   H  rN   c                 C   rD   )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
        ©r:   rF   rA   rA   rB   r'   T  rM   zBackup.kms_key_idc                 C   rH   )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
        Nr[   )r?   r'   rA   rA   rB   r'   `  rN   c                 C   rD   )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.


        :return: The kms_key_version_id of this Backup.
        :rtype: str
        ©r;   rF   rA   rA   rB   r(   l  rM   zBackup.kms_key_version_idc                 C   rH   )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.


        :param kms_key_version_id: The kms_key_version_id of this Backup.
        :type: str
        Nr\   )r?   r(   rA   rA   rB   r(   x  rN   c                 C   rD   )an  
        Gets the vault_id of this Backup.
        The `OCID`__ of the Oracle Cloud Infrastructure `vault`__.

        __ 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<   rF   rA   rA   rB   r)   „  rO   zBackup.vault_idc                 C   rH   )au  
        Sets the vault_id of this Backup.
        The `OCID`__ of the Oracle Cloud Infrastructure `vault`__.

        __ 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
        Nr]   )r?   r)   rA   rA   rB   r)   “  s   
c                 C   rD   )zù
        Gets the key_store_id of this Backup.
        The `OCID`__ of the key store.

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


        :return: The key_store_id of this Backup.
        :rtype: str
        ©r=   rF   rA   rA   rB   r*   ¢  rG   zBackup.key_store_idc                 C   rH   )a  
        Sets the key_store_id of this Backup.
        The `OCID`__ of the key store.

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


        :param key_store_id: The key_store_id of this Backup.
        :type: str
        Nr^   )r?   r*   rA   rA   rB   r*   °  rI   c                 C   rD   )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>   rF   rA   rA   rB   r+   ¾  rM   zBackup.key_store_wallet_namec                 C   rH   )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
        Nr_   )r?   r+   rA   rA   rB   r+   Ê  rN   c                 C   s   t | ƒS ©N)r   rF   rA   rA   rB   Ú__repr__Ö  s   zBackup.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r?   ÚotherrA   rA   rB   Ú__eq__Ù  s   zBackup.__eq__c                 C   s
   | |k S r`   rA   rc   rA   rA   rB   Ú__ne__ß  s   
zBackup.__ne__N),Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZTYPE_INCREMENTALZ	TYPE_FULLZTYPE_VIRTUAL_FULLZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_RESTORINGZLIFECYCLE_STATE_CANCELINGZLIFECYCLE_STATE_CANCELEDZ!DATABASE_EDITION_STANDARD_EDITIONZ#DATABASE_EDITION_ENTERPRISE_EDITIONZ4DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCEZ7DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCErC   Úpropertyr   Úsetterr   r   r   r   r   r   r   r    r!   r"   r#   r%   r&   r'   r(   r)   r*   r+   ra   re   rf   rA   rA   rA   rB   r      sÄ     





































r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   rA   rA   rA   rB   Ú<module>   s   