ExecuteRestCallConfig¶
- class oci.data_integration.models.ExecuteRestCallConfig(**kwargs)¶
Bases:
objectThe REST API configuration for execution.
Attributes:
A constant which can be used with the method_type property of a ExecuteRestCallConfig.
A constant which can be used with the method_type property of a ExecuteRestCallConfig.
A constant which can be used with the method_type property of a ExecuteRestCallConfig.
A constant which can be used with the method_type property of a ExecuteRestCallConfig.
A constant which can be used with the method_type property of a ExecuteRestCallConfig.
Gets the config_values of this ExecuteRestCallConfig.
Gets the method_type of this ExecuteRestCallConfig.
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.
- property config_values¶
Gets the config_values of this ExecuteRestCallConfig.
- Returns
The config_values of this ExecuteRestCallConfig.
- Return type
- property 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
- property 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)