ruạṛ
a ���f�D � @ 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 ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdd� Ze dd � �Z!e!j"d!d � �Z!e d"d#� �Z#e#j"d$d#� �Z#e d%d&� �Z$e$j"d'd&� �Z$e d(d)� �Z%e%j"d*d)� �Z%e d+d,� �Z&e&j"d-d,� �Z&e d.d/� �Z'e'j"d0d/� �Z'e d1d2� �Z(e(j"d3d2� �Z(e d4d5� �Z)e)j"d6d5� �Z)e d7d8� �Z*e*j"d9d8� �Z*d:d;� Z+d<d=� Z,d>d?� Z-d@S )A�WorkRequestz3 A description of the work request status. �CREATE_GATEWAY�UPDATE_GATEWAY�DELETE_GATEWAY�CREATE_DEPLOYMENT�UPDATE_DEPLOYMENT�DELETE_DEPLOYMENT�CREATE_CERTIFICATE�UPDATE_CERTIFICATE�DELETE_CERTIFICATE� CREATE_API� UPDATE_API� DELETE_API�VALIDATE_API� CREATE_SDK� DELETE_SDK�CREATE_USAGE_PLAN�UPDATE_USAGE_PLAN�DELETE_USAGE_PLAN�CREATE_SUBSCRIBER�UPDATE_SUBSCRIBER�DELETE_SUBSCRIBER�ACCEPTED�IN_PROGRESS�FAILED� SUCCEEDED� CANCELING�CANCELEDc K sn dddddddddd� | _ dddd d ddd dd� | _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: "CREATE_GATEWAY", "UPDATE_GATEWAY", "DELETE_GATEWAY", "CREATE_DEPLOYMENT", "UPDATE_DEPLOYMENT", "DELETE_DEPLOYMENT", "CREATE_CERTIFICATE", "UPDATE_CERTIFICATE", "DELETE_CERTIFICATE", "CREATE_API", "UPDATE_API", "DELETE_API", "VALIDATE_API", "CREATE_SDK", "DELETE_SDK", "CREATE_USAGE_PLAN", "UPDATE_USAGE_PLAN", "DELETE_USAGE_PLAN", "CREATE_SUBSCRIBER", "UPDATE_SUBSCRIBER", "DELETE_SUBSCRIBER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation_type: 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 compartment_id: The value to assign to the compartment_id property of this WorkRequest. :type compartment_id: str :param resources: The value to assign to the resources property of this WorkRequest. :type resources: list[oci.apigateway.models.WorkRequestResource] :param percent_complete: The value to assign to the percent_complete property of this WorkRequest. :type percent_complete: float :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 �strzlist[WorkRequestResource]�floatZdatetime) �id�operation_type�status�compartment_id� resources�percent_complete� time_accepted�time_started� time_finishedr$ Z operationTyper&