azure_mgmt_mobile_engagement 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_mobile_engagement.rb +23 -23
- data/lib/generated/azure_mgmt_mobile_engagement/apps.rb +18 -10
- data/lib/generated/azure_mgmt_mobile_engagement/campaigns.rb +239 -119
- data/lib/generated/azure_mgmt_mobile_engagement/devices.rb +101 -53
- data/lib/generated/azure_mgmt_mobile_engagement/engagement_management_client.rb +4 -14
- data/lib/generated/azure_mgmt_mobile_engagement/export_tasks.rb +221 -110
- data/lib/generated/azure_mgmt_mobile_engagement/import_tasks.rb +59 -29
- data/lib/generated/azure_mgmt_mobile_engagement/models/api_error.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/api_error_error.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_collection_name_availability.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign.rb +7 -7
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_audience.rb +2 -2
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_list_result.rb +6 -6
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb +2 -2
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_push_parameters.rb +2 -2
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_push_result.rb +2 -2
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_result.rb +3 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_state.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_state_result.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_test_new_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_test_saved_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/date_range_export_task_parameter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/date_tag_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_info.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_location.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_meta.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_tags_parameters.rb +2 -2
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_tags_result.rb +2 -2
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_task_parameter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_task_result.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/feedback_by_campaign_parameter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/feedback_by_date_range_parameter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/filter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/geo_fencing_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/import_task.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/import_task_result.rb +3 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/notification_options.rb +5 -5
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question.rb +2 -2
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_choice.rb +2 -2
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_choice_localization.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_localization.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/supported_platforms_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/version.rb +1 -1
- metadata +4 -4
@@ -25,6 +25,9 @@ module Azure::ARM::MobileEngagement
|
|
25
25
|
#
|
26
26
|
# Get the list of import jobs.
|
27
27
|
#
|
28
|
+
# @param resource_group_name [String] The name of the resource group.
|
29
|
+
# @param app_collection [String] Application collection.
|
30
|
+
# @param app_name [String] Application resource name.
|
28
31
|
# @param skip [Integer] Control paging of import jobs, start results at the
|
29
32
|
# given offset, defaults to 0 (1st page of data).
|
30
33
|
# @param top [Integer] Control paging of import jobs, number of import jobs to
|
@@ -47,14 +50,17 @@ module Azure::ARM::MobileEngagement
|
|
47
50
|
#
|
48
51
|
# @return [Array<ImportTaskResult>] operation results.
|
49
52
|
#
|
50
|
-
def list(skip = 0, top = 20, orderby = nil, custom_headers = nil)
|
51
|
-
first_page = list_as_lazy(skip, top, orderby, custom_headers)
|
53
|
+
def list(resource_group_name, app_collection, app_name, skip = 0, top = 20, orderby = nil, custom_headers = nil)
|
54
|
+
first_page = list_as_lazy(resource_group_name, app_collection, app_name, skip, top, orderby, custom_headers)
|
52
55
|
first_page.get_all_items
|
53
56
|
end
|
54
57
|
|
55
58
|
#
|
56
59
|
# Get the list of import jobs.
|
57
60
|
#
|
61
|
+
# @param resource_group_name [String] The name of the resource group.
|
62
|
+
# @param app_collection [String] Application collection.
|
63
|
+
# @param app_name [String] Application resource name.
|
58
64
|
# @param skip [Integer] Control paging of import jobs, start results at the
|
59
65
|
# given offset, defaults to 0 (1st page of data).
|
60
66
|
# @param top [Integer] Control paging of import jobs, number of import jobs to
|
@@ -77,13 +83,16 @@ module Azure::ARM::MobileEngagement
|
|
77
83
|
#
|
78
84
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
79
85
|
#
|
80
|
-
def list_with_http_info(skip = 0, top = 20, orderby = nil, custom_headers = nil)
|
81
|
-
list_async(skip, top, orderby, custom_headers).value!
|
86
|
+
def list_with_http_info(resource_group_name, app_collection, app_name, skip = 0, top = 20, orderby = nil, custom_headers = nil)
|
87
|
+
list_async(resource_group_name, app_collection, app_name, skip, top, orderby, custom_headers).value!
|
82
88
|
end
|
83
89
|
|
84
90
|
#
|
85
91
|
# Get the list of import jobs.
|
86
92
|
#
|
93
|
+
# @param resource_group_name [String] The name of the resource group.
|
94
|
+
# @param app_collection [String] Application collection.
|
95
|
+
# @param app_name [String] Application resource name.
|
87
96
|
# @param skip [Integer] Control paging of import jobs, start results at the
|
88
97
|
# given offset, defaults to 0 (1st page of data).
|
89
98
|
# @param top [Integer] Control paging of import jobs, number of import jobs to
|
@@ -106,11 +115,11 @@ module Azure::ARM::MobileEngagement
|
|
106
115
|
#
|
107
116
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
108
117
|
#
|
109
|
-
def list_async(skip = 0, top = 20, orderby = nil, custom_headers = nil)
|
118
|
+
def list_async(resource_group_name, app_collection, app_name, skip = 0, top = 20, orderby = nil, custom_headers = nil)
|
110
119
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
111
|
-
fail ArgumentError, '
|
112
|
-
fail ArgumentError, '
|
113
|
-
fail ArgumentError, '
|
120
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
121
|
+
fail ArgumentError, 'app_collection is nil' if app_collection.nil?
|
122
|
+
fail ArgumentError, 'app_name is nil' if app_name.nil?
|
114
123
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
115
124
|
|
116
125
|
|
@@ -125,7 +134,7 @@ module Azure::ARM::MobileEngagement
|
|
125
134
|
|
126
135
|
options = {
|
127
136
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
128
|
-
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' =>
|
137
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'appCollection' => app_collection,'appName' => app_name},
|
129
138
|
query_params: {'api-version' => @client.api_version,'$skip' => skip,'$top' => top,'$orderby' => orderby},
|
130
139
|
headers: request_headers.merge(custom_headers || {}),
|
131
140
|
base_url: request_url
|
@@ -162,44 +171,53 @@ module Azure::ARM::MobileEngagement
|
|
162
171
|
#
|
163
172
|
# Creates a job to import the specified data to a storageUrl.
|
164
173
|
#
|
174
|
+
# @param resource_group_name [String] The name of the resource group.
|
175
|
+
# @param app_collection [String] Application collection.
|
176
|
+
# @param app_name [String] Application resource name.
|
165
177
|
# @param parameters [ImportTask]
|
166
178
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
167
179
|
# will be added to the HTTP request.
|
168
180
|
#
|
169
181
|
# @return [ImportTaskResult] operation results.
|
170
182
|
#
|
171
|
-
def create(parameters, custom_headers = nil)
|
172
|
-
response = create_async(parameters, custom_headers).value!
|
183
|
+
def create(resource_group_name, app_collection, app_name, parameters, custom_headers = nil)
|
184
|
+
response = create_async(resource_group_name, app_collection, app_name, parameters, custom_headers).value!
|
173
185
|
response.body unless response.nil?
|
174
186
|
end
|
175
187
|
|
176
188
|
#
|
177
189
|
# Creates a job to import the specified data to a storageUrl.
|
178
190
|
#
|
191
|
+
# @param resource_group_name [String] The name of the resource group.
|
192
|
+
# @param app_collection [String] Application collection.
|
193
|
+
# @param app_name [String] Application resource name.
|
179
194
|
# @param parameters [ImportTask]
|
180
195
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
181
196
|
# will be added to the HTTP request.
|
182
197
|
#
|
183
198
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
184
199
|
#
|
185
|
-
def create_with_http_info(parameters, custom_headers = nil)
|
186
|
-
create_async(parameters, custom_headers).value!
|
200
|
+
def create_with_http_info(resource_group_name, app_collection, app_name, parameters, custom_headers = nil)
|
201
|
+
create_async(resource_group_name, app_collection, app_name, parameters, custom_headers).value!
|
187
202
|
end
|
188
203
|
|
189
204
|
#
|
190
205
|
# Creates a job to import the specified data to a storageUrl.
|
191
206
|
#
|
207
|
+
# @param resource_group_name [String] The name of the resource group.
|
208
|
+
# @param app_collection [String] Application collection.
|
209
|
+
# @param app_name [String] Application resource name.
|
192
210
|
# @param parameters [ImportTask]
|
193
211
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
194
212
|
# to the HTTP request.
|
195
213
|
#
|
196
214
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
197
215
|
#
|
198
|
-
def create_async(parameters, custom_headers = nil)
|
216
|
+
def create_async(resource_group_name, app_collection, app_name, parameters, custom_headers = nil)
|
199
217
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
200
|
-
fail ArgumentError, '
|
201
|
-
fail ArgumentError, '
|
202
|
-
fail ArgumentError, '
|
218
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
219
|
+
fail ArgumentError, 'app_collection is nil' if app_collection.nil?
|
220
|
+
fail ArgumentError, 'app_name is nil' if app_name.nil?
|
203
221
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
204
222
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
205
223
|
|
@@ -223,7 +241,7 @@ module Azure::ARM::MobileEngagement
|
|
223
241
|
|
224
242
|
options = {
|
225
243
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
226
|
-
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' =>
|
244
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'appCollection' => app_collection,'appName' => app_name},
|
227
245
|
query_params: {'api-version' => @client.api_version},
|
228
246
|
body: request_content,
|
229
247
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -273,13 +291,16 @@ module Azure::ARM::MobileEngagement
|
|
273
291
|
# import job.
|
274
292
|
#
|
275
293
|
# @param id [String] Import job identifier.
|
294
|
+
# @param resource_group_name [String] The name of the resource group.
|
295
|
+
# @param app_collection [String] Application collection.
|
296
|
+
# @param app_name [String] Application resource name.
|
276
297
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
277
298
|
# will be added to the HTTP request.
|
278
299
|
#
|
279
300
|
# @return [ImportTaskResult] operation results.
|
280
301
|
#
|
281
|
-
def get(id, custom_headers = nil)
|
282
|
-
response = get_async(id, custom_headers).value!
|
302
|
+
def get(id, resource_group_name, app_collection, app_name, custom_headers = nil)
|
303
|
+
response = get_async(id, resource_group_name, app_collection, app_name, custom_headers).value!
|
283
304
|
response.body unless response.nil?
|
284
305
|
end
|
285
306
|
|
@@ -288,13 +309,16 @@ module Azure::ARM::MobileEngagement
|
|
288
309
|
# import job.
|
289
310
|
#
|
290
311
|
# @param id [String] Import job identifier.
|
312
|
+
# @param resource_group_name [String] The name of the resource group.
|
313
|
+
# @param app_collection [String] Application collection.
|
314
|
+
# @param app_name [String] Application resource name.
|
291
315
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
292
316
|
# will be added to the HTTP request.
|
293
317
|
#
|
294
318
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
295
319
|
#
|
296
|
-
def get_with_http_info(id, custom_headers = nil)
|
297
|
-
get_async(id, custom_headers).value!
|
320
|
+
def get_with_http_info(id, resource_group_name, app_collection, app_name, custom_headers = nil)
|
321
|
+
get_async(id, resource_group_name, app_collection, app_name, custom_headers).value!
|
298
322
|
end
|
299
323
|
|
300
324
|
#
|
@@ -302,17 +326,20 @@ module Azure::ARM::MobileEngagement
|
|
302
326
|
# import job.
|
303
327
|
#
|
304
328
|
# @param id [String] Import job identifier.
|
329
|
+
# @param resource_group_name [String] The name of the resource group.
|
330
|
+
# @param app_collection [String] Application collection.
|
331
|
+
# @param app_name [String] Application resource name.
|
305
332
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
306
333
|
# to the HTTP request.
|
307
334
|
#
|
308
335
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
309
336
|
#
|
310
|
-
def get_async(id, custom_headers = nil)
|
337
|
+
def get_async(id, resource_group_name, app_collection, app_name, custom_headers = nil)
|
311
338
|
fail ArgumentError, 'id is nil' if id.nil?
|
312
339
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
313
|
-
fail ArgumentError, '
|
314
|
-
fail ArgumentError, '
|
315
|
-
fail ArgumentError, '
|
340
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
341
|
+
fail ArgumentError, 'app_collection is nil' if app_collection.nil?
|
342
|
+
fail ArgumentError, 'app_name is nil' if app_name.nil?
|
316
343
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
317
344
|
|
318
345
|
|
@@ -327,7 +354,7 @@ module Azure::ARM::MobileEngagement
|
|
327
354
|
|
328
355
|
options = {
|
329
356
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
330
|
-
path_params: {'id' => id,'subscriptionId' => @client.subscription_id,'resourceGroupName' =>
|
357
|
+
path_params: {'id' => id,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'appCollection' => app_collection,'appName' => app_name},
|
331
358
|
query_params: {'api-version' => @client.api_version},
|
332
359
|
headers: request_headers.merge(custom_headers || {}),
|
333
360
|
base_url: request_url
|
@@ -451,6 +478,9 @@ module Azure::ARM::MobileEngagement
|
|
451
478
|
#
|
452
479
|
# Get the list of import jobs.
|
453
480
|
#
|
481
|
+
# @param resource_group_name [String] The name of the resource group.
|
482
|
+
# @param app_collection [String] Application collection.
|
483
|
+
# @param app_name [String] Application resource name.
|
454
484
|
# @param skip [Integer] Control paging of import jobs, start results at the
|
455
485
|
# given offset, defaults to 0 (1st page of data).
|
456
486
|
# @param top [Integer] Control paging of import jobs, number of import jobs to
|
@@ -474,8 +504,8 @@ module Azure::ARM::MobileEngagement
|
|
474
504
|
# @return [ImportTaskListResult] which provide lazy access to pages of the
|
475
505
|
# response.
|
476
506
|
#
|
477
|
-
def list_as_lazy(skip = 0, top = 20, orderby = nil, custom_headers = nil)
|
478
|
-
response = list_async(skip, top, orderby, custom_headers).value!
|
507
|
+
def list_as_lazy(resource_group_name, app_collection, app_name, skip = 0, top = 20, orderby = nil, custom_headers = nil)
|
508
|
+
response = list_async(resource_group_name, app_collection, app_name, skip, top, orderby, custom_headers).value!
|
479
509
|
unless response.nil?
|
480
510
|
page = response.body
|
481
511
|
page.next_method = Proc.new do |next_page_link|
|
@@ -10,7 +10,7 @@ module Azure::ARM::MobileEngagement
|
|
10
10
|
# that is automatically added if your campaign contains appInfo parameters.
|
11
11
|
# It is not intended to be public and should not be used as it could be
|
12
12
|
# removed or replaced by the API.
|
13
|
-
#
|
13
|
+
#
|
14
14
|
#
|
15
15
|
class AppInfoFilter < Filter
|
16
16
|
|
@@ -7,7 +7,7 @@ module Azure::ARM::MobileEngagement
|
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
10
|
-
#
|
10
|
+
#
|
11
11
|
#
|
12
12
|
class Campaign < CampaignLocalization
|
13
13
|
|
@@ -23,7 +23,7 @@ module Azure::ARM::MobileEngagement
|
|
23
23
|
# criteria (variables) operators (`not`, `and` or `or`) and parenthesis.
|
24
24
|
# Additionally, a set of filters can be added to an audience. 65535 bytes
|
25
25
|
# max as per JSON encoding.
|
26
|
-
#
|
26
|
+
#
|
27
27
|
attr_accessor :audience
|
28
28
|
|
29
29
|
# @return [String] Category of the campaign. Categories can be used on
|
@@ -72,7 +72,7 @@ module Azure::ARM::MobileEngagement
|
|
72
72
|
# set if deliveryTime is set to any. In that case, if the campaign is
|
73
73
|
# received when the application is launched, it will be delivered only in
|
74
74
|
# the specified list of activities.
|
75
|
-
#
|
75
|
+
#
|
76
76
|
attr_accessor :delivery_activities
|
77
77
|
|
78
78
|
# @return [String] The date at which the campaign should be started. The
|
@@ -80,19 +80,19 @@ module Azure::ARM::MobileEngagement
|
|
80
80
|
# If you set pushMode property to manual, this attribute will be ignored.
|
81
81
|
# * If you set pushMode property to one-shot, then the timezone attribute
|
82
82
|
# must be specified. Example: `2011-11-21 15:23Z`
|
83
|
-
#
|
83
|
+
#
|
84
84
|
attr_accessor :start_time
|
85
85
|
|
86
86
|
# @return [String] The date at which the campaign should be finished. The
|
87
87
|
# date shall conform to the following format: `yyyy-MM-ddTHH:mm:ssZ`.
|
88
88
|
# Example: `2011-11-21 15:23Z`
|
89
|
-
#
|
89
|
+
#
|
90
90
|
attr_accessor :end_time
|
91
91
|
|
92
92
|
# @return [String] The id of the time zone to use for the startTime and
|
93
93
|
# endTime dates. If not provided, the two date attributes will be
|
94
94
|
# expressed using the device timezone. Example: America/Los_Angeles
|
95
|
-
#
|
95
|
+
#
|
96
96
|
attr_accessor :timezone
|
97
97
|
|
98
98
|
# @return [NotificationTypes] Android only. Defines how the notification
|
@@ -138,7 +138,7 @@ module Azure::ARM::MobileEngagement
|
|
138
138
|
# localized using an optional JSON object. The JSON key is a
|
139
139
|
# two-character language code as specified by the ISO 639-1 standard. The
|
140
140
|
# corresponding value is an object containing the localizable properties.
|
141
|
-
#
|
141
|
+
#
|
142
142
|
attr_accessor :localization
|
143
143
|
|
144
144
|
# @return [Array<PollQuestion>] Poll questions.
|
@@ -12,7 +12,7 @@ module Azure::ARM::MobileEngagement
|
|
12
12
|
# audience is a boolean expression made of criteria (variables) operators
|
13
13
|
# (`not`, `and` or `or`) and parenthesis. Additionally, a set of filters
|
14
14
|
# can be added to an audience. 65535 bytes max as per JSON encoding.
|
15
|
-
#
|
15
|
+
#
|
16
16
|
#
|
17
17
|
class CampaignAudience
|
18
18
|
|
@@ -22,7 +22,7 @@ module Azure::ARM::MobileEngagement
|
|
22
22
|
# operators (`not`, `and` or `or`) and parenthesis. Criterion names in
|
23
23
|
# the audience expression must start with a capital letter and can only
|
24
24
|
# contain alphanumeric (A-Z,a-z,0-9) and underscore (_) characters.
|
25
|
-
#
|
25
|
+
#
|
26
26
|
attr_accessor :expression
|
27
27
|
|
28
28
|
# @return [Hash{String => Criterion}] Criteria by name.
|
@@ -7,7 +7,7 @@ module Azure::ARM::MobileEngagement
|
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
10
|
-
#
|
10
|
+
#
|
11
11
|
#
|
12
12
|
class CampaignListResult < CampaignStateResult
|
13
13
|
|
@@ -19,34 +19,34 @@ module Azure::ARM::MobileEngagement
|
|
19
19
|
# @return [DateTime] The date at which the campaign was activated (Not
|
20
20
|
# present if not yet activated). The date conforms to the following
|
21
21
|
# format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
|
22
|
-
#
|
22
|
+
#
|
23
23
|
attr_accessor :activated_date
|
24
24
|
|
25
25
|
# @return [DateTime] The date at which the campaign was finished (Not
|
26
26
|
# present if not yet finished). The date conforms to the following
|
27
27
|
# format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
|
28
|
-
#
|
28
|
+
#
|
29
29
|
attr_accessor :finished_date
|
30
30
|
|
31
31
|
# @return [DateTime] The date at which the campaign should be started if
|
32
32
|
# specified. The date conforms to the following format:
|
33
33
|
# `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
|
34
34
|
# Applicable only to announcements and polls.
|
35
|
-
#
|
35
|
+
#
|
36
36
|
attr_accessor :start_time
|
37
37
|
|
38
38
|
# @return [DateTime] The date at which the campaign should be finished if
|
39
39
|
# specified. The date conforms to the following format:
|
40
40
|
# `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
|
41
41
|
# Applicable only to announcements and polls.
|
42
|
-
#
|
42
|
+
#
|
43
43
|
attr_accessor :end_time
|
44
44
|
|
45
45
|
# @return [String] The id of the time zone to use for the `startTime` and
|
46
46
|
# `endTime` dates. If not provided, the two date attributes are
|
47
47
|
# referencing to the device timezone. Applicable only to announcements
|
48
48
|
# and polls.
|
49
|
-
#
|
49
|
+
#
|
50
50
|
attr_accessor :timezone
|
51
51
|
|
52
52
|
|
@@ -7,7 +7,7 @@ module Azure::ARM::MobileEngagement
|
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
10
|
-
#
|
10
|
+
#
|
11
11
|
#
|
12
12
|
class CampaignLocalization
|
13
13
|
|
@@ -26,7 +26,7 @@ module Azure::ARM::MobileEngagement
|
|
26
26
|
# there is neither text nor content icon). For Android system
|
27
27
|
# notifications, the image is used as the large icon (displayed only on
|
28
28
|
# Android 3+).
|
29
|
-
#
|
29
|
+
#
|
30
30
|
attr_accessor :notification_image
|
31
31
|
|
32
32
|
# @return [NotificationOptions] Additional platform specific options.
|
@@ -7,7 +7,7 @@ module Azure::ARM::MobileEngagement
|
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
10
|
-
#
|
10
|
+
#
|
11
11
|
#
|
12
12
|
class CampaignPushParameters
|
13
13
|
|
@@ -16,7 +16,7 @@ module Azure::ARM::MobileEngagement
|
|
16
16
|
# @return [Array<String>] Device identifiers to push as a JSON array of
|
17
17
|
# strings. Note that if you want to push the same campaign several times
|
18
18
|
# to the same device, you need to make several API calls.
|
19
|
-
#
|
19
|
+
#
|
20
20
|
attr_accessor :device_ids
|
21
21
|
|
22
22
|
# @return [Campaign] Alternative campaign's content to use instead of the
|
@@ -7,7 +7,7 @@ module Azure::ARM::MobileEngagement
|
|
7
7
|
module Models
|
8
8
|
#
|
9
9
|
# Model object.
|
10
|
-
#
|
10
|
+
#
|
11
11
|
#
|
12
12
|
class CampaignPushResult
|
13
13
|
|
@@ -20,7 +20,7 @@ module Azure::ARM::MobileEngagement
|
|
20
20
|
# that if the request parameters are valid but all the specified devices
|
21
21
|
# are rejected, the status code is still `200` with a response including
|
22
22
|
# all the devices as being rejected.
|
23
|
-
#
|
23
|
+
#
|
24
24
|
attr_accessor :invalid_device_ids
|
25
25
|
|
26
26
|
|