class Azure::EventGrid::V2018_01_01::Models::DeviceTelemetryEventProperties
Schema of the Data property of an EventGridEvent
for a device telemetry event (DeviceTelemetry).
Attributes
body[RW]
@return The content of the message from the device.
properties[RW]
@return [Hash{String => String}] Application properties are user-defined strings that can be added to the message. These fields are optional.
system_properties[RW]
@return [Hash{String => String}] System properties help identify contents and source of the messages.
Private Class Methods
mapper()
click to toggle source
Mapper for DeviceTelemetryEventProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-01-01/generated/azure_event_grid/models/device_telemetry_event_properties.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeviceTelemetryEventProperties', type: { name: 'Composite', class_name: 'DeviceTelemetryEventProperties', model_properties: { body: { client_side_validation: true, required: false, serialized_name: 'body', type: { name: 'Object' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, system_properties: { client_side_validation: true, required: false, serialized_name: 'systemProperties', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end