ruạṛ
a ���fUM � @ 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 dd � 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$d/d.� �Z(e"d0d1� �Z)e)j$d2d1� �Z)e"d3d4� �Z*e*j$d5d4� �Z*e"d6d7� �Z+e+j$d8d7� �Z+e"d9d:� �Z,e,j$d;d:� �Z,d<d=� Z-d>d?� Z.d@dA� Z/dBS )C�WorkRequestz3 A description of the work request status. �%CREATE_DB_MANAGEMENT_PRIVATE_ENDPOINT�%DELETE_DB_MANAGEMENT_PRIVATE_ENDPOINT�CREATE_DB_SYSTEM_DISCOVERY�CREATE_DB_SYSTEM�UPDATE_DB_SYSTEM�DB_SYSTEM_ENABLE_DBMGMT�DB_SYSTEM_DISABLE_DBMGMT�DELETE_DB_SYSTEM�#UPDATE_EXTERNAL_DB_SYSTEM_CONNECTOR�%CHANGE_EXTERNAL_DB_SYSTEM_COMPARTMENT�DISABLE_EXADATA_INFRASTURCTURE�ENABLE_EXADATA_INFRASTRUCTURE�DELETE_EXADATA_INFRASTRUCTURE�CHANGE_EXADATA_COMPARTMENT�ENABLE_SQL_WATCH�DISABLE_SQL_WATCH�MODIFY_SQL_WATCH�ENABLE_DBLM�DISABLE_DBLM�MODIFY_DBLM� ENABLE_DBMGMT�DISABLE_DBMGMT� MODIFY_DBMGMT�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 compartment_id: The value to assign to the compartment_id property of this WorkRequest. :type compartment_id: str :param operation_type: The value to assign to the operation_type property of this WorkRequest. Allowed values for this property are: "CREATE_DB_MANAGEMENT_PRIVATE_ENDPOINT", "DELETE_DB_MANAGEMENT_PRIVATE_ENDPOINT", "CREATE_DB_SYSTEM_DISCOVERY", "CREATE_DB_SYSTEM", "UPDATE_DB_SYSTEM", "DB_SYSTEM_ENABLE_DBMGMT", "DB_SYSTEM_DISABLE_DBMGMT", "DELETE_DB_SYSTEM", "UPDATE_EXTERNAL_DB_SYSTEM_CONNECTOR", "CHANGE_EXTERNAL_DB_SYSTEM_COMPARTMENT", "DISABLE_EXADATA_INFRASTURCTURE", "ENABLE_EXADATA_INFRASTRUCTURE", "DELETE_EXADATA_INFRASTRUCTURE", "CHANGE_EXADATA_COMPARTMENT", "ENABLE_SQL_WATCH", "DISABLE_SQL_WATCH", "MODIFY_SQL_WATCH", "ENABLE_DBLM", "DISABLE_DBLM", "MODIFY_DBLM", "ENABLE_DBMGMT", "DISABLE_DBMGMT", "MODIFY_DBMGMT", '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 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 :param resources: The value to assign to the resources property of this WorkRequest. :type resources: list[oci.database_management.models.WorkRequestResource] �str�floatZdatetimezlist[WorkRequestResource]) �id�compartment_id�operation_type�status�percent_complete� time_accepted�time_started� time_finished� resourcesr&