ruạṛ
a ���f�I � @ 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 ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!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,e#d:d;� �Z-e-j%d<d;� �Z-d=d>� Z.d?d@� Z/dAdB� Z0dCS )D�WorkRequestz; The status of an asynchronous task in the system. �CREATE_DBSYSTEM�UPDATE_DBSYSTEM�DELETE_DBSYSTEM�START_DBSYSTEM� STOP_DBSYSTEM�RESTART_DBSYSTEM�ADD_HEATWAVE_CLUSTER�UPDATE_HEATWAVE_CLUSTER�DELETE_HEATWAVE_CLUSTER�START_HEATWAVE_CLUSTER�STOP_HEATWAVE_CLUSTER�RESTART_HEATWAVE_CLUSTER�)GENERATE_HEATWAVE_CLUSTER_MEMORY_ESTIMATE�CREATE_REPLICA�UPDATE_REPLICA�DELETE_REPLICA�CREATE_CHANNEL�UPDATE_CHANNEL�RESUME_CHANNEL� RESET_CHANNEL�DELETE_CHANNEL�COPY_BACKUP� CREATE_BACKUP� DELETE_BACKUP�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_DBSYSTEM", "UPDATE_DBSYSTEM", "DELETE_DBSYSTEM", "START_DBSYSTEM", "STOP_DBSYSTEM", "RESTART_DBSYSTEM", "ADD_HEATWAVE_CLUSTER", "UPDATE_HEATWAVE_CLUSTER", "DELETE_HEATWAVE_CLUSTER", "START_HEATWAVE_CLUSTER", "STOP_HEATWAVE_CLUSTER", "RESTART_HEATWAVE_CLUSTER", "GENERATE_HEATWAVE_CLUSTER_MEMORY_ESTIMATE", "CREATE_REPLICA", "UPDATE_REPLICA", "DELETE_REPLICA", "CREATE_CHANNEL", "UPDATE_CHANNEL", "RESUME_CHANNEL", "RESET_CHANNEL", "DELETE_CHANNEL", "COPY_BACKUP", "CREATE_BACKUP", "DELETE_BACKUP", '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.mysql.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'