ruạṛ
a O��f�4 � @ 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 @ sT e Zd ZdZdZdZdZdZdZdZ dZ d Zd d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Ze d'd(� �Zejd)d(� �Zd*d+� Zd,d-� Zd.d/� Zd0S )1�WorkRequestSummaryzT The work request summary. Tracks the status of the asynchronous operation. �DELETE_COMPARTMENT�DELETE_TAG_DEFINITION�ACCEPTED�IN_PROGRESS�FAILED� SUCCEEDED� CANCELING�CANCELEDc K sx ddddddddddd� | _ ddd d ddd dddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _dS )a� Initializes a new WorkRequestSummary 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 WorkRequestSummary. :type id: str :param operation_type: The value to assign to the operation_type property of this WorkRequestSummary. Allowed values for this property are: "DELETE_COMPARTMENT", "DELETE_TAG_DEFINITION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation_type: str :param compartment_id: The value to assign to the compartment_id property of this WorkRequestSummary. :type compartment_id: str :param status: The value to assign to the status property of this WorkRequestSummary. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param resources: The value to assign to the resources property of this WorkRequestSummary. :type resources: list[oci.identity.models.WorkRequestResource] :param errors: The value to assign to the errors property of this WorkRequestSummary. :type errors: list[oci.identity.models.WorkRequestError] :param time_accepted: The value to assign to the time_accepted property of this WorkRequestSummary. :type time_accepted: datetime :param time_started: The value to assign to the time_started property of this WorkRequestSummary. :type time_started: datetime :param time_finished: The value to assign to the time_finished property of this WorkRequestSummary. :type time_finished: datetime :param percent_complete: The value to assign to the percent_complete property of this WorkRequestSummary. :type percent_complete: float �strzlist[WorkRequestResource]zlist[WorkRequestError]�datetime�float) �id�operation_type�compartment_id�status� resources�errors� time_accepted�time_started� time_finished�percent_completer � operationType� compartmentIdr r r �timeAccepted�timeStarted�timeFinished�percentCompleteN)� swagger_types� attribute_map�_id�_operation_type�_compartment_id�_status� _resources�_errors�_time_accepted� _time_started�_time_finished�_percent_complete)�self�kwargs� r0 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/identity/models/work_request_summary.py�__init__0 s@ 3�� zWorkRequestSummary.__init__c C s | j S )z� **[Required]** Gets the id of this WorkRequestSummary. The OCID of the work request. :return: The id of this WorkRequestSummary. :rtype: str �r$ �r. r0 r0 r1 r � s zWorkRequestSummary.idc C s || _ dS )z� Sets the id of this WorkRequestSummary. The OCID of the work request. :param id: The id of this WorkRequestSummary. :type: str Nr3 )r. r r0 r0 r1 r � s c C s | j S )a� **[Required]** Gets the operation_type of this WorkRequestSummary. An enum-like description of the type of work the work request is doing. Allowed values for this property are: "DELETE_COMPARTMENT", "DELETE_TAG_DEFINITION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The operation_type of this WorkRequestSummary. :rtype: str )r% r4 r0 r0 r1 r � s z!WorkRequestSummary.operation_typec C s ddg}t ||�sd}|| _dS )z� Sets the operation_type of this WorkRequestSummary. An enum-like description of the type of work the work request is doing. :param operation_type: The operation_type of this WorkRequestSummary. :type: str r r �UNKNOWN_ENUM_VALUEN)r r% )r. r �allowed_valuesr0 r0 r1 r � s c C s | j S )z� Gets the compartment_id of this WorkRequestSummary. The OCID of the compartment that contains the work request. :return: The compartment_id of this WorkRequestSummary. :rtype: str �r&