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 Zd ZdZ dZd ZdZdd� 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� �Z e jd7d6� �Z ed8d9� �Z!e!jd:d9� �Z!ed;d<� �Z"e"jd=d<� �Z"ed>d?� �Z#e#jd@d?� �Z#edAdB� �Z$e$jdCdB� �Z$dDdE� Z%dFdG� Z&dHdI� Z'dJS )K�Backupz Backup model. �INCREMENTAL�FULL�VIRTUAL_FULL�CREATING�ACTIVE�DELETING�DELETED�FAILED� RESTORING�STANDARD_EDITION�ENTERPRISE_EDITION�#ENTERPRISE_EDITION_HIGH_PERFORMANCE�&ENTERPRISE_EDITION_EXTREME_PERFORMANCEc K s� dddddddddddddddddd�| _ ddddd d ddd ddddddddd�| _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", '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 �str�datetime�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_idr � compartmentId� databaseId�displayNamer �timeStarted� timeEnded�lifecycleDetails�availabilityDomain�lifecycleState�databaseEdition�databaseSizeInGBsr# r$ �kmsKeyId�kmsKeyVersionId�vaultIdN)� swagger_types� 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)�self�kwargs� rJ �~/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/backup.py�__init__D sj Q��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 �r7 �rH rJ rJ rK r � s z Backup.idc C s || _ 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 NrM )rH r rJ rJ rK r � s c C s | j S )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 �r8 rN rJ rJ rK r � s zBackup.compartment_idc C s || _ 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 NrO )rH r rJ rJ rK r � s c C s | j S )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 �r9 rN rJ rJ rK r s zBackup.database_idc C s || _ 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 NrP )rH r rJ rJ rK r s c C s | j S )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: rN rJ rJ rK r " s zBackup.display_namec C s || _ 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 NrQ )rH r rJ rJ rK r . s c C s | j S )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; rN rJ rJ rK r : s zBackup.typec C s g d�}t ||�sd}|| _dS )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 r; )rH r �allowed_valuesrJ rJ rK r I s c C s | j S )z� Gets the time_started of this Backup. The date and time the backup started. :return: The time_started of this Backup. :rtype: datetime �r<