ruạṛ
a N��f_ � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�UpdateTaskDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d ZdZdZ dZdZdZd d� Zedd � �Zejdd � �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Zejd/d.� �Zed0d1� �Z e jd2d1� �Z ed3d4� �Z!e!jd5d4� �Z!d6d7� Z"d8d9� Z#d:d;� Z$d<S )=�UpdateTaskFromRestTaskz� The information about the Generic REST task. The endpoint and cancelEndpoint properties are deprecated, use the properties executeRestCallConfig, cancelRestCallConfig and pollRestCallConfig for execute, cancel and polling of the calls. �GET�POST�PATCH�DELETE�PUT�SYNCHRONOUS�ASYNC_OCI_WORKREQUEST� ASYNC_GENERICc K s< ddddddddddddddd d dddd dddddddddd�| _ dddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d�| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _ d0| _ d0| _d0| _d0| _ d0| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _d0| _d1| _d0S )2a� Initializes a new UpdateTaskFromRestTask object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.UpdateTaskFromRestTask.model_type` attribute of this class is ``REST_TASK`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_type: The value to assign to the model_type property of this UpdateTaskFromRestTask. Allowed values for this property are: "INTEGRATION_TASK", "DATA_LOADER_TASK", "PIPELINE_TASK", "SQL_TASK", "OCI_DATAFLOW_TASK", "REST_TASK" :type model_type: str :param key: The value to assign to the key property of this UpdateTaskFromRestTask. :type key: str :param model_version: The value to assign to the model_version property of this UpdateTaskFromRestTask. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this UpdateTaskFromRestTask. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this UpdateTaskFromRestTask. :type name: str :param description: The value to assign to the description property of this UpdateTaskFromRestTask. :type description: str :param object_status: The value to assign to the object_status property of this UpdateTaskFromRestTask. :type object_status: int :param object_version: The value to assign to the object_version property of this UpdateTaskFromRestTask. :type object_version: int :param identifier: The value to assign to the identifier property of this UpdateTaskFromRestTask. :type identifier: str :param input_ports: The value to assign to the input_ports property of this UpdateTaskFromRestTask. :type input_ports: list[oci.data_integration.models.InputPort] :param output_ports: The value to assign to the output_ports property of this UpdateTaskFromRestTask. :type output_ports: list[oci.data_integration.models.OutputPort] :param parameters: The value to assign to the parameters property of this UpdateTaskFromRestTask. :type parameters: list[oci.data_integration.models.Parameter] :param op_config_values: The value to assign to the op_config_values property of this UpdateTaskFromRestTask. :type op_config_values: oci.data_integration.models.ConfigValues :param config_provider_delegate: The value to assign to the config_provider_delegate property of this UpdateTaskFromRestTask. :type config_provider_delegate: oci.data_integration.models.ConfigProvider :param registry_metadata: The value to assign to the registry_metadata property of this UpdateTaskFromRestTask. :type registry_metadata: oci.data_integration.models.RegistryMetadata :param auth_details: The value to assign to the auth_details property of this UpdateTaskFromRestTask. :type auth_details: oci.data_integration.models.AuthDetails :param auth_config: The value to assign to the auth_config property of this UpdateTaskFromRestTask. :type auth_config: oci.data_integration.models.AuthConfig :param endpoint: The value to assign to the endpoint property of this UpdateTaskFromRestTask. :type endpoint: oci.data_integration.models.Expression :param method_type: The value to assign to the method_type property of this UpdateTaskFromRestTask. Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT" :type method_type: str :param headers: The value to assign to the headers property of this UpdateTaskFromRestTask. :type headers: object :param additional_properties: The value to assign to the additional_properties property of this UpdateTaskFromRestTask. :type additional_properties: str :param json_data: The value to assign to the json_data property of this UpdateTaskFromRestTask. :type json_data: str :param api_call_mode: The value to assign to the api_call_mode property of this UpdateTaskFromRestTask. Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC" :type api_call_mode: str :param cancel_endpoint: The value to assign to the cancel_endpoint property of this UpdateTaskFromRestTask. :type cancel_endpoint: oci.data_integration.models.Expression :param cancel_method_type: The value to assign to the cancel_method_type property of this UpdateTaskFromRestTask. Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT" :type cancel_method_type: str :param execute_rest_call_config: The value to assign to the execute_rest_call_config property of this UpdateTaskFromRestTask. :type execute_rest_call_config: oci.data_integration.models.ExecuteRestCallConfig :param cancel_rest_call_config: The value to assign to the cancel_rest_call_config property of this UpdateTaskFromRestTask. :type cancel_rest_call_config: oci.data_integration.models.CancelRestCallConfig :param poll_rest_call_config: The value to assign to the poll_rest_call_config property of this UpdateTaskFromRestTask. :type poll_rest_call_config: oci.data_integration.models.PollRestCallConfig :param typed_expressions: The value to assign to the typed_expressions property of this UpdateTaskFromRestTask. :type typed_expressions: list[oci.data_integration.models.TypedExpression] �str�ParentReference�intzlist[InputPort]zlist[OutputPort]zlist[Parameter]�ConfigValues�ConfigProvider�RegistryMetadata�AuthDetails� AuthConfig� Expression�object�ExecuteRestCallConfig�CancelRestCallConfig�PollRestCallConfigzlist[TypedExpression])� model_type�key� model_version� parent_ref�name�description� object_status�object_version� identifier�input_ports�output_ports� parameters�op_config_values�config_provider_delegate�registry_metadata�auth_details�auth_config�endpoint�method_type�headers�additional_properties� json_data� api_call_mode�cancel_endpoint�cancel_method_type�execute_rest_call_config�cancel_rest_call_config�poll_rest_call_config�typed_expressions� modelTyper �modelVersion� parentRefr"