class Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppInfoFilter

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.

Attributes

app_info[RW]

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

type[RW]

Private Class Methods

mapper() click to toggle source

Mapper for AppInfoFilter class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb, line 34
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
new() click to toggle source
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb, line 20
def initialize
  @type = "app-info"
end