Class: Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceQueryResult
- Inherits:
-
Object
- Object
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceQueryResult
- Includes:
- MsRestAzure
- Defined in:
- lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#app_info ⇒ Hash{String => String}
a JSON object.
-
#device_id ⇒ String
The device result.
-
#meta ⇒ DeviceMeta
Application usage data.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeviceQueryResult class as Ruby Hash.
Instance Attribute Details
#app_info ⇒ Hash{String => String}
a JSON object.
24 25 26 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb', line 24 def app_info @app_info end |
#device_id ⇒ String
Returns The device result.
17 18 19 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb', line 17 def device_id @device_id end |
#meta ⇒ DeviceMeta
Returns Application usage data.
20 21 22 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb', line 20 def @meta end |
Class Method Details
.mapper ⇒ Object
Mapper for DeviceQueryResult class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb', line 31 def self.mapper() { required: false, serialized_name: 'DeviceQueryResult', type: { name: 'Composite', class_name: 'DeviceQueryResult', model_properties: { device_id: { required: true, serialized_name: 'deviceId', type: { name: 'String' } }, meta: { required: false, serialized_name: 'meta', type: { name: 'Composite', class_name: 'DeviceMeta' } }, app_info: { required: false, serialized_name: 'appInfo', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |