ruạṛ
a ���f� � @ 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 ZdZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Z e jd+d*� �Z ed,d-� �Z!e!jd.d-� �Z!ed/d0� �Z"e"jd1d0� �Z"ed2d3� �Z#e#jd4d3� �Z#ed5d6� �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(edDdE� �Z)e)jdFdE� �Z)edGdH� �Z*e*jdIdH� �Z*edJdK� �Z+e+jdLdK� �Z+edMdN� �Z,e,jdOdN� �Z,edPdQ� �Z-e-jdRdQ� �Z-edSdT� �Z.e.jdUdT� �Z.edVdW� �Z/e/jdXdW� �Z/edYdZ� �Z0e0jd[dZ� �Z0ed\d]� �Z1e1jd^d]� �Z1ed_d`� �Z2e2jdad`� �Z2edbdc� �Z3e3jdddc� �Z3dedf� Z4dgdh� Z5didj� Z6dkS )l�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�PURGE_ARCHIVAL_DATA�ARCHIVE_STORAGE_DATA�CLEANUP_ARCHIVAL_STORAGE_DATA�ENCRYPT_ACTIVE_DATA�ENCRYPT_ARCHIVAL_DATA�ACTIVE_DATA� ARCHIVAL_DATA�ALLc K s ddddddddddddddddddddddddddd�| _ dddd d ddd ddddddddddddddddddd�| _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 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", "PURGE_ARCHIVAL_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 :param log_sets: The value to assign to the log_sets property of this StorageWorkRequest. :type log_sets: str :param purpose: The value to assign to the purpose property of this StorageWorkRequest. :type purpose: str :param query: The value to assign to the query property of this StorageWorkRequest. :type query: str :param is_recall_new_data_only: The value to assign to the is_recall_new_data_only property of this StorageWorkRequest. :type is_recall_new_data_only: bool :param is_use_recommended_data_set: The value to assign to the is_use_recommended_data_set property of this StorageWorkRequest. :type is_use_recommended_data_set: bool �strZdatetime�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_type�log_sets�purpose�query�is_recall_new_data_only�is_use_recommended_data_setr Z compartmentIdZtimeStartedZtimeAcceptedZtimeFinishedZtimeExpiresZpercentCompleter$ ZtimeDataStartedZ timeDataEndedZpurgeQueryStringZdataTypeZ statusDetailsZoperationDetailsZ policyNameZpolicyIdZstorageUsageInBytesZcompartmentIdInSubtreeZ operationTypeZkeyIdZkeyTypeZlogSetsr3 r4 ZisRecallNewDataOnlyZisUseRecommendedDataSetN)Z swagger_typesZ 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� _log_sets�_purpose�_query�_is_recall_new_data_only�_is_use_recommended_data_set)�self�kwargs� rS �Q/usr/lib/python3.9/site-packages/oci/log_analytics/models/storage_work_request.py�__init__^ s� w��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 �r7 �rQ rS rS rT 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 NrV )rQ r rS rS rT r 5 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 �r8 rW rS rS rT r A 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 NrX )rQ r rS rS rT r O 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 �r9 rW rS rS rT r ] 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 NrY )rQ r rS rS rT r i 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 �r: rW rS rS rT r u 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 NrZ )rQ r rS rS rT r � 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 �r; rW rS rS rT r! � 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 Nr[ )rQ r! rS rS rT r! � 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 �r<