Sha256: 6c0679e77aa8405f0d5fa01e67abd0942a23a01f91fa0e56a8eb5d5fb89f2057

Contents?: true

Size: 1.76 KB

Versions: 3

Compression:

Stored size: 1.76 KB

Contents

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

module Azure::ARM::MobileEngagement
  module Models
    #
    # Send only to users who have some app info set. This is a special filter
    # that is automatically added if your campaign contains appInfo
    # parameters. It is not intended to be public and should not be used as
    # it could be removed or replaced by the API.
    #
    class AppInfoFilter < Filter

      include MsRestAzure


      def initialize
        @type = "app-info"
      end

      attr_accessor :type

      # @return [Array<String>] An array containing all the required appInfo.
      attr_accessor :app_info


      #
      # Mapper for AppInfoFilter class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'app-info',
          type: {
            name: 'Composite',
            class_name: 'AppInfoFilter',
            model_properties: {
              type: {
                required: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              app_info: {
                required: false,
                serialized_name: 'appInfo',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.7.0 lib/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb
azure_mgmt_mobile_engagement-0.6.0 lib/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb
azure_mgmt_mobile_engagement-0.5.0 lib/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb