Class: Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStatisticsResult

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

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#answersObject

Returns Poll specific statistics.

Returns:

  • Poll specific statistics.



87
88
89
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 87

def answers
  @answers
end

#content_actionedInteger

actioned (Not present in case of a notification-only announcement or a native-push).

Returns:

  • (Integer)

    Number of times the campaign’s content view was



79
80
81
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 79

def content_actioned
  @content_actioned
end

#content_displayedInteger

displayed (Not present in case of a notification-only announcement, a data-push or a native-push).

Returns:

  • (Integer)

    Number of times the campaign’s content view was



57
58
59
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 57

def content_displayed
  @content_displayed
end

#content_exitedInteger

exited (Not present in case of a notification-only announcement or a native-push).

Returns:

  • (Integer)

    Number of times the campaign’s content view was



84
85
86
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 84

def content_exited
  @content_exited
end

#deliveredInteger

application (Not present in case of a native-push).

Returns:

  • (Integer)

    Number of times the campaign was received by the



37
38
39
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 37

def delivered
  @delivered
end

#droppedInteger

application. It can happen if the SDK failed to parse the campaign payload or if an error occurred while trying to notify the end-user (Not present in case of a native-push).

Returns:

  • (Integer)

    Number of times the campaign was dropped by the



43
44
45
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 43

def dropped
  @dropped
end

#in_app_notification_actionedInteger

(Not present in case of a data-push or a native-push).

Returns:

  • (Integer)

    Number of times the in-app notification was actioned



70
71
72
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 70

def in_app_notification_actioned
  @in_app_notification_actioned
end

#in_app_notification_displayedInteger

(Not present in case of a data-push or a native-push).

Returns:

  • (Integer)

    Number of times the in-app notification was displayed



52
53
54
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 52

def in_app_notification_displayed
  @in_app_notification_displayed
end

#in_app_notification_exitedInteger

(Not present in case of a data-push or a native-push).

Returns:

  • (Integer)

    Number of times the in-app notification was exited



74
75
76
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 74

def in_app_notification_exited
  @in_app_notification_exited
end

#pushedInteger

Returns Number of pushes performed.

Returns:

  • (Integer)

    Number of pushes performed.



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

def pushed
  @pushed
end

#pushed_nativeInteger

available on Android, iOS, Windows Phone and Windows applications.

Returns:

  • (Integer)

    Total number of native pushes. Information only



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

def pushed_native
  @pushed_native
end

#pushed_native_admInteger

applications).

Returns:

  • (Integer)

    Number of ADM pushes (available only on Android



33
34
35
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 33

def pushed_native_adm
  @pushed_native_adm
end

#pushed_native_googleInteger

applications).

Returns:

  • (Integer)

    Number of C2DM/GCM pushes (available only on Android



29
30
31
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 29

def pushed_native_google
  @pushed_native_google
end

#queuedInteger

pushed.

Returns:

  • (Integer)

    Number of times the campaign was registered to be



18
19
20
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 18

def queued
  @queued
end

#system_notification_actionedInteger

it corresponds to a status bar notification. On iOS, it is the Apple Push notification) was actioned.

Returns:

  • (Integer)

    Number of times the system notification (On Android



62
63
64
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 62

def system_notification_actioned
  @system_notification_actioned
end

#system_notification_displayedInteger

(Not present in case of a data-push or a native-push). On Android it corresponds to a status bar notification.

Returns:

  • (Integer)

    Number of times the system notification was displayed



48
49
50
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 48

def system_notification_displayed
  @system_notification_displayed
end

#system_notification_exitedInteger

(Not present in case of a data-push or a native-push).

Returns:

  • (Integer)

    Number of times the system notification was exited



66
67
68
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 66

def system_notification_exited
  @system_notification_exited
end

Class Method Details

.mapperObject

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



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb', line 94

def self.mapper()
  {
    required: false,
    serialized_name: 'CampaignStatisticsResult',
    type: {
      name: 'Composite',
      class_name: 'CampaignStatisticsResult',
      model_properties: {
        queued: {
          required: false,
          serialized_name: 'queued',
          type: {
            name: 'Number'
          }
        },
        pushed: {
          required: false,
          serialized_name: 'pushed',
          type: {
            name: 'Number'
          }
        },
        pushed_native: {
          required: false,
          serialized_name: 'pushed-native',
          type: {
            name: 'Number'
          }
        },
        pushed_native_google: {
          required: false,
          serialized_name: 'pushed-native-google',
          type: {
            name: 'Number'
          }
        },
        pushed_native_adm: {
          required: false,
          serialized_name: 'pushed-native-adm',
          type: {
            name: 'Number'
          }
        },
        delivered: {
          required: false,
          serialized_name: 'delivered',
          type: {
            name: 'Number'
          }
        },
        dropped: {
          required: false,
          serialized_name: 'dropped',
          type: {
            name: 'Number'
          }
        },
        system_notification_displayed: {
          required: false,
          serialized_name: 'system-notification-displayed',
          type: {
            name: 'Number'
          }
        },
        in_app_notification_displayed: {
          required: false,
          serialized_name: 'in-app-notification-displayed',
          type: {
            name: 'Number'
          }
        },
        content_displayed: {
          required: false,
          serialized_name: 'content-displayed',
          type: {
            name: 'Number'
          }
        },
        system_notification_actioned: {
          required: false,
          serialized_name: 'system-notification-actioned',
          type: {
            name: 'Number'
          }
        },
        system_notification_exited: {
          required: false,
          serialized_name: 'system-notification-exited',
          type: {
            name: 'Number'
          }
        },
        in_app_notification_actioned: {
          required: false,
          serialized_name: 'in-app-notification-actioned',
          type: {
            name: 'Number'
          }
        },
        in_app_notification_exited: {
          required: false,
          serialized_name: 'in-app-notification-exited',
          type: {
            name: 'Number'
          }
        },
        content_actioned: {
          required: false,
          serialized_name: 'content-actioned',
          type: {
            name: 'Number'
          }
        },
        content_exited: {
          required: false,
          serialized_name: 'content-exited',
          type: {
            name: 'Number'
          }
        },
        answers: {
          required: false,
          serialized_name: 'answers',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        }
      }
    }
  }
end