Sha256: 3a003422f4e3635ee08ca35fa6f9ea191916a36ced12a1c42284cb395db4ba2b

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 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::MobileEngagement::Mgmt::V2014_12_01
  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()
        {
          client_side_validation: true,
          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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.16.0 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/filter.rb
azure_mgmt_mobile_engagement-0.15.2 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/filter.rb