class Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata

Metadata information for the properties JSON document.

Attributes

last_updated[RW]

@return [String] The ISO8601 timestamp of the last time the properties were updated.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_event_grid/models/device_twin_metadata.rb, line 24
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeviceTwinMetadata',
    type: {
      name: 'Composite',
      class_name: 'DeviceTwinMetadata',
      model_properties: {
        last_updated: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lastUpdated',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end