Class: Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppInfoFilter

Inherits:
Filter
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb

Overview

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.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAppInfoFilter

Returns a new instance of AppInfoFilter.



20
21
22
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb', line 20

def initialize
  @type = "app-info"
end

Instance Attribute Details

#app_infoArray<String>

Returns An array containing all the required appInfo.

Returns:

  • (Array<String>)

    An array containing all the required appInfo.



27
28
29
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb', line 27

def app_info
  @app_info
end

#typeObject

Returns the value of attribute type.



24
25
26
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb', line 24

def type
  @type
end

Class Method Details

.mapperObject

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



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb', line 34

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