ruạṛ
a N��f#i � @ 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 @ sF e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dd � Zedd� �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<� �Z e jd=d<� �Z ed>d?� �Z!e!jd@d?� �Z!edAdB� �Z"e"jdCdB� �Z"edDdE� �Z#e#jdFdE� �Z#dGdH� Z$dIdJ� Z%dKdL� Z&dMS )N�VolumeBackupa� A point-in-time copy of a volume that can then be used to create a new block volume or recover a block volume. For more information, see `Overview of Cloud Volume Storage`__. 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/iaas/Content/Block/Concepts/overview.htm __ https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm �CREATING� AVAILABLE�TERMINATING� TERMINATED�FAULTY�REQUEST_RECEIVED�MANUAL� SCHEDULED�FULL�INCREMENTALc K s� dddddddddddddddddddd�| _ ddd d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new VolumeBackup object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this VolumeBackup. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this VolumeBackup. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this VolumeBackup. :type system_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this VolumeBackup. :type display_name: str :param expiration_time: The value to assign to the expiration_time property of this VolumeBackup. :type expiration_time: datetime :param freeform_tags: The value to assign to the freeform_tags property of this VolumeBackup. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this VolumeBackup. :type id: str :param kms_key_id: The value to assign to the kms_key_id property of this VolumeBackup. :type kms_key_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this VolumeBackup. Allowed values for this property are: "CREATING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY", "REQUEST_RECEIVED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param size_in_gbs: The value to assign to the size_in_gbs property of this VolumeBackup. :type size_in_gbs: int :param size_in_mbs: The value to assign to the size_in_mbs property of this VolumeBackup. :type size_in_mbs: int :param source_type: The value to assign to the source_type property of this VolumeBackup. Allowed values for this property are: "MANUAL", "SCHEDULED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type source_type: str :param source_volume_backup_id: The value to assign to the source_volume_backup_id property of this VolumeBackup. :type source_volume_backup_id: str :param time_created: The value to assign to the time_created property of this VolumeBackup. :type time_created: datetime :param time_request_received: The value to assign to the time_request_received property of this VolumeBackup. :type time_request_received: datetime :param type: The value to assign to the type property of this VolumeBackup. Allowed values for this property are: "FULL", "INCREMENTAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param unique_size_in_gbs: The value to assign to the unique_size_in_gbs property of this VolumeBackup. :type unique_size_in_gbs: int :param unique_size_in_mbs: The value to assign to the unique_size_in_mbs property of this VolumeBackup. :type unique_size_in_mbs: int :param volume_id: The value to assign to the volume_id property of this VolumeBackup. :type volume_id: str �strzdict(str, dict(str, object))�datetimezdict(str, str)�int)�compartment_id�defined_tags�system_tags�display_name�expiration_time� freeform_tags�id� kms_key_id�lifecycle_state�size_in_gbs�size_in_mbs�source_type�source_volume_backup_id�time_created�time_request_received�type�unique_size_in_gbs�unique_size_in_mbs� volume_id� compartmentId�definedTags� systemTags�displayName�expirationTime�freeformTagsr �kmsKeyId�lifecycleState� sizeInGBs� sizeInMBs� sourceType�sourceVolumeBackupId�timeCreated�timeRequestReceivedr# �uniqueSizeInGBs�uniqueSizeInMbs�volumeIdN)� swagger_types� attribute_map�_compartment_id� _defined_tags�_system_tags� _display_name�_expiration_time�_freeform_tags�_id�_kms_key_id�_lifecycle_state�_size_in_gbs�_size_in_mbs�_source_type�_source_volume_backup_id� _time_created�_time_request_received�_type�_unique_size_in_gbs�_unique_size_in_mbs� _volume_id)�self�kwargs� rO ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/core/models/volume_backup.py�__init__D sv Y��zVolumeBackup.__init__c C s | j S )z� **[Required]** Gets the compartment_id of this VolumeBackup. The OCID of the compartment that contains the volume backup. :return: The compartment_id of this VolumeBackup. :rtype: str �r: �rM rO rO rP r � s zVolumeBackup.compartment_idc C s || _ dS )z� Sets the compartment_id of this VolumeBackup. The OCID of the compartment that contains the volume backup. :param compartment_id: The compartment_id of this VolumeBackup. :type: str NrR )rM r rO rO rP r � s c C s | j S )a� Gets the defined_tags of this VolumeBackup. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this VolumeBackup. :rtype: dict(str, dict(str, object)) �r; rS rO rO rP r � s zVolumeBackup.defined_tagsc C s || _ dS )a� Sets the defined_tags of this VolumeBackup. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this VolumeBackup. :type: dict(str, dict(str, object)) NrT )rM r rO rO rP r s c C s | j S )a6 Gets the system_tags of this VolumeBackup. System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :return: The system_tags of this VolumeBackup. :rtype: dict(str, dict(str, object)) �r<