Sha256: aaee07a7ace8b462de9ebcd8b53d8b8ec7dd22aa5692c93254dfdb03285696d1

Contents?: true

Size: 1.78 KB

Versions: 2

Compression:

Stored size: 1.78 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
    #
    # 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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.15.1 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb
azure_mgmt_mobile_engagement-0.15.0 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb