InvokeRawJsonCommandDetails¶
-
class
oci.iot.models.InvokeRawJsonCommandDetails(**kwargs)¶ Bases:
oci.iot.models.invoke_raw_command_details.InvokeRawCommandDetailsJson data payload definition
Attributes
REQUEST_DATA_FORMAT_BINARYstr(object=’’) -> str REQUEST_DATA_FORMAT_JSONstr(object=’’) -> str REQUEST_DATA_FORMAT_TEXTstr(object=’’) -> str request_dataGets the request_data of this InvokeRawJsonCommandDetails. request_data_content_typeGets the request_data_content_type of this InvokeRawJsonCommandDetails. request_data_format[Required] Gets the request_data_format of this InvokeRawCommandDetails. request_durationGets the request_duration of this InvokeRawCommandDetails. request_endpoint[Required] Gets the request_endpoint of this InvokeRawCommandDetails. response_durationGets the response_duration of this InvokeRawCommandDetails. response_endpointGets the response_endpoint of this InvokeRawCommandDetails. Methods
__init__(**kwargs)Initializes a new InvokeRawJsonCommandDetails object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
REQUEST_DATA_FORMAT_BINARY= 'BINARY'¶
-
REQUEST_DATA_FORMAT_JSON= 'JSON'¶
-
REQUEST_DATA_FORMAT_TEXT= 'TEXT'¶
-
__init__(**kwargs)¶ Initializes a new InvokeRawJsonCommandDetails object with values from keyword arguments. The default value of the
request_data_formatattribute of this class isJSONand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - request_duration (str) – The value to assign to the request_duration property of this InvokeRawJsonCommandDetails.
- response_duration (str) – The value to assign to the response_duration property of this InvokeRawJsonCommandDetails.
- request_endpoint (str) – The value to assign to the request_endpoint property of this InvokeRawJsonCommandDetails.
- response_endpoint (str) – The value to assign to the response_endpoint property of this InvokeRawJsonCommandDetails.
- request_data_format (str) – The value to assign to the request_data_format property of this InvokeRawJsonCommandDetails. Allowed values for this property are: “TEXT”, “JSON”, “BINARY”
- request_data_content_type (str) – The value to assign to the request_data_content_type property of this InvokeRawJsonCommandDetails.
- request_data (dict(str, object)) – The value to assign to the request_data property of this InvokeRawJsonCommandDetails.
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
request_data¶ Gets the request_data of this InvokeRawJsonCommandDetails. request data
Returns: The request_data of this InvokeRawJsonCommandDetails. Return type: dict(str, object)
-
request_data_content_type¶ Gets the request_data_content_type of this InvokeRawJsonCommandDetails. Mime content type of json data, default is application/json
Returns: The request_data_content_type of this InvokeRawJsonCommandDetails. Return type: str
-
request_data_format¶ [Required] Gets the request_data_format of this InvokeRawCommandDetails. data format: json, binary, text
Allowed values for this property are: “TEXT”, “JSON”, “BINARY”
Returns: The request_data_format of this InvokeRawCommandDetails. Return type: str
-
request_duration¶ Gets the request_duration of this InvokeRawCommandDetails. Specified duration by which to send the request by.
Returns: The request_duration of this InvokeRawCommandDetails. Return type: str
-
request_endpoint¶ [Required] Gets the request_endpoint of this InvokeRawCommandDetails. Device endpoint where request should be forwarded to.
Returns: The request_endpoint of this InvokeRawCommandDetails. Return type: str
-
response_duration¶ Gets the response_duration of this InvokeRawCommandDetails. Specified duration by which to receive the response by.
Returns: The response_duration of this InvokeRawCommandDetails. Return type: str
-
response_endpoint¶ Gets the response_endpoint of this InvokeRawCommandDetails. Device endpoint from which response is expected to come.
Returns: The response_endpoint of this InvokeRawCommandDetails. Return type: str
-