Sha256: 763ee6f92f306d551efd37ac6f20a5673892b84dcc51b89ea452f0408c3000fc

Contents?: true

Size: 1.36 KB

Versions: 2

Compression:

Stored size: 1.36 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
    #
    # Used to target devices based on the device manufacturer.
    #
    class DeviceManufacturerCriterion < Criterion

      include MsRestAzure


      def initialize
        @type = "device-manufacturer"
      end

      attr_accessor :type

      # @return [String] The device manufacturer.
      attr_accessor :name


      #
      # Mapper for DeviceManufacturerCriterion class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'device-manufacturer',
          type: {
            name: 'Composite',
            class_name: 'DeviceManufacturerCriterion',
            model_properties: {
              type: {
                required: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              name: {
                required: false,
                serialized_name: 'name',
                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_manufacturer_criterion.rb
azure_mgmt_mobile_engagement-0.15.0 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_manufacturer_criterion.rb