Sha256: f98bd011a0a538b1a93e37162a2fc74c8530de2a8085e8a3d1203a8c323c40dc

Contents?: true

Size: 1.41 KB

Versions: 2

Compression:

Stored size: 1.41 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# 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 version of the application they are
    # using.
    #
    class ApplicationVersionCriterion < Criterion

      include MsRestAzure

      include MsRest::JSONable

      def initialize
        @type = "application-version"
      end

      attr_accessor :type

      # @return [String] The application version.
      attr_accessor :name


      #
      # Mapper for ApplicationVersionCriterion class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'application-version',
          type: {
            name: 'Composite',
            class_name: 'ApplicationVersionCriterion',
            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.12.0 lib/generated/azure_mgmt_mobile_engagement/models/application_version_criterion.rb
azure_mgmt_mobile_engagement-0.11.0 lib/generated/azure_mgmt_mobile_engagement/models/application_version_criterion.rb