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.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_mobile_engagement.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/app_collections.rb +11 -12
- data/lib/generated/azure_mgmt_mobile_engagement/apps.rb +6 -7
- data/lib/generated/azure_mgmt_mobile_engagement/campaigns.rb +50 -51
- data/lib/generated/azure_mgmt_mobile_engagement/devices.rb +22 -23
- data/lib/generated/azure_mgmt_mobile_engagement/engagement_management_client.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/export_tasks.rb +59 -60
- data/lib/generated/azure_mgmt_mobile_engagement/import_tasks.rb +16 -17
- data/lib/generated/azure_mgmt_mobile_engagement/models/announcement_feedback_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/api_error.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/api_error_error.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_collection.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_collection_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_collection_name_availability.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/application_version_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/audience_operators.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/boolean_tag_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_audience.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_feedbacks.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_kinds.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_push_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_push_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_state.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_state_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_states.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_test_new_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_test_saved_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_type.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_types.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaigns_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/carrier_country_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/carrier_name_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/date_range_export_task_parameter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/date_tag_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/delivery_times.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_info.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_location.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_manufacturer_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_meta.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_model_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_tags_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_tags_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/devices_query_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/engage_active_users_filter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/engage_idle_users_filter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/engage_new_users_filter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/engage_old_users_filter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/engage_subset_filter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_format.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_options.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_state.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_task_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_task_parameter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_task_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_type.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/feedback_by_campaign_parameter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/feedback_by_date_range_parameter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/filter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/firmware_version_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/geo_fencing_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/import_task.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/import_task_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/import_task_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/integer_tag_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/job_states.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/language_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/location_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/native_push_enabled_filter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/network_type_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/notification_options.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/notification_types.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_answer_feedback_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_feedback_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_choice.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_choice_localization.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_localization.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/provisioning_states.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/push_modes.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/push_quota_filter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/screen_size_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/segment_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/string_tag_criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/supported_platforms_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/supported_platforms.rb +4 -5
- data/lib/generated/azure_mgmt_mobile_engagement/version.rb +2 -2
- metadata +4 -4
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
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 ExportTasks
|
11
|
-
include Azure::ARM::MobileEngagement::Models
|
12
11
|
include MsRestAzure
|
13
12
|
|
14
13
|
#
|
@@ -128,7 +127,7 @@ module Azure::ARM::MobileEngagement
|
|
128
127
|
# Set Headers
|
129
128
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
130
129
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
131
|
-
path_template = '
|
130
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks'
|
132
131
|
|
133
132
|
request_url = @base_url || @client.base_url
|
134
133
|
|
@@ -155,8 +154,8 @@ module Azure::ARM::MobileEngagement
|
|
155
154
|
if status_code == 200
|
156
155
|
begin
|
157
156
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
158
|
-
result_mapper = ExportTaskListResult.mapper()
|
159
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
157
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskListResult.mapper()
|
158
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
160
159
|
rescue Exception => e
|
161
160
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
162
161
|
end
|
@@ -227,7 +226,7 @@ module Azure::ARM::MobileEngagement
|
|
227
226
|
# Set Headers
|
228
227
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
229
228
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
230
|
-
path_template = '
|
229
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks/{id}'
|
231
230
|
|
232
231
|
request_url = @base_url || @client.base_url
|
233
232
|
|
@@ -254,8 +253,8 @@ module Azure::ARM::MobileEngagement
|
|
254
253
|
if status_code == 200
|
255
254
|
begin
|
256
255
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
257
|
-
result_mapper = ExportTaskResult.mapper()
|
258
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
256
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskResult.mapper()
|
257
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
259
258
|
rescue Exception => e
|
260
259
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
261
260
|
end
|
@@ -330,11 +329,11 @@ module Azure::ARM::MobileEngagement
|
|
330
329
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
331
330
|
|
332
331
|
# Serialize Request
|
333
|
-
request_mapper = DateRangeExportTaskParameter.mapper()
|
334
|
-
request_content = @client.serialize(request_mapper, parameters
|
332
|
+
request_mapper = Azure::ARM::MobileEngagement::Models::DateRangeExportTaskParameter.mapper()
|
333
|
+
request_content = @client.serialize(request_mapper, parameters)
|
335
334
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
336
335
|
|
337
|
-
path_template = '
|
336
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks/activities'
|
338
337
|
|
339
338
|
request_url = @base_url || @client.base_url
|
340
339
|
|
@@ -362,8 +361,8 @@ module Azure::ARM::MobileEngagement
|
|
362
361
|
if status_code == 202
|
363
362
|
begin
|
364
363
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
365
|
-
result_mapper = ExportTaskResult.mapper()
|
366
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
364
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskResult.mapper()
|
365
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
367
366
|
rescue Exception => e
|
368
367
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
369
368
|
end
|
@@ -438,11 +437,11 @@ module Azure::ARM::MobileEngagement
|
|
438
437
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
439
438
|
|
440
439
|
# Serialize Request
|
441
|
-
request_mapper = DateRangeExportTaskParameter.mapper()
|
442
|
-
request_content = @client.serialize(request_mapper, parameters
|
440
|
+
request_mapper = Azure::ARM::MobileEngagement::Models::DateRangeExportTaskParameter.mapper()
|
441
|
+
request_content = @client.serialize(request_mapper, parameters)
|
443
442
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
444
443
|
|
445
|
-
path_template = '
|
444
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks/crashes'
|
446
445
|
|
447
446
|
request_url = @base_url || @client.base_url
|
448
447
|
|
@@ -470,8 +469,8 @@ module Azure::ARM::MobileEngagement
|
|
470
469
|
if status_code == 202
|
471
470
|
begin
|
472
471
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
473
|
-
result_mapper = ExportTaskResult.mapper()
|
474
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
472
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskResult.mapper()
|
473
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
475
474
|
rescue Exception => e
|
476
475
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
477
476
|
end
|
@@ -546,11 +545,11 @@ module Azure::ARM::MobileEngagement
|
|
546
545
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
547
546
|
|
548
547
|
# Serialize Request
|
549
|
-
request_mapper = DateRangeExportTaskParameter.mapper()
|
550
|
-
request_content = @client.serialize(request_mapper, parameters
|
548
|
+
request_mapper = Azure::ARM::MobileEngagement::Models::DateRangeExportTaskParameter.mapper()
|
549
|
+
request_content = @client.serialize(request_mapper, parameters)
|
551
550
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
552
551
|
|
553
|
-
path_template = '
|
552
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks/errors'
|
554
553
|
|
555
554
|
request_url = @base_url || @client.base_url
|
556
555
|
|
@@ -578,8 +577,8 @@ module Azure::ARM::MobileEngagement
|
|
578
577
|
if status_code == 202
|
579
578
|
begin
|
580
579
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
581
|
-
result_mapper = ExportTaskResult.mapper()
|
582
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
580
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskResult.mapper()
|
581
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
583
582
|
rescue Exception => e
|
584
583
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
585
584
|
end
|
@@ -654,11 +653,11 @@ module Azure::ARM::MobileEngagement
|
|
654
653
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
655
654
|
|
656
655
|
# Serialize Request
|
657
|
-
request_mapper = DateRangeExportTaskParameter.mapper()
|
658
|
-
request_content = @client.serialize(request_mapper, parameters
|
656
|
+
request_mapper = Azure::ARM::MobileEngagement::Models::DateRangeExportTaskParameter.mapper()
|
657
|
+
request_content = @client.serialize(request_mapper, parameters)
|
659
658
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
660
659
|
|
661
|
-
path_template = '
|
660
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks/events'
|
662
661
|
|
663
662
|
request_url = @base_url || @client.base_url
|
664
663
|
|
@@ -686,8 +685,8 @@ module Azure::ARM::MobileEngagement
|
|
686
685
|
if status_code == 202
|
687
686
|
begin
|
688
687
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
689
|
-
result_mapper = ExportTaskResult.mapper()
|
690
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
688
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskResult.mapper()
|
689
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
691
690
|
rescue Exception => e
|
692
691
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
693
692
|
end
|
@@ -762,11 +761,11 @@ module Azure::ARM::MobileEngagement
|
|
762
761
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
763
762
|
|
764
763
|
# Serialize Request
|
765
|
-
request_mapper = DateRangeExportTaskParameter.mapper()
|
766
|
-
request_content = @client.serialize(request_mapper, parameters
|
764
|
+
request_mapper = Azure::ARM::MobileEngagement::Models::DateRangeExportTaskParameter.mapper()
|
765
|
+
request_content = @client.serialize(request_mapper, parameters)
|
767
766
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
768
767
|
|
769
|
-
path_template = '
|
768
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks/jobs'
|
770
769
|
|
771
770
|
request_url = @base_url || @client.base_url
|
772
771
|
|
@@ -794,8 +793,8 @@ module Azure::ARM::MobileEngagement
|
|
794
793
|
if status_code == 202
|
795
794
|
begin
|
796
795
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
797
|
-
result_mapper = ExportTaskResult.mapper()
|
798
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
796
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskResult.mapper()
|
797
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
799
798
|
rescue Exception => e
|
800
799
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
801
800
|
end
|
@@ -870,11 +869,11 @@ module Azure::ARM::MobileEngagement
|
|
870
869
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
871
870
|
|
872
871
|
# Serialize Request
|
873
|
-
request_mapper = DateRangeExportTaskParameter.mapper()
|
874
|
-
request_content = @client.serialize(request_mapper, parameters
|
872
|
+
request_mapper = Azure::ARM::MobileEngagement::Models::DateRangeExportTaskParameter.mapper()
|
873
|
+
request_content = @client.serialize(request_mapper, parameters)
|
875
874
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
876
875
|
|
877
|
-
path_template = '
|
876
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks/sessions'
|
878
877
|
|
879
878
|
request_url = @base_url || @client.base_url
|
880
879
|
|
@@ -902,8 +901,8 @@ module Azure::ARM::MobileEngagement
|
|
902
901
|
if status_code == 202
|
903
902
|
begin
|
904
903
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
905
|
-
result_mapper = ExportTaskResult.mapper()
|
906
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
904
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskResult.mapper()
|
905
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
907
906
|
rescue Exception => e
|
908
907
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
909
908
|
end
|
@@ -978,11 +977,11 @@ module Azure::ARM::MobileEngagement
|
|
978
977
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
979
978
|
|
980
979
|
# Serialize Request
|
981
|
-
request_mapper = ExportTaskParameter.mapper()
|
982
|
-
request_content = @client.serialize(request_mapper, parameters
|
980
|
+
request_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskParameter.mapper()
|
981
|
+
request_content = @client.serialize(request_mapper, parameters)
|
983
982
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
984
983
|
|
985
|
-
path_template = '
|
984
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks/tags'
|
986
985
|
|
987
986
|
request_url = @base_url || @client.base_url
|
988
987
|
|
@@ -1010,8 +1009,8 @@ module Azure::ARM::MobileEngagement
|
|
1010
1009
|
if status_code == 202
|
1011
1010
|
begin
|
1012
1011
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1013
|
-
result_mapper = ExportTaskResult.mapper()
|
1014
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
1012
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskResult.mapper()
|
1013
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1015
1014
|
rescue Exception => e
|
1016
1015
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1017
1016
|
end
|
@@ -1086,11 +1085,11 @@ module Azure::ARM::MobileEngagement
|
|
1086
1085
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1087
1086
|
|
1088
1087
|
# Serialize Request
|
1089
|
-
request_mapper = ExportTaskParameter.mapper()
|
1090
|
-
request_content = @client.serialize(request_mapper, parameters
|
1088
|
+
request_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskParameter.mapper()
|
1089
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1091
1090
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1092
1091
|
|
1093
|
-
path_template = '
|
1092
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks/tokens'
|
1094
1093
|
|
1095
1094
|
request_url = @base_url || @client.base_url
|
1096
1095
|
|
@@ -1118,8 +1117,8 @@ module Azure::ARM::MobileEngagement
|
|
1118
1117
|
if status_code == 202
|
1119
1118
|
begin
|
1120
1119
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1121
|
-
result_mapper = ExportTaskResult.mapper()
|
1122
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
1120
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskResult.mapper()
|
1121
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1123
1122
|
rescue Exception => e
|
1124
1123
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1125
1124
|
end
|
@@ -1194,11 +1193,11 @@ module Azure::ARM::MobileEngagement
|
|
1194
1193
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1195
1194
|
|
1196
1195
|
# Serialize Request
|
1197
|
-
request_mapper = FeedbackByDateRangeParameter.mapper()
|
1198
|
-
request_content = @client.serialize(request_mapper, parameters
|
1196
|
+
request_mapper = Azure::ARM::MobileEngagement::Models::FeedbackByDateRangeParameter.mapper()
|
1197
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1199
1198
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1200
1199
|
|
1201
|
-
path_template = '
|
1200
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks/feedbackByDate'
|
1202
1201
|
|
1203
1202
|
request_url = @base_url || @client.base_url
|
1204
1203
|
|
@@ -1226,8 +1225,8 @@ module Azure::ARM::MobileEngagement
|
|
1226
1225
|
if status_code == 202
|
1227
1226
|
begin
|
1228
1227
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1229
|
-
result_mapper = ExportTaskResult.mapper()
|
1230
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
1228
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskResult.mapper()
|
1229
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1231
1230
|
rescue Exception => e
|
1232
1231
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1233
1232
|
end
|
@@ -1302,11 +1301,11 @@ module Azure::ARM::MobileEngagement
|
|
1302
1301
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1303
1302
|
|
1304
1303
|
# Serialize Request
|
1305
|
-
request_mapper = FeedbackByCampaignParameter.mapper()
|
1306
|
-
request_content = @client.serialize(request_mapper, parameters
|
1304
|
+
request_mapper = Azure::ARM::MobileEngagement::Models::FeedbackByCampaignParameter.mapper()
|
1305
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1307
1306
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1308
1307
|
|
1309
|
-
path_template = '
|
1308
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/exportTasks/feedbackByCampaign'
|
1310
1309
|
|
1311
1310
|
request_url = @base_url || @client.base_url
|
1312
1311
|
|
@@ -1334,8 +1333,8 @@ module Azure::ARM::MobileEngagement
|
|
1334
1333
|
if status_code == 202
|
1335
1334
|
begin
|
1336
1335
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1337
|
-
result_mapper = ExportTaskResult.mapper()
|
1338
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
1336
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskResult.mapper()
|
1337
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1339
1338
|
rescue Exception => e
|
1340
1339
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1341
1340
|
end
|
@@ -1421,8 +1420,8 @@ module Azure::ARM::MobileEngagement
|
|
1421
1420
|
if status_code == 200
|
1422
1421
|
begin
|
1423
1422
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1424
|
-
result_mapper = ExportTaskListResult.mapper()
|
1425
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
1423
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ExportTaskListResult.mapper()
|
1424
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1426
1425
|
rescue Exception => e
|
1427
1426
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1428
1427
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
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 ImportTasks
|
11
|
-
include Azure::ARM::MobileEngagement::Models
|
12
11
|
include MsRestAzure
|
13
12
|
|
14
13
|
#
|
@@ -128,7 +127,7 @@ module Azure::ARM::MobileEngagement
|
|
128
127
|
# Set Headers
|
129
128
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
130
129
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
131
|
-
path_template = '
|
130
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/importTasks'
|
132
131
|
|
133
132
|
request_url = @base_url || @client.base_url
|
134
133
|
|
@@ -155,8 +154,8 @@ module Azure::ARM::MobileEngagement
|
|
155
154
|
if status_code == 200
|
156
155
|
begin
|
157
156
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
158
|
-
result_mapper = ImportTaskListResult.mapper()
|
159
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
157
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ImportTaskListResult.mapper()
|
158
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
160
159
|
rescue Exception => e
|
161
160
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
162
161
|
end
|
@@ -231,11 +230,11 @@ module Azure::ARM::MobileEngagement
|
|
231
230
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
232
231
|
|
233
232
|
# Serialize Request
|
234
|
-
request_mapper = ImportTask.mapper()
|
235
|
-
request_content = @client.serialize(request_mapper, parameters
|
233
|
+
request_mapper = Azure::ARM::MobileEngagement::Models::ImportTask.mapper()
|
234
|
+
request_content = @client.serialize(request_mapper, parameters)
|
236
235
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
237
236
|
|
238
|
-
path_template = '
|
237
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/importTasks'
|
239
238
|
|
240
239
|
request_url = @base_url || @client.base_url
|
241
240
|
|
@@ -263,8 +262,8 @@ module Azure::ARM::MobileEngagement
|
|
263
262
|
if status_code == 201
|
264
263
|
begin
|
265
264
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
266
|
-
result_mapper = ImportTaskResult.mapper()
|
267
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
265
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ImportTaskResult.mapper()
|
266
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
268
267
|
rescue Exception => e
|
269
268
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
270
269
|
end
|
@@ -273,8 +272,8 @@ module Azure::ARM::MobileEngagement
|
|
273
272
|
if status_code == 202
|
274
273
|
begin
|
275
274
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
276
|
-
result_mapper = ImportTaskResult.mapper()
|
277
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
275
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ImportTaskResult.mapper()
|
276
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
278
277
|
rescue Exception => e
|
279
278
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
280
279
|
end
|
@@ -348,7 +347,7 @@ module Azure::ARM::MobileEngagement
|
|
348
347
|
# Set Headers
|
349
348
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
350
349
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
351
|
-
path_template = '
|
350
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileEngagement/appcollections/{appCollection}/apps/{appName}/devices/importTasks/{id}'
|
352
351
|
|
353
352
|
request_url = @base_url || @client.base_url
|
354
353
|
|
@@ -375,8 +374,8 @@ module Azure::ARM::MobileEngagement
|
|
375
374
|
if status_code == 200
|
376
375
|
begin
|
377
376
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
378
|
-
result_mapper = ImportTaskResult.mapper()
|
379
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
377
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ImportTaskResult.mapper()
|
378
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
380
379
|
rescue Exception => e
|
381
380
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
382
381
|
end
|
@@ -462,8 +461,8 @@ module Azure::ARM::MobileEngagement
|
|
462
461
|
if status_code == 200
|
463
462
|
begin
|
464
463
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
465
|
-
result_mapper = ImportTaskListResult.mapper()
|
466
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
464
|
+
result_mapper = Azure::ARM::MobileEngagement::Models::ImportTaskListResult.mapper()
|
465
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
467
466
|
rescue Exception => e
|
468
467
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
469
468
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
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
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::MobileEngagement
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
|
16
17
|
def initialize
|
17
18
|
@type = "announcement-feedback"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
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
|
|
@@ -13,6 +13,7 @@ module Azure::ARM::MobileEngagement
|
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
+
include MsRest::JSONable
|
16
17
|
# @return [ApiErrorError]
|
17
18
|
attr_accessor :error
|
18
19
|
|