CancelRestCallConfig¶
-
class
oci.data_integration.models.
CancelRestCallConfig
(**kwargs)¶ Bases:
object
The REST API configuration for cancelling the task.
Attributes
METHOD_TYPE_DELETE
A constant which can be used with the method_type property of a CancelRestCallConfig. METHOD_TYPE_GET
A constant which can be used with the method_type property of a CancelRestCallConfig. METHOD_TYPE_PATCH
A constant which can be used with the method_type property of a CancelRestCallConfig. METHOD_TYPE_POST
A constant which can be used with the method_type property of a CancelRestCallConfig. METHOD_TYPE_PUT
A constant which can be used with the method_type property of a CancelRestCallConfig. config_values
Gets the config_values of this CancelRestCallConfig. method_type
Gets the method_type of this CancelRestCallConfig. request_headers
Gets the request_headers of this CancelRestCallConfig. Methods
__init__
(**kwargs)Initializes a new CancelRestCallConfig object with values from keyword arguments. -
METHOD_TYPE_DELETE
= 'DELETE'¶ A constant which can be used with the method_type property of a CancelRestCallConfig. This constant has a value of “DELETE”
-
METHOD_TYPE_GET
= 'GET'¶ A constant which can be used with the method_type property of a CancelRestCallConfig. This constant has a value of “GET”
-
METHOD_TYPE_PATCH
= 'PATCH'¶ A constant which can be used with the method_type property of a CancelRestCallConfig. This constant has a value of “PATCH”
-
METHOD_TYPE_POST
= 'POST'¶ A constant which can be used with the method_type property of a CancelRestCallConfig. This constant has a value of “POST”
-
METHOD_TYPE_PUT
= 'PUT'¶ A constant which can be used with the method_type property of a CancelRestCallConfig. This constant has a value of “PUT”
-
__init__
(**kwargs)¶ Initializes a new CancelRestCallConfig 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 CancelRestCallConfig. 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 CancelRestCallConfig.
- config_values (oci.data_integration.models.ConfigValues) – The value to assign to the config_values property of this CancelRestCallConfig.
-
config_values
¶ Gets the config_values of this CancelRestCallConfig.
Returns: The config_values of this CancelRestCallConfig. Return type: oci.data_integration.models.ConfigValues
-
method_type
¶ Gets the method_type of this CancelRestCallConfig. 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 CancelRestCallConfig. Return type: str
-
request_headers
¶ Gets the request_headers of this CancelRestCallConfig. The headers for the REST call.
Returns: The request_headers of this CancelRestCallConfig. Return type: dict(str, str)
-