InvokeRawCommandDetails¶
- class oci.iot.models.InvokeRawCommandDetails(**kwargs)¶
Bases:
objectDefinition of unstructured command invocation payload
Attributes:
A constant which can be used with the request_data_format property of a InvokeRawCommandDetails.
A constant which can be used with the request_data_format property of a InvokeRawCommandDetails.
A constant which can be used with the request_data_format property of a InvokeRawCommandDetails.
[Required] Gets the request_data_format of this InvokeRawCommandDetails.
Gets the request_duration of this InvokeRawCommandDetails.
[Required] Gets the request_endpoint of this InvokeRawCommandDetails.
Gets the response_duration of this InvokeRawCommandDetails.
Gets the response_endpoint of this InvokeRawCommandDetails.
Methods:
__init__(**kwargs)Initializes a new InvokeRawCommandDetails 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'¶
A constant which can be used with the request_data_format property of a InvokeRawCommandDetails. This constant has a value of “BINARY”
- REQUEST_DATA_FORMAT_JSON = 'JSON'¶
A constant which can be used with the request_data_format property of a InvokeRawCommandDetails. This constant has a value of “JSON”
- REQUEST_DATA_FORMAT_TEXT = 'TEXT'¶
A constant which can be used with the request_data_format property of a InvokeRawCommandDetails. This constant has a value of “TEXT”
- __init__(**kwargs)¶
Initializes a new InvokeRawCommandDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 InvokeRawCommandDetails.
response_duration (str) – The value to assign to the response_duration property of this InvokeRawCommandDetails.
request_endpoint (str) – The value to assign to the request_endpoint property of this InvokeRawCommandDetails.
response_endpoint (str) – The value to assign to the response_endpoint property of this InvokeRawCommandDetails.
request_data_format (str) – The value to assign to the request_data_format property of this InvokeRawCommandDetails. Allowed values for this property are: “TEXT”, “JSON”, “BINARY”
- 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.
- property 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
- property 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
- property 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
- property 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
- property 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