Sha256: 079a1d15a25f635cea8417680dbeaf49f0c2ef36d539b6bd2cd8ed162a9e6f52

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 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::ARM::MobileEngagement
  module Models
    #
    # Used to target devices based on the screen resolution of their device.
    #
    class ScreenSizeCriterion < Criterion

      include MsRestAzure

      include MsRest::JSONable

      def initialize
        @type = "screen-size"
      end

      attr_accessor :type

      # @return [String] Screen size using the following format
      # WIDTH**x**HEIGHT.
      attr_accessor :name


      #
      # Mapper for ScreenSizeCriterion class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'screen-size',
          type: {
            name: 'Composite',
            class_name: 'ScreenSizeCriterion',
            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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.13.0 lib/generated/azure_mgmt_mobile_engagement/models/screen_size_criterion.rb