ruạṛ
a O��fk � @ 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 ZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Z e jd-d,� �Z ed.d/� �Z!e!jd0d/� �Z!ed1d2� �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*edLdM� �Z+e+jdNdM� �Z+edOdP� �Z,e,jdQdP� �Z,edRdS� �Z-e-jdTdS� �Z-dUdV� Z.dWdX� Z/dYdZ� Z0d[S )\�StorageWorkRequestz6 This shows the storage work request details. �ACCEPTED�CANCELED�FAILED�IN_PROGRESS� SUCCEEDED�LOG�LOOKUP�OFFBOARD_TENANCY�PURGE_STORAGE_DATA�RECALL_ARCHIVED_STORAGE_DATA�RELEASE_RECALLED_STORAGE_DATA�ARCHIVE_STORAGE_DATA�CLEANUP_ARCHIVAL_STORAGE_DATA�ENCRYPT_ACTIVE_DATA�ENCRYPT_ARCHIVAL_DATA�ACTIVE_DATA� ARCHIVAL_DATA�ALLc K s� dddddddddddddddddddddd�| _ dddd d ddd dddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new StorageWorkRequest 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 StorageWorkRequest. :type id: str :param compartment_id: The value to assign to the compartment_id property of this StorageWorkRequest. :type compartment_id: str :param time_started: The value to assign to the time_started property of this StorageWorkRequest. :type time_started: datetime :param time_accepted: The value to assign to the time_accepted property of this StorageWorkRequest. :type time_accepted: datetime :param time_finished: The value to assign to the time_finished property of this StorageWorkRequest. :type time_finished: datetime :param time_expires: The value to assign to the time_expires property of this StorageWorkRequest. :type time_expires: datetime :param percent_complete: The value to assign to the percent_complete property of this StorageWorkRequest. :type percent_complete: int :param status: The value to assign to the status property of this StorageWorkRequest. Allowed values for this property are: "ACCEPTED", "CANCELED", "FAILED", "IN_PROGRESS", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param time_data_started: The value to assign to the time_data_started property of this StorageWorkRequest. :type time_data_started: datetime :param time_data_ended: The value to assign to the time_data_ended property of this StorageWorkRequest. :type time_data_ended: datetime :param purge_query_string: The value to assign to the purge_query_string property of this StorageWorkRequest. :type purge_query_string: str :param data_type: The value to assign to the data_type property of this StorageWorkRequest. Allowed values for this property are: "LOG", "LOOKUP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type data_type: str :param status_details: The value to assign to the status_details property of this StorageWorkRequest. :type status_details: str :param operation_details: The value to assign to the operation_details property of this StorageWorkRequest. :type operation_details: str :param policy_name: The value to assign to the policy_name property of this StorageWorkRequest. :type policy_name: str :param policy_id: The value to assign to the policy_id property of this StorageWorkRequest. :type policy_id: str :param storage_usage_in_bytes: The value to assign to the storage_usage_in_bytes property of this StorageWorkRequest. :type storage_usage_in_bytes: int :param compartment_id_in_subtree: The value to assign to the compartment_id_in_subtree property of this StorageWorkRequest. :type compartment_id_in_subtree: bool :param operation_type: The value to assign to the operation_type property of this StorageWorkRequest. Allowed values for this property are: "OFFBOARD_TENANCY", "PURGE_STORAGE_DATA", "RECALL_ARCHIVED_STORAGE_DATA", "RELEASE_RECALLED_STORAGE_DATA", "ARCHIVE_STORAGE_DATA", "CLEANUP_ARCHIVAL_STORAGE_DATA", "ENCRYPT_ACTIVE_DATA", "ENCRYPT_ARCHIVAL_DATA", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation_type: str :param key_id: The value to assign to the key_id property of this StorageWorkRequest. :type key_id: str :param key_type: The value to assign to the key_type property of this StorageWorkRequest. Allowed values for this property are: "ACTIVE_DATA", "ARCHIVAL_DATA", "ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type key_type: str �str�datetime�int�bool)�id�compartment_id�time_started� time_accepted� time_finished�time_expires�percent_complete�status�time_data_started�time_data_ended�purge_query_string� data_type�status_details�operation_details�policy_name� policy_id�storage_usage_in_bytes�compartment_id_in_subtree�operation_type�key_id�key_typer � compartmentId�timeStarted�timeAccepted�timeFinished�timeExpires�percentCompleter$ �timeDataStarted� timeDataEnded�purgeQueryString�dataType� statusDetails�operationDetails� policyName�policyId�storageUsageInBytes�compartmentIdInSubtree� operationType�keyId�keyTypeN)� swagger_types� attribute_map�_id�_compartment_id� _time_started�_time_accepted�_time_finished� _time_expires�_percent_complete�_status�_time_data_started�_time_data_ended�_purge_query_string� _data_type�_status_details�_operation_details�_policy_name� _policy_id�_storage_usage_in_bytes�_compartment_id_in_subtree�_operation_type�_key_id� _key_type)�self�kwargs� r^ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/log_analytics/models/storage_work_request.py�__init__X s� c��zStorageWorkRequest.__init__c C s | j S )z� **[Required]** Gets the id of this StorageWorkRequest. This is the OCID of the storage work Request. :return: The id of this StorageWorkRequest. :rtype: str �rG �r\ r^ r^ r_ r s zStorageWorkRequest.idc C s || _ dS )z� Sets the id of this StorageWorkRequest. This is the OCID of the storage work Request. :param id: The id of this StorageWorkRequest. :type: str Nra )r\ r r^ r^ r_ r s c C s | j S )a Gets the compartment_id of this StorageWorkRequest. Compartment Identifier `OCID]`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this StorageWorkRequest. :rtype: str �rH rb r^ r^ r_ r s z!StorageWorkRequest.compartment_idc C s || _ dS )a* Sets the compartment_id of this StorageWorkRequest. Compartment Identifier `OCID]`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this StorageWorkRequest. :type: str Nrc )r\ r r^ r^ r_ r & s c C s | j S )z� Gets the time_started of this StorageWorkRequest. When the work request started. :return: The time_started of this StorageWorkRequest. :rtype: datetime �rI rb r^ r^ r_ r 4 s zStorageWorkRequest.time_startedc C s || _ dS )z� Sets the time_started of this StorageWorkRequest. When the work request started. :param time_started: The time_started of this StorageWorkRequest. :type: datetime Nrd )r\ r r^ r^ r_ r @ s c C s | j S )z� Gets the time_accepted of this StorageWorkRequest. When the work request was accepted. Should match timeStarted in all cases. :return: The time_accepted of this StorageWorkRequest. :rtype: datetime �rJ rb r^ r^ r_ r L s z StorageWorkRequest.time_acceptedc C s || _ dS )z� Sets the time_accepted of this StorageWorkRequest. When the work request was accepted. Should match timeStarted in all cases. :param time_accepted: The time_accepted of this StorageWorkRequest. :type: datetime Nre )r\ r r^ r^ r_ r X s c C s | j S )z� Gets the time_finished of this StorageWorkRequest. When the work request finished execution. :return: The time_finished of this StorageWorkRequest. :rtype: datetime �rK rb r^ r^ r_ r! d s z StorageWorkRequest.time_finishedc C s || _ dS )z� Sets the time_finished of this StorageWorkRequest. When the work request finished execution. :param time_finished: The time_finished of this StorageWorkRequest. :type: datetime Nrf )r\ r! r^ r^ r_ r! p s c C s | j S )z� Gets the time_expires of this StorageWorkRequest. When the work request will expire. :return: The time_expires of this StorageWorkRequest. :rtype: datetime �rL rb r^ r^ r_ r"