Sha256: 29a7fd0ba36eb836fc3a4223c1db1727c32a758688258d1fc3fcda542c2440e5

Contents?: true

Size: 1.76 KB

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.14.0 lib/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb