ruạṛ
a N��f�L � @ 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 Z"d!Z#d"Z$d#Z%d$Z&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:� �Z0e0j*d;d:� �Z0e(d<d=� �Z1e1j*d>d=� �Z1e(d?d@� �Z2e2j*dAd@� �Z2dBdC� Z3dDdE� Z4dFdG� Z5dHS )I�WorkRequestz1 Description of the work request status. � CREATE_BDS� UPDATE_BDS� DELETE_BDS�ADD_BLOCK_STORAGE�ADD_WORKER_NODES� ADD_CLOUD_SQL�REMOVE_CLOUD_SQL�CHANGE_COMPARTMENT_FOR_BDS�CHANGE_SHAPE�UPDATE_INFRA�RESTART_NODE�REMOVE_NODE�CREATE_AUTOSCALE_CONFIG�UPDATE_AUTOSCALE_CONFIG�DELETE_AUTOSCALE_CONFIG�AUTOSCALE_CONFIG� AUTOSCALE_RUN�CREATE_API_KEY�DELETE_API_KEY�TEST_OBJECT_STORE_CONNECTION�CREATE_METASTORE_CONFIG�DELETE_METASTORE_CONFIG�UPDATE_METASTORE_CONFIG�ACTIVATE_METASTORE_CONFIG�TEST_METASTORE_CONFIG� PATCH_BDS� PATCH_ODH�STOP_BDS� START_BDS�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_BDS", "UPDATE_BDS", "DELETE_BDS", "ADD_BLOCK_STORAGE", "ADD_WORKER_NODES", "ADD_CLOUD_SQL", "REMOVE_CLOUD_SQL", "CHANGE_COMPARTMENT_FOR_BDS", "CHANGE_SHAPE", "UPDATE_INFRA", "RESTART_NODE", "REMOVE_NODE", "CREATE_AUTOSCALE_CONFIG", "UPDATE_AUTOSCALE_CONFIG", "DELETE_AUTOSCALE_CONFIG", "AUTOSCALE_CONFIG", "AUTOSCALE_RUN", "CREATE_API_KEY", "DELETE_API_KEY", "TEST_OBJECT_STORE_CONNECTION", "CREATE_METASTORE_CONFIG", "DELETE_METASTORE_CONFIG", "UPDATE_METASTORE_CONFIG", "ACTIVATE_METASTORE_CONFIG", "TEST_METASTORE_CONFIG", "PATCH_BDS", "PATCH_ODH", "STOP_BDS", "START_BDS", '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 resources: The value to assign to the resources property of this WorkRequest. :type resources: list[oci.bds.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]�float�datetime) �id�compartment_id�operation_type�status� resources�percent_complete� time_accepted�time_started� time_finishedr- � compartmentId� operationTyper0 r1 �percentComplete�timeAccepted�timeStarted�timeFinishedN)� swagger_types� attribute_map�_id�_compartment_id�_operation_type�_status� _resources�_percent_complete�_time_accepted� _time_started�_time_finished)�self�kwargs� rI �/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/bds/models/work_request.py�__init__� s: /� �zWorkRequest.__init__c C s | j S )z� **[Required]** Gets the id of this WorkRequest. The ID of the work request. :return: The id of this WorkRequest. :rtype: str �r>