azure_mgmt_mobile_engagement 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,8 +49,8 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
49
49
  #
50
50
  # @return [Array<ImportTaskResult>] operation results.
51
51
  #
52
- def list(resource_group_name, app_collection, app_name, skip = 0, top = 20, orderby = nil, custom_headers = nil)
53
- first_page = list_as_lazy(resource_group_name, app_collection, app_name, skip, top, orderby, custom_headers)
52
+ def list(resource_group_name, app_collection, app_name, skip:0, top:20, orderby:nil, custom_headers:nil)
53
+ first_page = list_as_lazy(resource_group_name, app_collection, app_name, skip:skip, top:top, orderby:orderby, custom_headers:custom_headers)
54
54
  first_page.get_all_items
55
55
  end
56
56
 
@@ -82,8 +82,8 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
82
82
  #
83
83
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
84
84
  #
85
- def list_with_http_info(resource_group_name, app_collection, app_name, skip = 0, top = 20, orderby = nil, custom_headers = nil)
86
- list_async(resource_group_name, app_collection, app_name, skip, top, orderby, custom_headers).value!
85
+ def list_with_http_info(resource_group_name, app_collection, app_name, skip:0, top:20, orderby:nil, custom_headers:nil)
86
+ list_async(resource_group_name, app_collection, app_name, skip:skip, top:top, orderby:orderby, custom_headers:custom_headers).value!
87
87
  end
88
88
 
89
89
  #
@@ -114,7 +114,7 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
114
114
  #
115
115
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
116
116
  #
117
- def list_async(resource_group_name, app_collection, app_name, skip = 0, top = 20, orderby = nil, custom_headers = nil)
117
+ def list_async(resource_group_name, app_collection, app_name, skip:0, top:20, orderby:nil, custom_headers:nil)
118
118
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
119
119
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
120
120
  fail ArgumentError, 'app_collection is nil' if app_collection.nil?
@@ -126,6 +126,7 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
126
126
 
127
127
 
128
128
  request_headers = {}
129
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
129
130
 
130
131
  # Set Headers
131
132
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -182,8 +183,8 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
182
183
  #
183
184
  # @return [ImportTaskResult] operation results.
184
185
  #
185
- def create(resource_group_name, app_collection, app_name, parameters, custom_headers = nil)
186
- response = create_async(resource_group_name, app_collection, app_name, parameters, custom_headers).value!
186
+ def create(resource_group_name, app_collection, app_name, parameters, custom_headers:nil)
187
+ response = create_async(resource_group_name, app_collection, app_name, parameters, custom_headers:custom_headers).value!
187
188
  response.body unless response.nil?
188
189
  end
189
190
 
@@ -199,8 +200,8 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
199
200
  #
200
201
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
201
202
  #
202
- def create_with_http_info(resource_group_name, app_collection, app_name, parameters, custom_headers = nil)
203
- create_async(resource_group_name, app_collection, app_name, parameters, custom_headers).value!
203
+ def create_with_http_info(resource_group_name, app_collection, app_name, parameters, custom_headers:nil)
204
+ create_async(resource_group_name, app_collection, app_name, parameters, custom_headers:custom_headers).value!
204
205
  end
205
206
 
206
207
  #
@@ -215,7 +216,7 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
215
216
  #
216
217
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
217
218
  #
218
- def create_async(resource_group_name, app_collection, app_name, parameters, custom_headers = nil)
219
+ def create_async(resource_group_name, app_collection, app_name, parameters, custom_headers:nil)
219
220
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
220
221
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
221
222
  fail ArgumentError, 'app_collection is nil' if app_collection.nil?
@@ -225,13 +226,12 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
225
226
 
226
227
 
227
228
  request_headers = {}
229
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
228
230
 
229
231
  # Set Headers
230
232
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
231
233
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
232
234
 
233
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
234
-
235
235
  # Serialize Request
236
236
  request_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTask.mapper()
237
237
  request_content = @client.serialize(request_mapper, parameters)
@@ -301,8 +301,8 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
301
301
  #
302
302
  # @return [ImportTaskResult] operation results.
303
303
  #
304
- def get(id, resource_group_name, app_collection, app_name, custom_headers = nil)
305
- response = get_async(id, resource_group_name, app_collection, app_name, custom_headers).value!
304
+ def get(id, resource_group_name, app_collection, app_name, custom_headers:nil)
305
+ response = get_async(id, resource_group_name, app_collection, app_name, custom_headers:custom_headers).value!
306
306
  response.body unless response.nil?
307
307
  end
308
308
 
@@ -319,8 +319,8 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
319
319
  #
320
320
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
321
321
  #
322
- def get_with_http_info(id, resource_group_name, app_collection, app_name, custom_headers = nil)
323
- get_async(id, resource_group_name, app_collection, app_name, custom_headers).value!
322
+ def get_with_http_info(id, resource_group_name, app_collection, app_name, custom_headers:nil)
323
+ get_async(id, resource_group_name, app_collection, app_name, custom_headers:custom_headers).value!
324
324
  end
325
325
 
326
326
  #
@@ -336,7 +336,7 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
336
336
  #
337
337
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
338
338
  #
339
- def get_async(id, resource_group_name, app_collection, app_name, custom_headers = nil)
339
+ def get_async(id, resource_group_name, app_collection, app_name, custom_headers:nil)
340
340
  fail ArgumentError, 'id is nil' if id.nil?
341
341
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
342
342
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -346,6 +346,7 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
346
346
 
347
347
 
348
348
  request_headers = {}
349
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
349
350
 
350
351
  # Set Headers
351
352
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -400,8 +401,8 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
400
401
  #
401
402
  # @return [ImportTaskListResult] operation results.
402
403
  #
403
- def list_next(next_page_link, custom_headers = nil)
404
- response = list_next_async(next_page_link, custom_headers).value!
404
+ def list_next(next_page_link, custom_headers:nil)
405
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
405
406
  response.body unless response.nil?
406
407
  end
407
408
 
@@ -415,8 +416,8 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
415
416
  #
416
417
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
417
418
  #
418
- def list_next_with_http_info(next_page_link, custom_headers = nil)
419
- list_next_async(next_page_link, custom_headers).value!
419
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
420
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
420
421
  end
421
422
 
422
423
  #
@@ -429,11 +430,12 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
429
430
  #
430
431
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
431
432
  #
432
- def list_next_async(next_page_link, custom_headers = nil)
433
+ def list_next_async(next_page_link, custom_headers:nil)
433
434
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
434
435
 
435
436
 
436
437
  request_headers = {}
438
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
437
439
 
438
440
  # Set Headers
439
441
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -506,12 +508,12 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
506
508
  # @return [ImportTaskListResult] which provide lazy access to pages of the
507
509
  # response.
508
510
  #
509
- def list_as_lazy(resource_group_name, app_collection, app_name, skip = 0, top = 20, orderby = nil, custom_headers = nil)
510
- response = list_async(resource_group_name, app_collection, app_name, skip, top, orderby, custom_headers).value!
511
+ def list_as_lazy(resource_group_name, app_collection, app_name, skip:0, top:20, orderby:nil, custom_headers:nil)
512
+ response = list_async(resource_group_name, app_collection, app_name, skip:skip, top:top, orderby:orderby, custom_headers:custom_headers).value!
511
513
  unless response.nil?
512
514
  page = response.body
513
515
  page.next_method = Proc.new do |next_page_link|
514
- list_next_async(next_page_link, custom_headers)
516
+ list_next_async(next_page_link, custom_headers:custom_headers)
515
517
  end
516
518
  page
517
519
  end
@@ -29,8 +29,8 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
29
29
  #
30
30
  # @return [SupportedPlatformsListResult] operation results.
31
31
  #
32
- def list(custom_headers = nil)
33
- response = list_async(custom_headers).value!
32
+ def list(custom_headers:nil)
33
+ response = list_async(custom_headers:custom_headers).value!
34
34
  response.body unless response.nil?
35
35
  end
36
36
 
@@ -42,8 +42,8 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
42
42
  #
43
43
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
44
44
  #
45
- def list_with_http_info(custom_headers = nil)
46
- list_async(custom_headers).value!
45
+ def list_with_http_info(custom_headers:nil)
46
+ list_async(custom_headers:custom_headers).value!
47
47
  end
48
48
 
49
49
  #
@@ -54,12 +54,13 @@ module Azure::MobileEngagement::Mgmt::V2014_12_01
54
54
  #
55
55
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
56
56
  #
57
- def list_async(custom_headers = nil)
57
+ def list_async(custom_headers:nil)
58
58
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
59
59
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
60
60
 
61
61
 
62
62
  request_headers = {}
63
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
63
64
 
64
65
  # Set Headers
65
66
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -5,17 +5,36 @@
5
5
  require 'profiles/latest/mobileengagement_module_definition'
6
6
  require 'profiles/latest/modules/mobileengagement_profile_module'
7
7
 
8
- module Azure::MobileEngagement::Profiles::Latest::Mgmt
9
- #
10
- # Client class for the Latest profile SDK.
11
- #
12
- class Client < MobileEngagementClass
13
- include MsRestAzure::Common::Configurable
8
+ module Azure::MobileEngagement::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < MobileEngagementManagementClass
14
+ include MsRestAzure::Common::Configurable
14
15
 
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
15
37
 
16
- def initialize(options = {})
17
- super(options)
18
38
  end
19
-
20
39
  end
21
40
  end
@@ -6,4 +6,3 @@ module Azure end
6
6
  module Azure::MobileEngagement end
7
7
  module Azure::MobileEngagement::Profiles end
8
8
  module Azure::MobileEngagement::Profiles::Latest end
9
- module Azure::MobileEngagement::Profiles::Latest::Mgmt end
@@ -4,7 +4,8 @@
4
4
 
5
5
  require 'azure_mgmt_mobile_engagement'
6
6
 
7
- module Azure::MobileEngagement::Profiles::Latest::Mgmt
7
+ module Azure::MobileEngagement::Profiles::Latest
8
+ module Mgmt
8
9
  AppCollections = Azure::MobileEngagement::Mgmt::V2014_12_01::AppCollections
9
10
  Apps = Azure::MobileEngagement::Mgmt::V2014_12_01::Apps
10
11
  SupportedPlatforms = Azure::MobileEngagement::Mgmt::V2014_12_01::SupportedPlatforms
@@ -106,9 +107,9 @@ module Azure::MobileEngagement::Profiles::Latest::Mgmt
106
107
  end
107
108
 
108
109
  #
109
- # MobileEngagement
110
+ # MobileEngagementManagementClass
110
111
  #
111
- class MobileEngagementClass
112
+ class MobileEngagementManagementClass
112
113
  attr_reader :app_collections, :apps, :supported_platforms, :campaigns, :devices, :export_tasks, :import_tasks, :configurable, :base_url, :options, :model_classes
113
114
 
114
115
  def initialize(options = {})
@@ -120,291 +121,309 @@ module Azure::MobileEngagement::Profiles::Latest::Mgmt
120
121
 
121
122
  reset!(options)
122
123
 
123
- @configurable, @base_url, @options = self, nil, nil
124
+ @configurable = self
125
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
126
+ @options = options[:options].nil? ? nil:options[:options]
124
127
 
125
- client_0 = Azure::MobileEngagement::Mgmt::V2014_12_01::EngagementManagementClient.new(configurable.credentials, base_url, options)
126
- if(client_0.respond_to?(:subscription_id))
127
- client_0.subscription_id = configurable.subscription_id
128
- end
129
- @app_collections = client_0.app_collections
130
- @apps = client_0.apps
131
- @supported_platforms = client_0.supported_platforms
132
- @campaigns = client_0.campaigns
133
- @devices = client_0.devices
134
- @export_tasks = client_0.export_tasks
135
- @import_tasks = client_0.import_tasks
128
+ @client_0 = Azure::MobileEngagement::Mgmt::V2014_12_01::EngagementManagementClient.new(configurable.credentials, base_url, options)
129
+ if(@client_0.respond_to?(:subscription_id))
130
+ @client_0.subscription_id = configurable.subscription_id
131
+ end
132
+ add_telemetry(@client_0)
133
+ @app_collections = @client_0.app_collections
134
+ @apps = @client_0.apps
135
+ @supported_platforms = @client_0.supported_platforms
136
+ @campaigns = @client_0.campaigns
137
+ @devices = @client_0.devices
138
+ @export_tasks = @client_0.export_tasks
139
+ @import_tasks = @client_0.import_tasks
136
140
 
137
141
  @model_classes = ModelClasses.new
138
142
  end
139
143
 
140
- class ModelClasses
141
- def campaign_state
142
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignState
143
- end
144
- def api_error_error
145
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiErrorError
146
- end
147
- def api_error
148
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiError
149
- end
150
- def export_task_parameter
151
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskParameter
152
- end
153
- def app_list_result
154
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppListResult
155
- end
156
- def device_tags_parameters
157
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsParameters
158
- end
159
- def app_collection_list_result
160
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollectionListResult
161
- end
162
- def device_tags_result
163
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsResult
164
- end
165
- def supported_platforms_list_result
166
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::SupportedPlatformsListResult
167
- end
168
- def export_options
169
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportOptions
170
- end
171
- def campaign_test_saved_parameters
172
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestSavedParameters
173
- end
174
- def date_range_export_task_parameter
175
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DateRangeExportTaskParameter
176
- end
177
- def filter
178
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Filter
179
- end
180
- def device_meta
181
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta
182
- end
183
- def notification_options
184
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationOptions
185
- end
186
- def campaigns_list_result
187
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignsListResult
188
- end
189
- def poll_question_localization
190
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization
191
- end
192
- def campaign_statistics_result
193
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStatisticsResult
194
- end
195
- def campaign_localization
196
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignLocalization
197
- end
198
- def poll_question_choice_localization
199
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionChoiceLocalization
200
- end
201
- def feedback_by_date_range_parameter
202
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::FeedbackByDateRangeParameter
203
- end
204
- def export_task_list_result
205
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskListResult
206
- end
207
- def campaign_push_parameters
208
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignPushParameters
209
- end
210
- def campaign_push_result
211
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignPushResult
212
- end
213
- def import_task
214
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTask
215
- end
216
- def app_collection_name_availability
217
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollectionNameAvailability
218
- end
219
- def device_query_result
220
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceQueryResult
221
- end
222
- def criterion
223
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Criterion
224
- end
225
- def devices_query_result
226
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DevicesQueryResult
227
- end
228
- def feedback_by_campaign_parameter
229
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::FeedbackByCampaignParameter
230
- end
231
- def device_info
232
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceInfo
233
- end
234
- def import_task_list_result
235
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskListResult
236
- end
237
- def resource
238
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Resource
239
- end
240
- def device_location
241
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceLocation
242
- end
243
- def export_task_result
244
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskResult
245
- end
246
- def device
247
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Device
248
- end
249
- def campaign_audience
250
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignAudience
251
- end
252
- def app
253
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::App
254
- end
255
- def app_collection
256
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollection
257
- end
258
- def poll_question_choice
259
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionChoice
260
- end
261
- def poll_question
262
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestion
263
- end
264
- def campaign
265
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Campaign
266
- end
267
- def campaign_test_new_parameters
268
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestNewParameters
269
- end
270
- def campaign_state_result
271
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStateResult
272
- end
273
- def carrier_name_criterion
274
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CarrierNameCriterion
275
- end
276
- def carrier_country_criterion
277
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CarrierCountryCriterion
278
- end
279
- def firmware_version_criterion
280
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::FirmwareVersionCriterion
281
- end
282
- def device_manufacturer_criterion
283
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceManufacturerCriterion
284
- end
285
- def device_model_criterion
286
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceModelCriterion
287
- end
288
- def application_version_criterion
289
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApplicationVersionCriterion
290
- end
291
- def network_type_criterion
292
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NetworkTypeCriterion
293
- end
294
- def language_criterion
295
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::LanguageCriterion
296
- end
297
- def screen_size_criterion
298
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ScreenSizeCriterion
299
- end
300
- def location_criterion
301
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::LocationCriterion
302
- end
303
- def geo_fencing_criterion
304
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::GeoFencingCriterion
305
- end
306
- def announcement_feedback_criterion
307
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AnnouncementFeedbackCriterion
308
- end
309
- def poll_feedback_criterion
310
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollFeedbackCriterion
311
- end
312
- def poll_answer_feedback_criterion
313
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollAnswerFeedbackCriterion
314
- end
315
- def datapush_feedback_criterion
316
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DatapushFeedbackCriterion
317
- end
318
- def segment_criterion
319
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::SegmentCriterion
320
- end
321
- def string_tag_criterion
322
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::StringTagCriterion
323
- end
324
- def date_tag_criterion
325
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DateTagCriterion
326
- end
327
- def integer_tag_criterion
328
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::IntegerTagCriterion
329
- end
330
- def boolean_tag_criterion
331
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::BooleanTagCriterion
332
- end
333
- def engage_subset_filter
334
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::EngageSubsetFilter
335
- end
336
- def engage_old_users_filter
337
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::EngageOldUsersFilter
338
- end
339
- def engage_new_users_filter
340
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::EngageNewUsersFilter
341
- end
342
- def engage_active_users_filter
343
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::EngageActiveUsersFilter
344
- end
345
- def engage_idle_users_filter
346
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::EngageIdleUsersFilter
347
- end
348
- def native_push_enabled_filter
349
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NativePushEnabledFilter
350
- end
351
- def push_quota_filter
352
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PushQuotaFilter
353
- end
354
- def app_info_filter
355
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppInfoFilter
356
- end
357
- def campaign_list_result
358
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignListResult
359
- end
360
- def campaign_result
361
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignResult
362
- end
363
- def import_task_result
364
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskResult
365
- end
366
- def provisioning_states
367
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ProvisioningStates
368
- end
369
- def push_modes
370
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PushModes
371
- end
372
- def campaign_types
373
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTypes
374
- end
375
- def delivery_times
376
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeliveryTimes
377
- end
378
- def notification_types
379
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationTypes
380
- end
381
- def campaign_states
382
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStates
383
- end
384
- def campaign_feedbacks
385
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignFeedbacks
386
- end
387
- def audience_operators
388
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AudienceOperators
389
- end
390
- def campaign_type
391
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignType
392
- end
393
- def export_state
394
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportState
395
- end
396
- def export_type
397
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportType
398
- end
399
- def export_format
400
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportFormat
401
- end
402
- def job_states
403
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::JobStates
404
- end
405
- def campaign_kinds
406
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignKinds
144
+ def add_telemetry(client)
145
+ profile_information = 'Profiles/Latest/MobileEngagement/Mgmt'
146
+ client.add_user_agent_information(profile_information)
147
+ end
148
+
149
+ def method_missing(method, *args)
150
+ if @client_0.respond_to?method
151
+ @client_0.send(method, *args)
152
+ else
153
+ super
407
154
  end
408
155
  end
156
+
157
+ end
158
+
159
+ class ModelClasses
160
+ def campaign_state
161
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignState
162
+ end
163
+ def api_error_error
164
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiErrorError
165
+ end
166
+ def api_error
167
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiError
168
+ end
169
+ def export_task_parameter
170
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskParameter
171
+ end
172
+ def app_list_result
173
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppListResult
174
+ end
175
+ def device_tags_parameters
176
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsParameters
177
+ end
178
+ def app_collection_list_result
179
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollectionListResult
180
+ end
181
+ def device_tags_result
182
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsResult
183
+ end
184
+ def supported_platforms_list_result
185
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::SupportedPlatformsListResult
186
+ end
187
+ def export_options
188
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportOptions
189
+ end
190
+ def campaign_test_saved_parameters
191
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestSavedParameters
192
+ end
193
+ def date_range_export_task_parameter
194
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DateRangeExportTaskParameter
195
+ end
196
+ def filter
197
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Filter
198
+ end
199
+ def device_meta
200
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta
201
+ end
202
+ def notification_options
203
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationOptions
204
+ end
205
+ def campaigns_list_result
206
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignsListResult
207
+ end
208
+ def poll_question_localization
209
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization
210
+ end
211
+ def campaign_statistics_result
212
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStatisticsResult
213
+ end
214
+ def campaign_localization
215
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignLocalization
216
+ end
217
+ def poll_question_choice_localization
218
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionChoiceLocalization
219
+ end
220
+ def feedback_by_date_range_parameter
221
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::FeedbackByDateRangeParameter
222
+ end
223
+ def export_task_list_result
224
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskListResult
225
+ end
226
+ def campaign_push_parameters
227
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignPushParameters
228
+ end
229
+ def campaign_push_result
230
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignPushResult
231
+ end
232
+ def import_task
233
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTask
234
+ end
235
+ def app_collection_name_availability
236
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollectionNameAvailability
237
+ end
238
+ def device_query_result
239
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceQueryResult
240
+ end
241
+ def criterion
242
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Criterion
243
+ end
244
+ def devices_query_result
245
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DevicesQueryResult
246
+ end
247
+ def feedback_by_campaign_parameter
248
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::FeedbackByCampaignParameter
249
+ end
250
+ def device_info
251
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceInfo
252
+ end
253
+ def import_task_list_result
254
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskListResult
255
+ end
256
+ def resource
257
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Resource
258
+ end
259
+ def device_location
260
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceLocation
261
+ end
262
+ def export_task_result
263
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskResult
264
+ end
265
+ def device
266
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Device
267
+ end
268
+ def campaign_audience
269
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignAudience
270
+ end
271
+ def app
272
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::App
273
+ end
274
+ def app_collection
275
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollection
276
+ end
277
+ def poll_question_choice
278
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionChoice
279
+ end
280
+ def poll_question
281
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestion
282
+ end
283
+ def campaign
284
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Campaign
285
+ end
286
+ def campaign_test_new_parameters
287
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestNewParameters
288
+ end
289
+ def campaign_state_result
290
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStateResult
291
+ end
292
+ def carrier_name_criterion
293
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CarrierNameCriterion
294
+ end
295
+ def carrier_country_criterion
296
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CarrierCountryCriterion
297
+ end
298
+ def firmware_version_criterion
299
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::FirmwareVersionCriterion
300
+ end
301
+ def device_manufacturer_criterion
302
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceManufacturerCriterion
303
+ end
304
+ def device_model_criterion
305
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceModelCriterion
306
+ end
307
+ def application_version_criterion
308
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApplicationVersionCriterion
309
+ end
310
+ def network_type_criterion
311
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NetworkTypeCriterion
312
+ end
313
+ def language_criterion
314
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::LanguageCriterion
315
+ end
316
+ def screen_size_criterion
317
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ScreenSizeCriterion
318
+ end
319
+ def location_criterion
320
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::LocationCriterion
321
+ end
322
+ def geo_fencing_criterion
323
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::GeoFencingCriterion
324
+ end
325
+ def announcement_feedback_criterion
326
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AnnouncementFeedbackCriterion
327
+ end
328
+ def poll_feedback_criterion
329
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollFeedbackCriterion
330
+ end
331
+ def poll_answer_feedback_criterion
332
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollAnswerFeedbackCriterion
333
+ end
334
+ def datapush_feedback_criterion
335
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DatapushFeedbackCriterion
336
+ end
337
+ def segment_criterion
338
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::SegmentCriterion
339
+ end
340
+ def string_tag_criterion
341
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::StringTagCriterion
342
+ end
343
+ def date_tag_criterion
344
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DateTagCriterion
345
+ end
346
+ def integer_tag_criterion
347
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::IntegerTagCriterion
348
+ end
349
+ def boolean_tag_criterion
350
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::BooleanTagCriterion
351
+ end
352
+ def engage_subset_filter
353
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::EngageSubsetFilter
354
+ end
355
+ def engage_old_users_filter
356
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::EngageOldUsersFilter
357
+ end
358
+ def engage_new_users_filter
359
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::EngageNewUsersFilter
360
+ end
361
+ def engage_active_users_filter
362
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::EngageActiveUsersFilter
363
+ end
364
+ def engage_idle_users_filter
365
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::EngageIdleUsersFilter
366
+ end
367
+ def native_push_enabled_filter
368
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NativePushEnabledFilter
369
+ end
370
+ def push_quota_filter
371
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PushQuotaFilter
372
+ end
373
+ def app_info_filter
374
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppInfoFilter
375
+ end
376
+ def campaign_list_result
377
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignListResult
378
+ end
379
+ def campaign_result
380
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignResult
381
+ end
382
+ def import_task_result
383
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskResult
384
+ end
385
+ def provisioning_states
386
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ProvisioningStates
387
+ end
388
+ def push_modes
389
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PushModes
390
+ end
391
+ def campaign_types
392
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTypes
393
+ end
394
+ def delivery_times
395
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeliveryTimes
396
+ end
397
+ def notification_types
398
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationTypes
399
+ end
400
+ def campaign_states
401
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStates
402
+ end
403
+ def campaign_feedbacks
404
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignFeedbacks
405
+ end
406
+ def audience_operators
407
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AudienceOperators
408
+ end
409
+ def campaign_type
410
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignType
411
+ end
412
+ def export_state
413
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportState
414
+ end
415
+ def export_type
416
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportType
417
+ end
418
+ def export_format
419
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportFormat
420
+ end
421
+ def job_states
422
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::JobStates
423
+ end
424
+ def campaign_kinds
425
+ Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignKinds
426
+ end
409
427
  end
428
+ end
410
429
  end