azure_mgmt_mobile_engagement 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_mobile_engagement.rb +1 -1
  3. data/lib/generated/azure_mgmt_mobile_engagement/app_collections.rb +11 -12
  4. data/lib/generated/azure_mgmt_mobile_engagement/apps.rb +6 -7
  5. data/lib/generated/azure_mgmt_mobile_engagement/campaigns.rb +50 -51
  6. data/lib/generated/azure_mgmt_mobile_engagement/devices.rb +22 -23
  7. data/lib/generated/azure_mgmt_mobile_engagement/engagement_management_client.rb +1 -1
  8. data/lib/generated/azure_mgmt_mobile_engagement/export_tasks.rb +59 -60
  9. data/lib/generated/azure_mgmt_mobile_engagement/import_tasks.rb +16 -17
  10. data/lib/generated/azure_mgmt_mobile_engagement/models/announcement_feedback_criterion.rb +2 -1
  11. data/lib/generated/azure_mgmt_mobile_engagement/models/api_error.rb +2 -1
  12. data/lib/generated/azure_mgmt_mobile_engagement/models/api_error_error.rb +2 -1
  13. data/lib/generated/azure_mgmt_mobile_engagement/models/app.rb +2 -1
  14. data/lib/generated/azure_mgmt_mobile_engagement/models/app_collection.rb +2 -1
  15. data/lib/generated/azure_mgmt_mobile_engagement/models/app_collection_list_result.rb +2 -1
  16. data/lib/generated/azure_mgmt_mobile_engagement/models/app_collection_name_availability.rb +2 -1
  17. data/lib/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb +2 -1
  18. data/lib/generated/azure_mgmt_mobile_engagement/models/app_list_result.rb +2 -1
  19. data/lib/generated/azure_mgmt_mobile_engagement/models/application_version_criterion.rb +2 -1
  20. data/lib/generated/azure_mgmt_mobile_engagement/models/audience_operators.rb +1 -1
  21. data/lib/generated/azure_mgmt_mobile_engagement/models/boolean_tag_criterion.rb +2 -1
  22. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign.rb +2 -1
  23. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_audience.rb +2 -1
  24. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_feedbacks.rb +1 -1
  25. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_kinds.rb +1 -1
  26. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_list_result.rb +2 -1
  27. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb +2 -1
  28. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_push_parameters.rb +2 -1
  29. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_push_result.rb +2 -1
  30. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_result.rb +2 -1
  31. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_state.rb +2 -1
  32. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_state_result.rb +2 -1
  33. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_states.rb +1 -1
  34. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb +2 -1
  35. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_test_new_parameters.rb +2 -1
  36. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_test_saved_parameters.rb +2 -1
  37. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_type.rb +1 -1
  38. data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_types.rb +1 -1
  39. data/lib/generated/azure_mgmt_mobile_engagement/models/campaigns_list_result.rb +2 -1
  40. data/lib/generated/azure_mgmt_mobile_engagement/models/carrier_country_criterion.rb +2 -1
  41. data/lib/generated/azure_mgmt_mobile_engagement/models/carrier_name_criterion.rb +2 -1
  42. data/lib/generated/azure_mgmt_mobile_engagement/models/criterion.rb +2 -1
  43. data/lib/generated/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb +2 -1
  44. data/lib/generated/azure_mgmt_mobile_engagement/models/date_range_export_task_parameter.rb +2 -1
  45. data/lib/generated/azure_mgmt_mobile_engagement/models/date_tag_criterion.rb +2 -1
  46. data/lib/generated/azure_mgmt_mobile_engagement/models/delivery_times.rb +1 -1
  47. data/lib/generated/azure_mgmt_mobile_engagement/models/device.rb +2 -1
  48. data/lib/generated/azure_mgmt_mobile_engagement/models/device_info.rb +2 -1
  49. data/lib/generated/azure_mgmt_mobile_engagement/models/device_location.rb +2 -1
  50. data/lib/generated/azure_mgmt_mobile_engagement/models/device_manufacturer_criterion.rb +2 -1
  51. data/lib/generated/azure_mgmt_mobile_engagement/models/device_meta.rb +2 -1
  52. data/lib/generated/azure_mgmt_mobile_engagement/models/device_model_criterion.rb +2 -1
  53. data/lib/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb +2 -1
  54. data/lib/generated/azure_mgmt_mobile_engagement/models/device_tags_parameters.rb +2 -1
  55. data/lib/generated/azure_mgmt_mobile_engagement/models/device_tags_result.rb +2 -1
  56. data/lib/generated/azure_mgmt_mobile_engagement/models/devices_query_result.rb +2 -1
  57. data/lib/generated/azure_mgmt_mobile_engagement/models/engage_active_users_filter.rb +2 -1
  58. data/lib/generated/azure_mgmt_mobile_engagement/models/engage_idle_users_filter.rb +2 -1
  59. data/lib/generated/azure_mgmt_mobile_engagement/models/engage_new_users_filter.rb +2 -1
  60. data/lib/generated/azure_mgmt_mobile_engagement/models/engage_old_users_filter.rb +2 -1
  61. data/lib/generated/azure_mgmt_mobile_engagement/models/engage_subset_filter.rb +2 -1
  62. data/lib/generated/azure_mgmt_mobile_engagement/models/export_format.rb +1 -1
  63. data/lib/generated/azure_mgmt_mobile_engagement/models/export_options.rb +2 -1
  64. data/lib/generated/azure_mgmt_mobile_engagement/models/export_state.rb +1 -1
  65. data/lib/generated/azure_mgmt_mobile_engagement/models/export_task_list_result.rb +2 -1
  66. data/lib/generated/azure_mgmt_mobile_engagement/models/export_task_parameter.rb +2 -1
  67. data/lib/generated/azure_mgmt_mobile_engagement/models/export_task_result.rb +2 -1
  68. data/lib/generated/azure_mgmt_mobile_engagement/models/export_type.rb +1 -1
  69. data/lib/generated/azure_mgmt_mobile_engagement/models/feedback_by_campaign_parameter.rb +2 -1
  70. data/lib/generated/azure_mgmt_mobile_engagement/models/feedback_by_date_range_parameter.rb +2 -1
  71. data/lib/generated/azure_mgmt_mobile_engagement/models/filter.rb +2 -1
  72. data/lib/generated/azure_mgmt_mobile_engagement/models/firmware_version_criterion.rb +2 -1
  73. data/lib/generated/azure_mgmt_mobile_engagement/models/geo_fencing_criterion.rb +2 -1
  74. data/lib/generated/azure_mgmt_mobile_engagement/models/import_task.rb +2 -1
  75. data/lib/generated/azure_mgmt_mobile_engagement/models/import_task_list_result.rb +2 -1
  76. data/lib/generated/azure_mgmt_mobile_engagement/models/import_task_result.rb +2 -1
  77. data/lib/generated/azure_mgmt_mobile_engagement/models/integer_tag_criterion.rb +2 -1
  78. data/lib/generated/azure_mgmt_mobile_engagement/models/job_states.rb +1 -1
  79. data/lib/generated/azure_mgmt_mobile_engagement/models/language_criterion.rb +2 -1
  80. data/lib/generated/azure_mgmt_mobile_engagement/models/location_criterion.rb +2 -1
  81. data/lib/generated/azure_mgmt_mobile_engagement/models/native_push_enabled_filter.rb +2 -1
  82. data/lib/generated/azure_mgmt_mobile_engagement/models/network_type_criterion.rb +2 -1
  83. data/lib/generated/azure_mgmt_mobile_engagement/models/notification_options.rb +2 -1
  84. data/lib/generated/azure_mgmt_mobile_engagement/models/notification_types.rb +1 -1
  85. data/lib/generated/azure_mgmt_mobile_engagement/models/poll_answer_feedback_criterion.rb +2 -1
  86. data/lib/generated/azure_mgmt_mobile_engagement/models/poll_feedback_criterion.rb +2 -1
  87. data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question.rb +2 -1
  88. data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_choice.rb +2 -1
  89. data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_choice_localization.rb +2 -1
  90. data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_localization.rb +2 -1
  91. data/lib/generated/azure_mgmt_mobile_engagement/models/provisioning_states.rb +1 -1
  92. data/lib/generated/azure_mgmt_mobile_engagement/models/push_modes.rb +1 -1
  93. data/lib/generated/azure_mgmt_mobile_engagement/models/push_quota_filter.rb +2 -1
  94. data/lib/generated/azure_mgmt_mobile_engagement/models/screen_size_criterion.rb +2 -1
  95. data/lib/generated/azure_mgmt_mobile_engagement/models/segment_criterion.rb +2 -1
  96. data/lib/generated/azure_mgmt_mobile_engagement/models/string_tag_criterion.rb +2 -1
  97. data/lib/generated/azure_mgmt_mobile_engagement/models/supported_platforms_list_result.rb +2 -1
  98. data/lib/generated/azure_mgmt_mobile_engagement/module_definition.rb +1 -1
  99. data/lib/generated/azure_mgmt_mobile_engagement/supported_platforms.rb +4 -5
  100. data/lib/generated/azure_mgmt_mobile_engagement/version.rb +2 -2
  101. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 804005b4c72e8f8888f35df5eb86a6bca4a2e165
4
- data.tar.gz: 20c232930e9098a65a04a04b3d6f19e56484d263
3
+ metadata.gz: 39554c432f07a02cd7b598359747d005feda91d3
4
+ data.tar.gz: f8906eefedea262f3079d73f6779677ec6191545
5
5
  SHA512:
6
- metadata.gz: 64a9458b8fe79deca8c996b5ae5360b8589b5e2c2078aff5db9f81708bd1612ce32c222d8c00fc87669399ec40f3a89c36d75f2a069077166ed4759868f99543
7
- data.tar.gz: afc59439445da8c78e6ac8628cb123934f25da2a19dba3a67ea245f69490c1df3244c552fa08ddc20a86f25496aabad2be7177ff13d0d5ffb6216fc38274aeee
6
+ metadata.gz: c1b63d787ba1b5cde6df48e3993f35a70da765faaa65c060bbf33c7f0ac0f06114fba106ed4cadc5ce23c6a44beb59ef3c4b06e2ac90e17c6c770e7b85909a84
7
+ data.tar.gz: 0421003f205d6e2e6dba3656051cafcb486856a26f0e5fe09b89502b198b70e4f3a557711e19092f6afe6f226080c22028fd7a7e2b8b5efddc753d33746074d6
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,7 +8,6 @@ module Azure::ARM::MobileEngagement
8
8
  # Microsoft Azure Mobile Engagement REST APIs.
9
9
  #
10
10
  class AppCollections
11
- include Azure::ARM::MobileEngagement::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -65,7 +64,7 @@ module Azure::ARM::MobileEngagement
65
64
  # Set Headers
66
65
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
67
66
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
68
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.MobileEngagement/appCollections'
67
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.MobileEngagement/appCollections'
69
68
 
70
69
  request_url = @base_url || @client.base_url
71
70
 
@@ -92,8 +91,8 @@ module Azure::ARM::MobileEngagement
92
91
  if status_code == 200
93
92
  begin
94
93
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
95
- result_mapper = AppCollectionListResult.mapper()
96
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
94
+ result_mapper = Azure::ARM::MobileEngagement::Models::AppCollectionListResult.mapper()
95
+ result.body = @client.deserialize(result_mapper, parsed_response)
97
96
  rescue Exception => e
98
97
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
99
98
  end
@@ -156,11 +155,11 @@ module Azure::ARM::MobileEngagement
156
155
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
157
156
 
158
157
  # Serialize Request
159
- request_mapper = AppCollectionNameAvailability.mapper()
160
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
158
+ request_mapper = Azure::ARM::MobileEngagement::Models::AppCollectionNameAvailability.mapper()
159
+ request_content = @client.serialize(request_mapper, parameters)
161
160
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
162
161
 
163
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.MobileEngagement/checkAppCollectionNameAvailability'
162
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.MobileEngagement/checkAppCollectionNameAvailability'
164
163
 
165
164
  request_url = @base_url || @client.base_url
166
165
 
@@ -188,8 +187,8 @@ module Azure::ARM::MobileEngagement
188
187
  if status_code == 200
189
188
  begin
190
189
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
191
- result_mapper = AppCollectionNameAvailability.mapper()
192
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
190
+ result_mapper = Azure::ARM::MobileEngagement::Models::AppCollectionNameAvailability.mapper()
191
+ result.body = @client.deserialize(result_mapper, parsed_response)
193
192
  rescue Exception => e
194
193
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
195
194
  end
@@ -275,8 +274,8 @@ module Azure::ARM::MobileEngagement
275
274
  if status_code == 200
276
275
  begin
277
276
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
278
- result_mapper = AppCollectionListResult.mapper()
279
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
277
+ result_mapper = Azure::ARM::MobileEngagement::Models::AppCollectionListResult.mapper()
278
+ result.body = @client.deserialize(result_mapper, parsed_response)
280
279
  rescue Exception => e
281
280
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
282
281
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,7 +8,6 @@ module Azure::ARM::MobileEngagement
8
8
  # Microsoft Azure Mobile Engagement REST APIs.
9
9
  #
10
10
  class Apps
11
- include Azure::ARM::MobileEngagement::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -73,7 +72,7 @@ module Azure::ARM::MobileEngagement
73
72
  # Set Headers
74
73
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
75
74
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
76
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps'
75
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps'
77
76
 
78
77
  request_url = @base_url || @client.base_url
79
78
 
@@ -100,8 +99,8 @@ module Azure::ARM::MobileEngagement
100
99
  if status_code == 200
101
100
  begin
102
101
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
103
- result_mapper = AppListResult.mapper()
104
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
102
+ result_mapper = Azure::ARM::MobileEngagement::Models::AppListResult.mapper()
103
+ result.body = @client.deserialize(result_mapper, parsed_response)
105
104
  rescue Exception => e
106
105
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
107
106
  end
@@ -187,8 +186,8 @@ module Azure::ARM::MobileEngagement
187
186
  if status_code == 200
188
187
  begin
189
188
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
190
- result_mapper = AppListResult.mapper()
191
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
189
+ result_mapper = Azure::ARM::MobileEngagement::Models::AppListResult.mapper()
190
+ result.body = @client.deserialize(result_mapper, parsed_response)
192
191
  rescue Exception => e
193
192
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
194
193
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,7 +8,6 @@ module Azure::ARM::MobileEngagement
8
8
  # Microsoft Azure Mobile Engagement REST APIs.
9
9
  #
10
10
  class Campaigns
11
- include Azure::ARM::MobileEngagement::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -147,7 +146,7 @@ module Azure::ARM::MobileEngagement
147
146
  # Set Headers
148
147
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
149
148
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
150
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}'
149
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}'
151
150
 
152
151
  request_url = @base_url || @client.base_url
153
152
 
@@ -174,8 +173,8 @@ module Azure::ARM::MobileEngagement
174
173
  if status_code == 200
175
174
  begin
176
175
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
177
- result_mapper = CampaignsListResult.mapper()
178
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
176
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignsListResult.mapper()
177
+ result.body = @client.deserialize(result_mapper, parsed_response)
179
178
  rescue Exception => e
180
179
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
181
180
  end
@@ -260,11 +259,11 @@ module Azure::ARM::MobileEngagement
260
259
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
261
260
 
262
261
  # Serialize Request
263
- request_mapper = Campaign.mapper()
264
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
262
+ request_mapper = Azure::ARM::MobileEngagement::Models::Campaign.mapper()
263
+ request_content = @client.serialize(request_mapper, parameters)
265
264
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
266
265
 
267
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}'
266
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}'
268
267
 
269
268
  request_url = @base_url || @client.base_url
270
269
 
@@ -292,8 +291,8 @@ module Azure::ARM::MobileEngagement
292
291
  if status_code == 201
293
292
  begin
294
293
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
295
- result_mapper = CampaignStateResult.mapper()
296
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
294
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
295
+ result.body = @client.deserialize(result_mapper, parsed_response)
297
296
  rescue Exception => e
298
297
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
299
298
  end
@@ -374,7 +373,7 @@ module Azure::ARM::MobileEngagement
374
373
  # Set Headers
375
374
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
376
375
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
377
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}'
376
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}'
378
377
 
379
378
  request_url = @base_url || @client.base_url
380
379
 
@@ -401,8 +400,8 @@ module Azure::ARM::MobileEngagement
401
400
  if status_code == 200
402
401
  begin
403
402
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
404
- result_mapper = CampaignResult.mapper()
405
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
403
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignResult.mapper()
404
+ result.body = @client.deserialize(result_mapper, parsed_response)
406
405
  rescue Exception => e
407
406
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
408
407
  end
@@ -494,11 +493,11 @@ module Azure::ARM::MobileEngagement
494
493
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
495
494
 
496
495
  # Serialize Request
497
- request_mapper = Campaign.mapper()
498
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
496
+ request_mapper = Azure::ARM::MobileEngagement::Models::Campaign.mapper()
497
+ request_content = @client.serialize(request_mapper, parameters)
499
498
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
500
499
 
501
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}'
500
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}'
502
501
 
503
502
  request_url = @base_url || @client.base_url
504
503
 
@@ -526,8 +525,8 @@ module Azure::ARM::MobileEngagement
526
525
  if status_code == 200
527
526
  begin
528
527
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
529
- result_mapper = CampaignStateResult.mapper()
530
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
528
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
529
+ result.body = @client.deserialize(result_mapper, parsed_response)
531
530
  rescue Exception => e
532
531
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
533
532
  end
@@ -604,7 +603,7 @@ module Azure::ARM::MobileEngagement
604
603
  # Set Headers
605
604
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
606
605
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
607
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}'
606
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}'
608
607
 
609
608
  request_url = @base_url || @client.base_url
610
609
 
@@ -703,7 +702,7 @@ module Azure::ARM::MobileEngagement
703
702
  # Set Headers
704
703
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
705
704
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
706
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaignsByName/{kind}/{name}'
705
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaignsByName/{kind}/{name}'
707
706
 
708
707
  request_url = @base_url || @client.base_url
709
708
 
@@ -730,8 +729,8 @@ module Azure::ARM::MobileEngagement
730
729
  if status_code == 200
731
730
  begin
732
731
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
733
- result_mapper = CampaignResult.mapper()
734
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
732
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignResult.mapper()
733
+ result.body = @client.deserialize(result_mapper, parsed_response)
735
734
  rescue Exception => e
736
735
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
737
736
  end
@@ -820,11 +819,11 @@ module Azure::ARM::MobileEngagement
820
819
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
821
820
 
822
821
  # Serialize Request
823
- request_mapper = CampaignTestSavedParameters.mapper()
824
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
822
+ request_mapper = Azure::ARM::MobileEngagement::Models::CampaignTestSavedParameters.mapper()
823
+ request_content = @client.serialize(request_mapper, parameters)
825
824
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
826
825
 
827
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/test'
826
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/test'
828
827
 
829
828
  request_url = @base_url || @client.base_url
830
829
 
@@ -852,8 +851,8 @@ module Azure::ARM::MobileEngagement
852
851
  if status_code == 200
853
852
  begin
854
853
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
855
- result_mapper = CampaignStateResult.mapper()
856
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
854
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
855
+ result.body = @client.deserialize(result_mapper, parsed_response)
857
856
  rescue Exception => e
858
857
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
859
858
  end
@@ -938,11 +937,11 @@ module Azure::ARM::MobileEngagement
938
937
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
939
938
 
940
939
  # Serialize Request
941
- request_mapper = CampaignTestNewParameters.mapper()
942
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
940
+ request_mapper = Azure::ARM::MobileEngagement::Models::CampaignTestNewParameters.mapper()
941
+ request_content = @client.serialize(request_mapper, parameters)
943
942
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
944
943
 
945
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/test'
944
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/test'
946
945
 
947
946
  request_url = @base_url || @client.base_url
948
947
 
@@ -970,8 +969,8 @@ module Azure::ARM::MobileEngagement
970
969
  if status_code == 200
971
970
  begin
972
971
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
973
- result_mapper = CampaignState.mapper()
974
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
972
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignState.mapper()
973
+ result.body = @client.deserialize(result_mapper, parsed_response)
975
974
  rescue Exception => e
976
975
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
977
976
  end
@@ -1049,7 +1048,7 @@ module Azure::ARM::MobileEngagement
1049
1048
  # Set Headers
1050
1049
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1051
1050
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1052
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/activate'
1051
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/activate'
1053
1052
 
1054
1053
  request_url = @base_url || @client.base_url
1055
1054
 
@@ -1076,8 +1075,8 @@ module Azure::ARM::MobileEngagement
1076
1075
  if status_code == 200
1077
1076
  begin
1078
1077
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1079
- result_mapper = CampaignStateResult.mapper()
1080
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1078
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
1079
+ result.body = @client.deserialize(result_mapper, parsed_response)
1081
1080
  rescue Exception => e
1082
1081
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1083
1082
  end
@@ -1155,7 +1154,7 @@ module Azure::ARM::MobileEngagement
1155
1154
  # Set Headers
1156
1155
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1157
1156
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1158
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/suspend'
1157
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/suspend'
1159
1158
 
1160
1159
  request_url = @base_url || @client.base_url
1161
1160
 
@@ -1182,8 +1181,8 @@ module Azure::ARM::MobileEngagement
1182
1181
  if status_code == 200
1183
1182
  begin
1184
1183
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1185
- result_mapper = CampaignStateResult.mapper()
1186
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1184
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
1185
+ result.body = @client.deserialize(result_mapper, parsed_response)
1187
1186
  rescue Exception => e
1188
1187
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1189
1188
  end
@@ -1275,11 +1274,11 @@ module Azure::ARM::MobileEngagement
1275
1274
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1276
1275
 
1277
1276
  # Serialize Request
1278
- request_mapper = CampaignPushParameters.mapper()
1279
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
1277
+ request_mapper = Azure::ARM::MobileEngagement::Models::CampaignPushParameters.mapper()
1278
+ request_content = @client.serialize(request_mapper, parameters)
1280
1279
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1281
1280
 
1282
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/push'
1281
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/push'
1283
1282
 
1284
1283
  request_url = @base_url || @client.base_url
1285
1284
 
@@ -1307,8 +1306,8 @@ module Azure::ARM::MobileEngagement
1307
1306
  if status_code == 200
1308
1307
  begin
1309
1308
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1310
- result_mapper = CampaignPushResult.mapper()
1311
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1309
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignPushResult.mapper()
1310
+ result.body = @client.deserialize(result_mapper, parsed_response)
1312
1311
  rescue Exception => e
1313
1312
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1314
1313
  end
@@ -1386,7 +1385,7 @@ module Azure::ARM::MobileEngagement
1386
1385
  # Set Headers
1387
1386
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1388
1387
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1389
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/statistics'
1388
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/statistics'
1390
1389
 
1391
1390
  request_url = @base_url || @client.base_url
1392
1391
 
@@ -1413,8 +1412,8 @@ module Azure::ARM::MobileEngagement
1413
1412
  if status_code == 200
1414
1413
  begin
1415
1414
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1416
- result_mapper = CampaignStatisticsResult.mapper()
1417
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1415
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStatisticsResult.mapper()
1416
+ result.body = @client.deserialize(result_mapper, parsed_response)
1418
1417
  rescue Exception => e
1419
1418
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1420
1419
  end
@@ -1492,7 +1491,7 @@ module Azure::ARM::MobileEngagement
1492
1491
  # Set Headers
1493
1492
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1494
1493
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1495
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/finish'
1494
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/campaigns/{kind}/{id}/finish'
1496
1495
 
1497
1496
  request_url = @base_url || @client.base_url
1498
1497
 
@@ -1519,8 +1518,8 @@ module Azure::ARM::MobileEngagement
1519
1518
  if status_code == 200
1520
1519
  begin
1521
1520
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1522
- result_mapper = CampaignStateResult.mapper()
1523
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1521
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
1522
+ result.body = @client.deserialize(result_mapper, parsed_response)
1524
1523
  rescue Exception => e
1525
1524
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1526
1525
  end
@@ -1606,8 +1605,8 @@ module Azure::ARM::MobileEngagement
1606
1605
  if status_code == 200
1607
1606
  begin
1608
1607
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1609
- result_mapper = CampaignsListResult.mapper()
1610
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1608
+ result_mapper = Azure::ARM::MobileEngagement::Models::CampaignsListResult.mapper()
1609
+ result.body = @client.deserialize(result_mapper, parsed_response)
1611
1610
  rescue Exception => e
1612
1611
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1613
1612
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,7 +8,6 @@ module Azure::ARM::MobileEngagement
8
8
  # Microsoft Azure Mobile Engagement REST APIs.
9
9
  #
10
10
  class Devices
11
- include Azure::ARM::MobileEngagement::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -197,7 +196,7 @@ module Azure::ARM::MobileEngagement
197
196
  # Set Headers
198
197
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
199
198
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
200
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices'
199
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices'
201
200
 
202
201
  request_url = @base_url || @client.base_url
203
202
 
@@ -224,8 +223,8 @@ module Azure::ARM::MobileEngagement
224
223
  if status_code == 200
225
224
  begin
226
225
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
227
- result_mapper = DevicesQueryResult.mapper()
228
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
226
+ result_mapper = Azure::ARM::MobileEngagement::Models::DevicesQueryResult.mapper()
227
+ result.body = @client.deserialize(result_mapper, parsed_response)
229
228
  rescue Exception => e
230
229
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
231
230
  end
@@ -296,7 +295,7 @@ module Azure::ARM::MobileEngagement
296
295
  # Set Headers
297
296
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
298
297
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
299
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/{deviceId}'
298
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/{deviceId}'
300
299
 
301
300
  request_url = @base_url || @client.base_url
302
301
 
@@ -323,8 +322,8 @@ module Azure::ARM::MobileEngagement
323
322
  if status_code == 200
324
323
  begin
325
324
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
326
- result_mapper = Device.mapper()
327
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
325
+ result_mapper = Azure::ARM::MobileEngagement::Models::Device.mapper()
326
+ result.body = @client.deserialize(result_mapper, parsed_response)
328
327
  rescue Exception => e
329
328
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
330
329
  end
@@ -398,7 +397,7 @@ module Azure::ARM::MobileEngagement
398
397
  # Set Headers
399
398
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
400
399
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
401
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/users/{userId}'
400
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/users/{userId}'
402
401
 
403
402
  request_url = @base_url || @client.base_url
404
403
 
@@ -425,8 +424,8 @@ module Azure::ARM::MobileEngagement
425
424
  if status_code == 200
426
425
  begin
427
426
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
428
- result_mapper = Device.mapper()
429
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
427
+ result_mapper = Azure::ARM::MobileEngagement::Models::Device.mapper()
428
+ result.body = @client.deserialize(result_mapper, parsed_response)
430
429
  rescue Exception => e
431
430
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
432
431
  end
@@ -510,11 +509,11 @@ module Azure::ARM::MobileEngagement
510
509
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
511
510
 
512
511
  # Serialize Request
513
- request_mapper = DeviceTagsParameters.mapper()
514
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
512
+ request_mapper = Azure::ARM::MobileEngagement::Models::DeviceTagsParameters.mapper()
513
+ request_content = @client.serialize(request_mapper, parameters)
515
514
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
516
515
 
517
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/tag'
516
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/tag'
518
517
 
519
518
  request_url = @base_url || @client.base_url
520
519
 
@@ -542,8 +541,8 @@ module Azure::ARM::MobileEngagement
542
541
  if status_code == 200
543
542
  begin
544
543
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
545
- result_mapper = DeviceTagsResult.mapper()
546
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
544
+ result_mapper = Azure::ARM::MobileEngagement::Models::DeviceTagsResult.mapper()
545
+ result.body = @client.deserialize(result_mapper, parsed_response)
547
546
  rescue Exception => e
548
547
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
549
548
  end
@@ -627,11 +626,11 @@ module Azure::ARM::MobileEngagement
627
626
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
628
627
 
629
628
  # Serialize Request
630
- request_mapper = DeviceTagsParameters.mapper()
631
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
629
+ request_mapper = Azure::ARM::MobileEngagement::Models::DeviceTagsParameters.mapper()
630
+ request_content = @client.serialize(request_mapper, parameters)
632
631
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
633
632
 
634
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/users/tag'
633
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/users/tag'
635
634
 
636
635
  request_url = @base_url || @client.base_url
637
636
 
@@ -659,8 +658,8 @@ module Azure::ARM::MobileEngagement
659
658
  if status_code == 200
660
659
  begin
661
660
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
662
- result_mapper = DeviceTagsResult.mapper()
663
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
661
+ result_mapper = Azure::ARM::MobileEngagement::Models::DeviceTagsResult.mapper()
662
+ result.body = @client.deserialize(result_mapper, parsed_response)
664
663
  rescue Exception => e
665
664
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
666
665
  end
@@ -746,8 +745,8 @@ module Azure::ARM::MobileEngagement
746
745
  if status_code == 200
747
746
  begin
748
747
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
749
- result_mapper = DevicesQueryResult.mapper()
750
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
748
+ result_mapper = Azure::ARM::MobileEngagement::Models::DevicesQueryResult.mapper()
749
+ result.body = @client.deserialize(result_mapper, parsed_response)
751
750
  rescue Exception => e
752
751
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
753
752
  end