Sha256: f8abb751b6c3cd77a03acb81f5e5eddd5a413691a55349899f85b2667164737d

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 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()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'app-info',
          type: {
            name: 'Composite',
            class_name: 'AppInfoFilter',
            model_properties: {
              type: {
                client_side_validation: true,
                required: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              app_info: {
                client_side_validation: true,
                required: false,
                serialized_name: 'appInfo',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      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.16.0 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb
azure_mgmt_mobile_engagement-0.15.2 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb