ruạṛ
a N��f�1 � @ 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 @ sB e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dd � Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zd)d*� Zd+d,� Zd-d.� Zd/S )0�WorkRequestz* A Data Flow work request object. �CREATE_PRIVATE_ENDPOINT�UPDATE_PRIVATE_ENDPOINT�DELETE_PRIVATE_ENDPOINT�MOVE_PRIVATE_ENDPOINT�ACCEPTED� CANCELLED� CANCELLING�FAILED� INPROGRESS� SUCCEEDEDc 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 compartment_id: The value to assign to the compartment_id property of this WorkRequest. :type compartment_id: str :param id: The value to assign to the id property of this WorkRequest. :type id: str :param operation: The value to assign to the operation property of this WorkRequest. Allowed values for this property are: "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "MOVE_PRIVATE_ENDPOINT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation: str :param percent_complete: The value to assign to the percent_complete property of this WorkRequest. :type percent_complete: float :param resources: The value to assign to the resources property of this WorkRequest. :type resources: list[oci.data_flow.models.WorkRequestResource] :param status: The value to assign to the status property of this WorkRequest. Allowed values for this property are: "ACCEPTED", "CANCELLED", "CANCELLING", "FAILED", "INPROGRESS", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :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 �str�floatzlist[WorkRequestResource]�datetime) �compartment_id�id� operation�percent_complete� resources�status� time_accepted�time_started� time_finished� compartmentIdr r �percentCompleter r �timeAccepted�timeStarted�timeFinishedN)� swagger_types� attribute_map�_compartment_id�_id� _operation�_percent_complete� _resources�_status�_time_accepted� _time_started�_time_finished)�self�kwargs� r/ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_flow/models/work_request.py�__init__8 s: /� �zWorkRequest.__init__c C s | j S )z� **[Required]** Gets the compartment_id of this WorkRequest. The OCID of a compartment. :return: The compartment_id of this WorkRequest. :rtype: str �r$ �r- r/ r/ r0 r � s zWorkRequest.compartment_idc C s || _ dS )z� Sets the compartment_id of this WorkRequest. The OCID of a compartment. :param compartment_id: The compartment_id of this WorkRequest. :type: str Nr2 )r- r r/ r/ r0 r � s c C s | j S )z� **[Required]** Gets the id of this WorkRequest. The OCID of a work request. :return: The id of this WorkRequest. :rtype: str �r% r3 r/ r/ r0 r � s zWorkRequest.idc C s || _ dS )z� Sets the id of this WorkRequest. The OCID of a work request. :param id: The id of this WorkRequest. :type: str Nr4 )r- r r/ r/ r0 r � s c C s | j S )a� **[Required]** Gets the operation of this WorkRequest. The operation related to this work request. Allowed values for this property are: "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "MOVE_PRIVATE_ENDPOINT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The operation of this WorkRequest. :rtype: str )r&