class Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties

Properties JSON element.

Attributes

desired[RW]

@return [DeviceTwinProperties] A portion of the properties that can be written only by the application back-end, and read by the device.

reported[RW]

@return [DeviceTwinProperties] A portion of the properties that can be written only by the device, and read by the application back-end.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_event_grid/models/device_twin_info_properties.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeviceTwinInfo_properties',
    type: {
      name: 'Composite',
      class_name: 'DeviceTwinInfoProperties',
      model_properties: {
        desired: {
          client_side_validation: true,
          required: false,
          serialized_name: 'desired',
          type: {
            name: 'Composite',
            class_name: 'DeviceTwinProperties'
          }
        },
        reported: {
          client_side_validation: true,
          required: false,
          serialized_name: 'reported',
          type: {
            name: 'Composite',
            class_name: 'DeviceTwinProperties'
          }
        }
      }
    }
  }
end