ExecuteRestCallConfig

class oci.data_integration.models.ExecuteRestCallConfig(**kwargs)

Bases: object

The REST API configuration for execution.

Attributes

METHOD_TYPE_DELETE A constant which can be used with the method_type property of a ExecuteRestCallConfig.
METHOD_TYPE_GET A constant which can be used with the method_type property of a ExecuteRestCallConfig.
METHOD_TYPE_PATCH A constant which can be used with the method_type property of a ExecuteRestCallConfig.
METHOD_TYPE_POST A constant which can be used with the method_type property of a ExecuteRestCallConfig.
METHOD_TYPE_PUT A constant which can be used with the method_type property of a ExecuteRestCallConfig.
config_values Gets the config_values of this ExecuteRestCallConfig.
method_type Gets the method_type of this ExecuteRestCallConfig.
request_headers Gets the request_headers of this ExecuteRestCallConfig.

Methods

__init__(**kwargs) Initializes a new ExecuteRestCallConfig object with values from keyword arguments.
METHOD_TYPE_DELETE = 'DELETE'

A constant which can be used with the method_type property of a ExecuteRestCallConfig. This constant has a value of “DELETE”

METHOD_TYPE_GET = 'GET'

A constant which can be used with the method_type property of a ExecuteRestCallConfig. This constant has a value of “GET”

METHOD_TYPE_PATCH = 'PATCH'

A constant which can be used with the method_type property of a ExecuteRestCallConfig. This constant has a value of “PATCH”

METHOD_TYPE_POST = 'POST'

A constant which can be used with the method_type property of a ExecuteRestCallConfig. This constant has a value of “POST”

METHOD_TYPE_PUT = 'PUT'

A constant which can be used with the method_type property of a ExecuteRestCallConfig. This constant has a value of “PUT”

__init__(**kwargs)

Initializes a new ExecuteRestCallConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • method_type (str) – The value to assign to the method_type property of this ExecuteRestCallConfig. Allowed values for this property are: “GET”, “POST”, “PATCH”, “DELETE”, “PUT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • request_headers (dict(str, str)) – The value to assign to the request_headers property of this ExecuteRestCallConfig.
  • config_values (oci.data_integration.models.ConfigValues) – The value to assign to the config_values property of this ExecuteRestCallConfig.
config_values

Gets the config_values of this ExecuteRestCallConfig.

Returns:The config_values of this ExecuteRestCallConfig.
Return type:oci.data_integration.models.ConfigValues
method_type

Gets the method_type of this ExecuteRestCallConfig. The REST method to use.

Allowed values for this property are: “GET”, “POST”, “PATCH”, “DELETE”, “PUT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The method_type of this ExecuteRestCallConfig.
Return type:str
request_headers

Gets the request_headers of this ExecuteRestCallConfig. The headers for the REST call.

Returns:The request_headers of this ExecuteRestCallConfig.
Return type:dict(str, str)