azure_mgmt_mobile_engagement 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2014-12-01/generated/azure_mgmt_mobile_engagement.rb +123 -0
  3. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/app_collections.rb +5 -5
  4. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/apps.rb +3 -3
  5. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/campaigns.rb +19 -19
  6. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/devices.rb +9 -9
  7. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/engagement_management_client.rb +3 -3
  8. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/export_tasks.rb +24 -24
  9. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/import_tasks.rb +7 -7
  10. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/announcement_feedback_criterion.rb +1 -1
  11. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/api_error.rb +1 -1
  12. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/api_error_error.rb +1 -1
  13. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/app.rb +1 -1
  14. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/app_collection.rb +1 -1
  15. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/app_collection_list_result.rb +1 -1
  16. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/app_collection_name_availability.rb +1 -1
  17. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/app_info_filter.rb +1 -1
  18. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/app_list_result.rb +1 -1
  19. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/application_version_criterion.rb +1 -1
  20. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/audience_operators.rb +1 -1
  21. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/boolean_tag_criterion.rb +1 -1
  22. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign.rb +1 -1
  23. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_audience.rb +1 -1
  24. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_feedbacks.rb +1 -1
  25. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_kinds.rb +1 -1
  26. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_list_result.rb +1 -1
  27. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_localization.rb +1 -1
  28. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_push_parameters.rb +1 -1
  29. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_push_result.rb +1 -1
  30. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_result.rb +1 -1
  31. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_state.rb +1 -1
  32. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_state_result.rb +1 -1
  33. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_states.rb +1 -1
  34. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb +1 -1
  35. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_test_new_parameters.rb +1 -1
  36. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_test_saved_parameters.rb +1 -1
  37. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_type.rb +1 -1
  38. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaign_types.rb +1 -1
  39. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/campaigns_list_result.rb +1 -1
  40. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/carrier_country_criterion.rb +1 -1
  41. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/carrier_name_criterion.rb +1 -1
  42. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/criterion.rb +1 -1
  43. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb +1 -1
  44. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/date_range_export_task_parameter.rb +1 -1
  45. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/date_tag_criterion.rb +1 -1
  46. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/delivery_times.rb +1 -1
  47. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/device.rb +1 -1
  48. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/device_info.rb +1 -1
  49. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/device_location.rb +1 -1
  50. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/device_manufacturer_criterion.rb +1 -1
  51. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/device_meta.rb +1 -1
  52. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/device_model_criterion.rb +1 -1
  53. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/device_query_result.rb +1 -1
  54. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/device_tags_parameters.rb +1 -1
  55. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/device_tags_result.rb +1 -1
  56. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/devices_query_result.rb +1 -1
  57. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/engage_active_users_filter.rb +1 -1
  58. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/engage_idle_users_filter.rb +1 -1
  59. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/engage_new_users_filter.rb +1 -1
  60. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/engage_old_users_filter.rb +1 -1
  61. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/engage_subset_filter.rb +1 -1
  62. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/export_format.rb +1 -1
  63. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/export_options.rb +1 -1
  64. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/export_state.rb +1 -1
  65. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/export_task_list_result.rb +1 -1
  66. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/export_task_parameter.rb +1 -1
  67. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/export_task_result.rb +1 -1
  68. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/export_type.rb +1 -1
  69. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/feedback_by_campaign_parameter.rb +1 -1
  70. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/feedback_by_date_range_parameter.rb +1 -1
  71. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/filter.rb +1 -1
  72. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/firmware_version_criterion.rb +1 -1
  73. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/geo_fencing_criterion.rb +1 -1
  74. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/import_task.rb +1 -1
  75. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/import_task_list_result.rb +1 -1
  76. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/import_task_result.rb +1 -1
  77. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/integer_tag_criterion.rb +1 -1
  78. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/job_states.rb +1 -1
  79. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/language_criterion.rb +1 -1
  80. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/location_criterion.rb +1 -1
  81. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/native_push_enabled_filter.rb +1 -1
  82. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/network_type_criterion.rb +1 -1
  83. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/notification_options.rb +1 -1
  84. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/notification_types.rb +1 -1
  85. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/poll_answer_feedback_criterion.rb +1 -1
  86. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/poll_feedback_criterion.rb +1 -1
  87. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/poll_question.rb +1 -1
  88. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/poll_question_choice.rb +1 -1
  89. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/poll_question_choice_localization.rb +1 -1
  90. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/poll_question_localization.rb +1 -1
  91. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/provisioning_states.rb +1 -1
  92. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/push_modes.rb +1 -1
  93. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/push_quota_filter.rb +1 -1
  94. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/resource.rb +1 -1
  95. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/screen_size_criterion.rb +1 -1
  96. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/segment_criterion.rb +1 -1
  97. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/string_tag_criterion.rb +1 -1
  98. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/models/supported_platforms_list_result.rb +1 -1
  99. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/module_definition.rb +3 -2
  100. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/supported_platforms.rb +2 -2
  101. data/lib/{generated → 2014-12-01/generated}/azure_mgmt_mobile_engagement/version.rb +2 -2
  102. data/lib/azure_mgmt_mobile_engagement.rb +2 -1
  103. data/lib/module_definition.rb +8 -0
  104. data/lib/profiles/common/configurable.rb +73 -0
  105. data/lib/profiles/common/default.rb +68 -0
  106. data/lib/profiles/latest/mobileengagement_latest_profile_client.rb +33 -0
  107. data/lib/profiles/latest/mobileengagement_module_definition.rb +9 -0
  108. data/lib/profiles/latest/modules/mobileengagement_profile_module.rb +410 -0
  109. data/lib/version.rb +7 -0
  110. metadata +109 -102
  111. data/lib/generated/azure_mgmt_mobile_engagement.rb +0 -123
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 204c20133067cfc7cff543d41cfb77be36d9a4c7
4
- data.tar.gz: 4b515202e792c902b64fae19d6a94c389ebc6c42
3
+ metadata.gz: b7bc41490865852ae63aab6d22e830a27bb221de
4
+ data.tar.gz: d66e46f66aab475b4a07ca839560017c313cfa5d
5
5
  SHA512:
6
- metadata.gz: 6d857b147fc855ed8c697825f100e2a38a92a647f47a7ffcfd44e5bacab43cf01f1781ec6a5c0c4246277880d4a482b7bd7691b9fb2f0cccebe30835c7e2b05a
7
- data.tar.gz: 91265c50005cded3cfeb1fbd5c288d8fac091ca52d8b7d6fdab328275d10a7586f800a825e8fd3ce37edd0bb837d5f5791c5da584caa355a87ba25fd9ee81408
6
+ metadata.gz: b3b6eba124b67de669d7c4d25254a04d9379b903ede2f34f39adbadbc0e370434cf4d857e833a92c40cab9f28228e0e9077cc5489bbf565f22e089ed859046e3
7
+ data.tar.gz: f9e16939e684a067c39e7aa8a964a1e0609c20eae11d80c500e1494fade0fabcaee98966d5de013986bf8feb9c1f5ea0050ff80ee78ea0d10a7c6c4444dc9bdc
@@ -0,0 +1,123 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2014-12-01/generated/azure_mgmt_mobile_engagement/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::MobileEngagement::Mgmt::V2014_12_01
23
+ autoload :AppCollections, '2014-12-01/generated/azure_mgmt_mobile_engagement/app_collections.rb'
24
+ autoload :Apps, '2014-12-01/generated/azure_mgmt_mobile_engagement/apps.rb'
25
+ autoload :SupportedPlatforms, '2014-12-01/generated/azure_mgmt_mobile_engagement/supported_platforms.rb'
26
+ autoload :Campaigns, '2014-12-01/generated/azure_mgmt_mobile_engagement/campaigns.rb'
27
+ autoload :Devices, '2014-12-01/generated/azure_mgmt_mobile_engagement/devices.rb'
28
+ autoload :ExportTasks, '2014-12-01/generated/azure_mgmt_mobile_engagement/export_tasks.rb'
29
+ autoload :ImportTasks, '2014-12-01/generated/azure_mgmt_mobile_engagement/import_tasks.rb'
30
+ autoload :EngagementManagementClient, '2014-12-01/generated/azure_mgmt_mobile_engagement/engagement_management_client.rb'
31
+
32
+ module Models
33
+ autoload :CampaignState, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_state.rb'
34
+ autoload :ApiErrorError, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/api_error_error.rb'
35
+ autoload :ApiError, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/api_error.rb'
36
+ autoload :ExportTaskParameter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/export_task_parameter.rb'
37
+ autoload :AppListResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_list_result.rb'
38
+ autoload :DeviceTagsParameters, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_tags_parameters.rb'
39
+ autoload :AppCollectionListResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_collection_list_result.rb'
40
+ autoload :DeviceTagsResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_tags_result.rb'
41
+ autoload :SupportedPlatformsListResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/supported_platforms_list_result.rb'
42
+ autoload :ExportOptions, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/export_options.rb'
43
+ autoload :CampaignTestSavedParameters, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_test_saved_parameters.rb'
44
+ autoload :DateRangeExportTaskParameter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/date_range_export_task_parameter.rb'
45
+ autoload :Filter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/filter.rb'
46
+ autoload :DeviceMeta, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_meta.rb'
47
+ autoload :NotificationOptions, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/notification_options.rb'
48
+ autoload :CampaignsListResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaigns_list_result.rb'
49
+ autoload :PollQuestionLocalization, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/poll_question_localization.rb'
50
+ autoload :CampaignStatisticsResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb'
51
+ autoload :CampaignLocalization, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb'
52
+ autoload :PollQuestionChoiceLocalization, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/poll_question_choice_localization.rb'
53
+ autoload :FeedbackByDateRangeParameter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/feedback_by_date_range_parameter.rb'
54
+ autoload :ExportTaskListResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/export_task_list_result.rb'
55
+ autoload :CampaignPushParameters, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_push_parameters.rb'
56
+ autoload :CampaignPushResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_push_result.rb'
57
+ autoload :ImportTask, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/import_task.rb'
58
+ autoload :AppCollectionNameAvailability, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_collection_name_availability.rb'
59
+ autoload :DeviceQueryResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb'
60
+ autoload :Criterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/criterion.rb'
61
+ autoload :DevicesQueryResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/devices_query_result.rb'
62
+ autoload :FeedbackByCampaignParameter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/feedback_by_campaign_parameter.rb'
63
+ autoload :DeviceInfo, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_info.rb'
64
+ autoload :ImportTaskListResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/import_task_list_result.rb'
65
+ autoload :Resource, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/resource.rb'
66
+ autoload :DeviceLocation, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_location.rb'
67
+ autoload :ExportTaskResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/export_task_result.rb'
68
+ autoload :Device, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/device.rb'
69
+ autoload :CampaignAudience, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_audience.rb'
70
+ autoload :App, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/app.rb'
71
+ autoload :AppCollection, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_collection.rb'
72
+ autoload :PollQuestionChoice, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/poll_question_choice.rb'
73
+ autoload :PollQuestion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/poll_question.rb'
74
+ autoload :Campaign, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign.rb'
75
+ autoload :CampaignTestNewParameters, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_test_new_parameters.rb'
76
+ autoload :CampaignStateResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_state_result.rb'
77
+ autoload :CarrierNameCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/carrier_name_criterion.rb'
78
+ autoload :CarrierCountryCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/carrier_country_criterion.rb'
79
+ autoload :FirmwareVersionCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/firmware_version_criterion.rb'
80
+ autoload :DeviceManufacturerCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_manufacturer_criterion.rb'
81
+ autoload :DeviceModelCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_model_criterion.rb'
82
+ autoload :ApplicationVersionCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/application_version_criterion.rb'
83
+ autoload :NetworkTypeCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/network_type_criterion.rb'
84
+ autoload :LanguageCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/language_criterion.rb'
85
+ autoload :ScreenSizeCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/screen_size_criterion.rb'
86
+ autoload :LocationCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/location_criterion.rb'
87
+ autoload :GeoFencingCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/geo_fencing_criterion.rb'
88
+ autoload :AnnouncementFeedbackCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/announcement_feedback_criterion.rb'
89
+ autoload :PollFeedbackCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/poll_feedback_criterion.rb'
90
+ autoload :PollAnswerFeedbackCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/poll_answer_feedback_criterion.rb'
91
+ autoload :DatapushFeedbackCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb'
92
+ autoload :SegmentCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/segment_criterion.rb'
93
+ autoload :StringTagCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/string_tag_criterion.rb'
94
+ autoload :DateTagCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/date_tag_criterion.rb'
95
+ autoload :IntegerTagCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/integer_tag_criterion.rb'
96
+ autoload :BooleanTagCriterion, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/boolean_tag_criterion.rb'
97
+ autoload :EngageSubsetFilter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/engage_subset_filter.rb'
98
+ autoload :EngageOldUsersFilter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/engage_old_users_filter.rb'
99
+ autoload :EngageNewUsersFilter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/engage_new_users_filter.rb'
100
+ autoload :EngageActiveUsersFilter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/engage_active_users_filter.rb'
101
+ autoload :EngageIdleUsersFilter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/engage_idle_users_filter.rb'
102
+ autoload :NativePushEnabledFilter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/native_push_enabled_filter.rb'
103
+ autoload :PushQuotaFilter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/push_quota_filter.rb'
104
+ autoload :AppInfoFilter, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb'
105
+ autoload :CampaignListResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_list_result.rb'
106
+ autoload :CampaignResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_result.rb'
107
+ autoload :ImportTaskResult, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/import_task_result.rb'
108
+ autoload :ProvisioningStates, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/provisioning_states.rb'
109
+ autoload :PushModes, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/push_modes.rb'
110
+ autoload :CampaignTypes, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_types.rb'
111
+ autoload :DeliveryTimes, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/delivery_times.rb'
112
+ autoload :NotificationTypes, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/notification_types.rb'
113
+ autoload :CampaignStates, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_states.rb'
114
+ autoload :CampaignFeedbacks, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_feedbacks.rb'
115
+ autoload :AudienceOperators, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/audience_operators.rb'
116
+ autoload :CampaignType, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_type.rb'
117
+ autoload :ExportState, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/export_state.rb'
118
+ autoload :ExportType, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/export_type.rb'
119
+ autoload :ExportFormat, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/export_format.rb'
120
+ autoload :JobStates, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/job_states.rb'
121
+ autoload :CampaignKinds, '2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_kinds.rb'
122
+ end
123
+ end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::MobileEngagement
6
+ module Azure::MobileEngagement::Mgmt::V2014_12_01
7
7
  #
8
8
  # Microsoft Azure Mobile Engagement REST APIs.
9
9
  #
@@ -91,7 +91,7 @@ module Azure::ARM::MobileEngagement
91
91
  if status_code == 200
92
92
  begin
93
93
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
94
- result_mapper = Azure::ARM::MobileEngagement::Models::AppCollectionListResult.mapper()
94
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollectionListResult.mapper()
95
95
  result.body = @client.deserialize(result_mapper, parsed_response)
96
96
  rescue Exception => e
97
97
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -155,7 +155,7 @@ module Azure::ARM::MobileEngagement
155
155
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
156
156
 
157
157
  # Serialize Request
158
- request_mapper = Azure::ARM::MobileEngagement::Models::AppCollectionNameAvailability.mapper()
158
+ request_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollectionNameAvailability.mapper()
159
159
  request_content = @client.serialize(request_mapper, parameters)
160
160
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
161
161
 
@@ -187,7 +187,7 @@ module Azure::ARM::MobileEngagement
187
187
  if status_code == 200
188
188
  begin
189
189
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
190
- result_mapper = Azure::ARM::MobileEngagement::Models::AppCollectionNameAvailability.mapper()
190
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollectionNameAvailability.mapper()
191
191
  result.body = @client.deserialize(result_mapper, parsed_response)
192
192
  rescue Exception => e
193
193
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -274,7 +274,7 @@ module Azure::ARM::MobileEngagement
274
274
  if status_code == 200
275
275
  begin
276
276
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
277
- result_mapper = Azure::ARM::MobileEngagement::Models::AppCollectionListResult.mapper()
277
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollectionListResult.mapper()
278
278
  result.body = @client.deserialize(result_mapper, parsed_response)
279
279
  rescue Exception => e
280
280
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::MobileEngagement
6
+ module Azure::MobileEngagement::Mgmt::V2014_12_01
7
7
  #
8
8
  # Microsoft Azure Mobile Engagement REST APIs.
9
9
  #
@@ -99,7 +99,7 @@ module Azure::ARM::MobileEngagement
99
99
  if status_code == 200
100
100
  begin
101
101
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
102
- result_mapper = Azure::ARM::MobileEngagement::Models::AppListResult.mapper()
102
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppListResult.mapper()
103
103
  result.body = @client.deserialize(result_mapper, parsed_response)
104
104
  rescue Exception => e
105
105
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -186,7 +186,7 @@ module Azure::ARM::MobileEngagement
186
186
  if status_code == 200
187
187
  begin
188
188
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
189
- result_mapper = Azure::ARM::MobileEngagement::Models::AppListResult.mapper()
189
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppListResult.mapper()
190
190
  result.body = @client.deserialize(result_mapper, parsed_response)
191
191
  rescue Exception => e
192
192
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::MobileEngagement
6
+ module Azure::MobileEngagement::Mgmt::V2014_12_01
7
7
  #
8
8
  # Microsoft Azure Mobile Engagement REST APIs.
9
9
  #
@@ -173,7 +173,7 @@ module Azure::ARM::MobileEngagement
173
173
  if status_code == 200
174
174
  begin
175
175
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
176
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignsListResult.mapper()
176
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignsListResult.mapper()
177
177
  result.body = @client.deserialize(result_mapper, parsed_response)
178
178
  rescue Exception => e
179
179
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -259,7 +259,7 @@ module Azure::ARM::MobileEngagement
259
259
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
260
260
 
261
261
  # Serialize Request
262
- request_mapper = Azure::ARM::MobileEngagement::Models::Campaign.mapper()
262
+ request_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Campaign.mapper()
263
263
  request_content = @client.serialize(request_mapper, parameters)
264
264
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
265
265
 
@@ -291,7 +291,7 @@ module Azure::ARM::MobileEngagement
291
291
  if status_code == 201
292
292
  begin
293
293
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
294
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
294
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStateResult.mapper()
295
295
  result.body = @client.deserialize(result_mapper, parsed_response)
296
296
  rescue Exception => e
297
297
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -400,7 +400,7 @@ module Azure::ARM::MobileEngagement
400
400
  if status_code == 200
401
401
  begin
402
402
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
403
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignResult.mapper()
403
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignResult.mapper()
404
404
  result.body = @client.deserialize(result_mapper, parsed_response)
405
405
  rescue Exception => e
406
406
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -493,7 +493,7 @@ module Azure::ARM::MobileEngagement
493
493
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
494
494
 
495
495
  # Serialize Request
496
- request_mapper = Azure::ARM::MobileEngagement::Models::Campaign.mapper()
496
+ request_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Campaign.mapper()
497
497
  request_content = @client.serialize(request_mapper, parameters)
498
498
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
499
499
 
@@ -525,7 +525,7 @@ module Azure::ARM::MobileEngagement
525
525
  if status_code == 200
526
526
  begin
527
527
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
528
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
528
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStateResult.mapper()
529
529
  result.body = @client.deserialize(result_mapper, parsed_response)
530
530
  rescue Exception => e
531
531
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -729,7 +729,7 @@ module Azure::ARM::MobileEngagement
729
729
  if status_code == 200
730
730
  begin
731
731
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
732
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignResult.mapper()
732
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignResult.mapper()
733
733
  result.body = @client.deserialize(result_mapper, parsed_response)
734
734
  rescue Exception => e
735
735
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -819,7 +819,7 @@ module Azure::ARM::MobileEngagement
819
819
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
820
820
 
821
821
  # Serialize Request
822
- request_mapper = Azure::ARM::MobileEngagement::Models::CampaignTestSavedParameters.mapper()
822
+ request_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestSavedParameters.mapper()
823
823
  request_content = @client.serialize(request_mapper, parameters)
824
824
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
825
825
 
@@ -851,7 +851,7 @@ module Azure::ARM::MobileEngagement
851
851
  if status_code == 200
852
852
  begin
853
853
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
854
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
854
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStateResult.mapper()
855
855
  result.body = @client.deserialize(result_mapper, parsed_response)
856
856
  rescue Exception => e
857
857
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -937,7 +937,7 @@ module Azure::ARM::MobileEngagement
937
937
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
938
938
 
939
939
  # Serialize Request
940
- request_mapper = Azure::ARM::MobileEngagement::Models::CampaignTestNewParameters.mapper()
940
+ request_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestNewParameters.mapper()
941
941
  request_content = @client.serialize(request_mapper, parameters)
942
942
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
943
943
 
@@ -969,7 +969,7 @@ module Azure::ARM::MobileEngagement
969
969
  if status_code == 200
970
970
  begin
971
971
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
972
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignState.mapper()
972
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignState.mapper()
973
973
  result.body = @client.deserialize(result_mapper, parsed_response)
974
974
  rescue Exception => e
975
975
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1075,7 +1075,7 @@ module Azure::ARM::MobileEngagement
1075
1075
  if status_code == 200
1076
1076
  begin
1077
1077
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1078
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
1078
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStateResult.mapper()
1079
1079
  result.body = @client.deserialize(result_mapper, parsed_response)
1080
1080
  rescue Exception => e
1081
1081
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1181,7 +1181,7 @@ module Azure::ARM::MobileEngagement
1181
1181
  if status_code == 200
1182
1182
  begin
1183
1183
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1184
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
1184
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStateResult.mapper()
1185
1185
  result.body = @client.deserialize(result_mapper, parsed_response)
1186
1186
  rescue Exception => e
1187
1187
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1274,7 +1274,7 @@ module Azure::ARM::MobileEngagement
1274
1274
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
1275
1275
 
1276
1276
  # Serialize Request
1277
- request_mapper = Azure::ARM::MobileEngagement::Models::CampaignPushParameters.mapper()
1277
+ request_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignPushParameters.mapper()
1278
1278
  request_content = @client.serialize(request_mapper, parameters)
1279
1279
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
1280
1280
 
@@ -1306,7 +1306,7 @@ module Azure::ARM::MobileEngagement
1306
1306
  if status_code == 200
1307
1307
  begin
1308
1308
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1309
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignPushResult.mapper()
1309
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignPushResult.mapper()
1310
1310
  result.body = @client.deserialize(result_mapper, parsed_response)
1311
1311
  rescue Exception => e
1312
1312
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1412,7 +1412,7 @@ module Azure::ARM::MobileEngagement
1412
1412
  if status_code == 200
1413
1413
  begin
1414
1414
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1415
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStatisticsResult.mapper()
1415
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStatisticsResult.mapper()
1416
1416
  result.body = @client.deserialize(result_mapper, parsed_response)
1417
1417
  rescue Exception => e
1418
1418
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1518,7 +1518,7 @@ module Azure::ARM::MobileEngagement
1518
1518
  if status_code == 200
1519
1519
  begin
1520
1520
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1521
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignStateResult.mapper()
1521
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStateResult.mapper()
1522
1522
  result.body = @client.deserialize(result_mapper, parsed_response)
1523
1523
  rescue Exception => e
1524
1524
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -1605,7 +1605,7 @@ module Azure::ARM::MobileEngagement
1605
1605
  if status_code == 200
1606
1606
  begin
1607
1607
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1608
- result_mapper = Azure::ARM::MobileEngagement::Models::CampaignsListResult.mapper()
1608
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignsListResult.mapper()
1609
1609
  result.body = @client.deserialize(result_mapper, parsed_response)
1610
1610
  rescue Exception => e
1611
1611
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::MobileEngagement
6
+ module Azure::MobileEngagement::Mgmt::V2014_12_01
7
7
  #
8
8
  # Microsoft Azure Mobile Engagement REST APIs.
9
9
  #
@@ -223,7 +223,7 @@ module Azure::ARM::MobileEngagement
223
223
  if status_code == 200
224
224
  begin
225
225
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
226
- result_mapper = Azure::ARM::MobileEngagement::Models::DevicesQueryResult.mapper()
226
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DevicesQueryResult.mapper()
227
227
  result.body = @client.deserialize(result_mapper, parsed_response)
228
228
  rescue Exception => e
229
229
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -322,7 +322,7 @@ module Azure::ARM::MobileEngagement
322
322
  if status_code == 200
323
323
  begin
324
324
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
325
- result_mapper = Azure::ARM::MobileEngagement::Models::Device.mapper()
325
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Device.mapper()
326
326
  result.body = @client.deserialize(result_mapper, parsed_response)
327
327
  rescue Exception => e
328
328
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -424,7 +424,7 @@ module Azure::ARM::MobileEngagement
424
424
  if status_code == 200
425
425
  begin
426
426
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
427
- result_mapper = Azure::ARM::MobileEngagement::Models::Device.mapper()
427
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Device.mapper()
428
428
  result.body = @client.deserialize(result_mapper, parsed_response)
429
429
  rescue Exception => e
430
430
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -509,7 +509,7 @@ module Azure::ARM::MobileEngagement
509
509
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
510
510
 
511
511
  # Serialize Request
512
- request_mapper = Azure::ARM::MobileEngagement::Models::DeviceTagsParameters.mapper()
512
+ request_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsParameters.mapper()
513
513
  request_content = @client.serialize(request_mapper, parameters)
514
514
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
515
515
 
@@ -541,7 +541,7 @@ module Azure::ARM::MobileEngagement
541
541
  if status_code == 200
542
542
  begin
543
543
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
544
- result_mapper = Azure::ARM::MobileEngagement::Models::DeviceTagsResult.mapper()
544
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsResult.mapper()
545
545
  result.body = @client.deserialize(result_mapper, parsed_response)
546
546
  rescue Exception => e
547
547
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -626,7 +626,7 @@ module Azure::ARM::MobileEngagement
626
626
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
627
627
 
628
628
  # Serialize Request
629
- request_mapper = Azure::ARM::MobileEngagement::Models::DeviceTagsParameters.mapper()
629
+ request_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsParameters.mapper()
630
630
  request_content = @client.serialize(request_mapper, parameters)
631
631
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
632
632
 
@@ -658,7 +658,7 @@ module Azure::ARM::MobileEngagement
658
658
  if status_code == 200
659
659
  begin
660
660
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
661
- result_mapper = Azure::ARM::MobileEngagement::Models::DeviceTagsResult.mapper()
661
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsResult.mapper()
662
662
  result.body = @client.deserialize(result_mapper, parsed_response)
663
663
  rescue Exception => e
664
664
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -745,7 +745,7 @@ module Azure::ARM::MobileEngagement
745
745
  if status_code == 200
746
746
  begin
747
747
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
748
- result_mapper = Azure::ARM::MobileEngagement::Models::DevicesQueryResult.mapper()
748
+ result_mapper = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DevicesQueryResult.mapper()
749
749
  result.body = @client.deserialize(result_mapper, parsed_response)
750
750
  rescue Exception => e
751
751
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::MobileEngagement
6
+ module Azure::MobileEngagement::Mgmt::V2014_12_01
7
7
  #
8
8
  # A service client - single point of access to the REST API.
9
9
  #
@@ -146,8 +146,8 @@ module Azure::ARM::MobileEngagement
146
146
  #
147
147
  def add_telemetry
148
148
  sdk_information = 'azure_mgmt_mobile_engagement'
149
- if defined? Azure::ARM::MobileEngagement::VERSION
150
- sdk_information = "#{sdk_information}/#{Azure::ARM::MobileEngagement::VERSION}"
149
+ if defined? Azure::MobileEngagement::Mgmt::V2014_12_01::VERSION
150
+ sdk_information = "#{sdk_information}/#{Azure::MobileEngagement::Mgmt::V2014_12_01::VERSION}"
151
151
  end
152
152
  add_user_agent_information(sdk_information)
153
153
  end