Sha256: 75d6ed762b68b995d57dbbf7a634fa6db5f8446ed769757a1987389410fc13b0

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 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
    #
    # 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.14.0 lib/generated/azure_mgmt_mobile_engagement/models/filter.rb