Sha256: 175903209985b4b5cf0330bba4e9ff146248eb199e99ce867eeb55d6fcb95461

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 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
    #
    # Send only to a maximum of max users.
    #
    class EngageSubsetFilter < Filter

      include MsRestAzure


      def initialize
        @type = "engage-subset"
      end

      attr_accessor :type

      # @return [Integer] An integer value representing the maximum users that
      # should be pushed.
      attr_accessor :max


      #
      # Mapper for EngageSubsetFilter class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'engage-subset',
          type: {
            name: 'Composite',
            class_name: 'EngageSubsetFilter',
            model_properties: {
              type: {
                required: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              max: {
                required: false,
                serialized_name: 'max',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.14.0 lib/generated/azure_mgmt_mobile_engagement/models/engage_subset_filter.rb