class Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Device
Model object.
Attributes
app_info[RW]
@return [Hash{String => String}] Also known as tags, a key-value set as a JSON object.
device_id[RW]
@return [String] The device result.
info[RW]
@return [DeviceInfo] Last technical data received (concerning device, system, network and application identification).
location[RW]
@return [DeviceLocation] Last geo-location data received.
meta[RW]
@return [DeviceMeta] Application usage data.
Private Class Methods
mapper()
click to toggle source
Mapper for Device
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device.rb, line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Device', type: { name: 'Composite', class_name: 'Device', model_properties: { device_id: { client_side_validation: true, required: true, serialized_name: 'deviceId', type: { name: 'String' } }, meta: { client_side_validation: true, required: false, serialized_name: 'meta', type: { name: 'Composite', class_name: 'DeviceMeta' } }, info: { client_side_validation: true, required: false, serialized_name: 'info', type: { name: 'Composite', class_name: 'DeviceInfo' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'Composite', class_name: 'DeviceLocation' } }, app_info: { client_side_validation: true, required: false, serialized_name: 'appInfo', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end