DigitalTwinAdapterPayload¶
-
class
oci.iot.models.
DigitalTwinAdapterPayload
(**kwargs)¶ Bases:
object
Reference payload structure template received from IoT device. This payload must specify its content type using the dataFormat property.
Attributes
DATA_FORMAT_JSON
A constant which can be used with the data_format property of a DigitalTwinAdapterPayload. data_format
[Required] Gets the data_format of this DigitalTwinAdapterPayload. Methods
__init__
(**kwargs)Initializes a new DigitalTwinAdapterPayload 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. -
DATA_FORMAT_JSON
= 'JSON'¶ A constant which can be used with the data_format property of a DigitalTwinAdapterPayload. This constant has a value of “JSON”
-
__init__
(**kwargs)¶ Initializes a new DigitalTwinAdapterPayload 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: data_format (str) – The value to assign to the data_format property of this DigitalTwinAdapterPayload. Allowed values for this property are: “JSON”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
data_format
¶ [Required] Gets the data_format of this DigitalTwinAdapterPayload. Data format of the payload.
Allowed values for this property are: “JSON”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The data_format of this DigitalTwinAdapterPayload. Return type: str
-
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.
-