ruạṛ
a ���ff7 � @ 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 @ sn 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(� �Ze d*d+� �Zejd,d+� �Zd-d.� Zd/d0� Zd1d2� Zd3S )4�WorkRequestz� The asynchronous API request does not take effect immediately. This request spawns an asynchronous workflow to fulfill the request. WorkRequest objects provide visibility for in-progress workflows. �DELETE_COMPARTMENT�DELETE_TAG_DEFINITION�ACCEPTED�IN_PROGRESS�FAILED� SUCCEEDED� CANCELING�CANCELEDc K s� dddddddddddd�| _ dd d ddd dddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a Initializes a new WorkRequest 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 WorkRequest. :type id: str :param operation_type: The value to assign to the operation_type property of this WorkRequest. 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 WorkRequest. :type compartment_id: str :param status: The value to assign to the status property of this WorkRequest. 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 WorkRequest. :type resources: list[oci.identity.models.WorkRequestResource] :param errors: The value to assign to the errors property of this WorkRequest. :type errors: list[oci.identity.models.WorkRequestError] :param logs: The value to assign to the logs property of this WorkRequest. :type logs: list[oci.identity.models.WorkRequestLogEntry] :param time_accepted: The value to assign to the time_accepted property of this WorkRequest. :type time_accepted: datetime :param time_started: The value to assign to the time_started property of this WorkRequest. :type time_started: datetime :param time_finished: The value to assign to the time_finished property of this WorkRequest. :type time_finished: datetime :param percent_complete: The value to assign to the percent_complete property of this WorkRequest. :type percent_complete: float �strzlist[WorkRequestResource]zlist[WorkRequestError]zlist[WorkRequestLogEntry]Zdatetime�float)�id�operation_type�compartment_id�status� resources�errors�logs� time_accepted�time_started� time_finished�percent_completer Z operationTypeZ compartmentIdr r r r ZtimeAcceptedZtimeStartedZtimeFinishedZpercentCompleteN) Z swagger_typesZ attribute_map�_id�_operation_type�_compartment_id�_status� _resources�_errors�_logs�_time_accepted� _time_started�_time_finished�_percent_complete)�self�kwargs� r) �D/usr/lib/python3.9/site-packages/oci/identity/models/work_request.py�__init__3 sF 7��zWorkRequest.__init__c C s | j S )z� **[Required]** Gets the id of this WorkRequest. The OCID of the work request. :return: The id of this WorkRequest. :rtype: str �r �r'