Sha256: 9b7c80d395d1cd1bcd36892824b8ce215a8a2250f738a14961e2392766fc9628

Contents?: true

Size: 1.87 KB

Versions: 2

Compression:

Stored size: 1.87 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::MobileEngagement::Mgmt::V2014_12_01
  module Models
    #
    # Model object.
    #
    #
    class DeviceQueryResult

      include MsRestAzure

      # @return [String] The device result.
      attr_accessor :device_id

      # @return [DeviceMeta] Application usage data.
      attr_accessor :meta

      # @return [Hash{String => String}] Also known as tags, a key-value set as
      # a JSON object.
      attr_accessor :app_info


      #
      # Mapper for DeviceQueryResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.15.1 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb
azure_mgmt_mobile_engagement-0.15.0 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb