class Azure::EventGrid::V2018_01_01::Models::DeviceConnectionStateEventInfo

Information about the device connection state event.

Attributes

sequence_number[RW]

@return [String] Sequence number is string representation of a hexadecimal number. string compare can be used to identify the larger number because both in ASCII and HEX numbers come after alphabets. If you are converting the string to hex, then the number is a 256 bit number.

Private Class Methods

mapper() click to toggle source

Mapper for DeviceConnectionStateEventInfo class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-01-01/generated/azure_event_grid/models/device_connection_state_event_info.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeviceConnectionStateEventInfo',
    type: {
      name: 'Composite',
      class_name: 'DeviceConnectionStateEventInfo',
      model_properties: {
        sequence_number: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sequenceNumber',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end