Sha256: eab5f75395501ba0ea23238e6377217f564d6d4da69cc8d01f68afec99169b0c

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

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

module Azure::ARM::MobileEngagement
  module Models
    #
    # Model object.
    #
    #
    class Filter

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["engage-subset"] = "EngageSubsetFilter"
      @@discriminatorMap["engage-old-users"] = "EngageOldUsersFilter"
      @@discriminatorMap["engage-new-users"] = "EngageNewUsersFilter"
      @@discriminatorMap["engage-active-users"] = "EngageActiveUsersFilter"
      @@discriminatorMap["engage-idle-users"] = "EngageIdleUsersFilter"
      @@discriminatorMap["native-push-enabled"] = "NativePushEnabledFilter"
      @@discriminatorMap["push-quota"] = "PushQuotaFilter"
      @@discriminatorMap["app-info"] = "AppInfoFilter"

      def initialize
        @type = "Filter"
      end

      attr_accessor :type


      #
      # Mapper for Filter class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'Filter',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'Filter',
            class_name: 'Filter',
            model_properties: {
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.10.0 lib/generated/azure_mgmt_mobile_engagement/models/filter.rb