azure_mgmt_advisor 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor.rb +41 -0
  4. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/advisor_management_client.rb +140 -0
  5. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/models/category.rb +18 -0
  6. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/models/impact.rb +17 -0
  7. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/models/operation_display_info.rb +80 -0
  8. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/models/operation_entity.rb +58 -0
  9. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/models/operation_entity_list_result.rb +98 -0
  10. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/models/resource.rb +111 -0
  11. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/models/resource_recommendation_base.rb +201 -0
  12. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/models/resource_recommendation_base_list_result.rb +99 -0
  13. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/models/risk.rb +17 -0
  14. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/models/short_description.rb +59 -0
  15. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/models/suppression_contract.rb +109 -0
  16. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/module_definition.rb +9 -0
  17. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/operations.rb +215 -0
  18. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/recommendations.rb +503 -0
  19. data/lib/2016-07-12-preview/generated/azure_mgmt_advisor/suppressions.rb +437 -0
  20. data/lib/2017-03-31/generated/azure_mgmt_advisor.rb +41 -0
  21. data/lib/2017-03-31/generated/azure_mgmt_advisor/advisor_management_client.rb +140 -0
  22. data/lib/2017-03-31/generated/azure_mgmt_advisor/models/category.rb +18 -0
  23. data/lib/2017-03-31/generated/azure_mgmt_advisor/models/impact.rb +17 -0
  24. data/lib/2017-03-31/generated/azure_mgmt_advisor/models/operation_display_info.rb +80 -0
  25. data/lib/2017-03-31/generated/azure_mgmt_advisor/models/operation_entity.rb +58 -0
  26. data/lib/2017-03-31/generated/azure_mgmt_advisor/models/operation_entity_list_result.rb +98 -0
  27. data/lib/2017-03-31/generated/azure_mgmt_advisor/models/resource.rb +80 -0
  28. data/lib/2017-03-31/generated/azure_mgmt_advisor/models/resource_recommendation_base.rb +193 -0
  29. data/lib/2017-03-31/generated/azure_mgmt_advisor/models/resource_recommendation_base_list_result.rb +99 -0
  30. data/lib/2017-03-31/generated/azure_mgmt_advisor/models/risk.rb +17 -0
  31. data/lib/2017-03-31/generated/azure_mgmt_advisor/models/short_description.rb +59 -0
  32. data/lib/2017-03-31/generated/azure_mgmt_advisor/models/suppression_contract.rb +85 -0
  33. data/lib/2017-03-31/generated/azure_mgmt_advisor/module_definition.rb +9 -0
  34. data/lib/2017-03-31/generated/azure_mgmt_advisor/operations.rb +215 -0
  35. data/lib/2017-03-31/generated/azure_mgmt_advisor/recommendations.rb +503 -0
  36. data/lib/2017-03-31/generated/azure_mgmt_advisor/suppressions.rb +437 -0
  37. data/lib/2017-04-19/generated/azure_mgmt_advisor.rb +47 -0
  38. data/lib/2017-04-19/generated/azure_mgmt_advisor/advisor_management_client.rb +144 -0
  39. data/lib/2017-04-19/generated/azure_mgmt_advisor/configurations.rb +535 -0
  40. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/armerror_response_body.rb +59 -0
  41. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/category.rb +18 -0
  42. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/config_data.rb +80 -0
  43. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/config_data_properties.rb +79 -0
  44. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/configuration_list_result.rb +98 -0
  45. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/impact.rb +17 -0
  46. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/operation_display_info.rb +80 -0
  47. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/operation_entity.rb +58 -0
  48. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/operation_entity_list_result.rb +98 -0
  49. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/resource.rb +80 -0
  50. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/resource_recommendation_base.rb +212 -0
  51. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/resource_recommendation_base_list_result.rb +99 -0
  52. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/risk.rb +17 -0
  53. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/short_description.rb +59 -0
  54. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/suppression_contract.rb +85 -0
  55. data/lib/2017-04-19/generated/azure_mgmt_advisor/models/suppression_contract_list_result.rb +98 -0
  56. data/lib/2017-04-19/generated/azure_mgmt_advisor/module_definition.rb +9 -0
  57. data/lib/2017-04-19/generated/azure_mgmt_advisor/operations.rb +215 -0
  58. data/lib/2017-04-19/generated/azure_mgmt_advisor/recommendations.rb +503 -0
  59. data/lib/2017-04-19/generated/azure_mgmt_advisor/suppressions.rb +553 -0
  60. data/lib/azure_mgmt_advisor.rb +8 -0
  61. data/lib/module_definition.rb +7 -0
  62. data/lib/profiles/latest/advisor_latest_profile_client.rb +40 -0
  63. data/lib/profiles/latest/advisor_module_definition.rb +8 -0
  64. data/lib/profiles/latest/modules/advisor_profile_module.rb +131 -0
  65. data/lib/version.rb +7 -0
  66. metadata +182 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5496ee4e00d604b4b90c5f40c8e953e1d6c57191
4
+ data.tar.gz: bd345c1f3e458ac888fa81bdd57ce6d102f5622c
5
+ SHA512:
6
+ metadata.gz: 70b920d8da450bcd5011cd806132495022105c6592da005f39037030c11987b6c4aba10ee25c5d44e6210b14ccd45588d5bd2c0c7a9114e33947924954532a71
7
+ data.tar.gz: 36406a65c9ab9abdd0b2d84375b941607e2b6cbf5f99ced90b29632bebf4080dd165e6578eb7cd5c0920802533313025c84546a44f39862561cc41c460f10b42
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Microsoft Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,41 @@
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 '2016-07-12-preview/generated/azure_mgmt_advisor/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::Advisor::Mgmt::V2016_07_12_preview
23
+ autoload :Recommendations, '2016-07-12-preview/generated/azure_mgmt_advisor/recommendations.rb'
24
+ autoload :Operations, '2016-07-12-preview/generated/azure_mgmt_advisor/operations.rb'
25
+ autoload :Suppressions, '2016-07-12-preview/generated/azure_mgmt_advisor/suppressions.rb'
26
+ autoload :AdvisorManagementClient, '2016-07-12-preview/generated/azure_mgmt_advisor/advisor_management_client.rb'
27
+
28
+ module Models
29
+ autoload :OperationDisplayInfo, '2016-07-12-preview/generated/azure_mgmt_advisor/models/operation_display_info.rb'
30
+ autoload :ShortDescription, '2016-07-12-preview/generated/azure_mgmt_advisor/models/short_description.rb'
31
+ autoload :OperationEntity, '2016-07-12-preview/generated/azure_mgmt_advisor/models/operation_entity.rb'
32
+ autoload :ResourceRecommendationBaseListResult, '2016-07-12-preview/generated/azure_mgmt_advisor/models/resource_recommendation_base_list_result.rb'
33
+ autoload :OperationEntityListResult, '2016-07-12-preview/generated/azure_mgmt_advisor/models/operation_entity_list_result.rb'
34
+ autoload :ResourceRecommendationBase, '2016-07-12-preview/generated/azure_mgmt_advisor/models/resource_recommendation_base.rb'
35
+ autoload :Resource, '2016-07-12-preview/generated/azure_mgmt_advisor/models/resource.rb'
36
+ autoload :SuppressionContract, '2016-07-12-preview/generated/azure_mgmt_advisor/models/suppression_contract.rb'
37
+ autoload :Category, '2016-07-12-preview/generated/azure_mgmt_advisor/models/category.rb'
38
+ autoload :Impact, '2016-07-12-preview/generated/azure_mgmt_advisor/models/impact.rb'
39
+ autoload :Risk, '2016-07-12-preview/generated/azure_mgmt_advisor/models/risk.rb'
40
+ end
41
+ end
@@ -0,0 +1,140 @@
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
+ module Azure::Advisor::Mgmt::V2016_07_12_preview
7
+ #
8
+ # A service client - single point of access to the REST API.
9
+ #
10
+ class AdvisorManagementClient < MsRestAzure::AzureServiceClient
11
+ include MsRestAzure
12
+ include MsRestAzure::Serialization
13
+
14
+ # @return [String] the base URI of the service.
15
+ attr_accessor :base_url
16
+
17
+ # @return Credentials needed for the client to connect to Azure.
18
+ attr_reader :credentials
19
+
20
+ # @return [String] The Azure subscription ID.
21
+ attr_accessor :subscription_id
22
+
23
+ # @return [String] The version of the API to be used with the client
24
+ # request.
25
+ attr_reader :api_version
26
+
27
+ # @return [String] The preferred language for the response.
28
+ attr_accessor :accept_language
29
+
30
+ # @return [Integer] The retry timeout in seconds for Long Running
31
+ # Operations. Default value is 30.
32
+ attr_accessor :long_running_operation_retry_timeout
33
+
34
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
35
+ # generated. When set to true a unique x-ms-client-request-id value is
36
+ # generated and included in each request. Default is true.
37
+ attr_accessor :generate_client_request_id
38
+
39
+ # @return [Recommendations] recommendations
40
+ attr_reader :recommendations
41
+
42
+ # @return [Operations] operations
43
+ attr_reader :operations
44
+
45
+ # @return [Suppressions] suppressions
46
+ attr_reader :suppressions
47
+
48
+ #
49
+ # Creates initializes a new instance of the AdvisorManagementClient class.
50
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
51
+ # @param base_url [String] the base URI of the service.
52
+ # @param options [Array] filters to be applied to the HTTP requests.
53
+ #
54
+ def initialize(credentials = nil, base_url = nil, options = nil)
55
+ super(credentials, options)
56
+ @base_url = base_url || 'https://management.azure.com'
57
+
58
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
59
+ @credentials = credentials
60
+
61
+ @recommendations = Recommendations.new(self)
62
+ @operations = Operations.new(self)
63
+ @suppressions = Suppressions.new(self)
64
+ @api_version = '2016-07-12-preview'
65
+ @accept_language = 'en-US'
66
+ @long_running_operation_retry_timeout = 30
67
+ @generate_client_request_id = true
68
+ add_telemetry
69
+ end
70
+
71
+ #
72
+ # Makes a request and returns the body of the response.
73
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
74
+ # @param path [String] the path, relative to {base_url}.
75
+ # @param options [Hash{String=>String}] specifying any request options like :body.
76
+ # @return [Hash{String=>String}] containing the body of the response.
77
+ # Example:
78
+ #
79
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
80
+ # path = "/path"
81
+ # options = {
82
+ # body: request_content,
83
+ # query_params: {'api-version' => '2016-02-01'}
84
+ # }
85
+ # result = @client.make_request(:put, path, options)
86
+ #
87
+ def make_request(method, path, options = {})
88
+ result = make_request_with_http_info(method, path, options)
89
+ result.body unless result.nil?
90
+ end
91
+
92
+ #
93
+ # Makes a request and returns the operation response.
94
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
95
+ # @param path [String] the path, relative to {base_url}.
96
+ # @param options [Hash{String=>String}] specifying any request options like :body.
97
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
98
+ #
99
+ def make_request_with_http_info(method, path, options = {})
100
+ result = make_request_async(method, path, options).value!
101
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
102
+ result
103
+ end
104
+
105
+ #
106
+ # Makes a request asynchronously.
107
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
108
+ # @param path [String] the path, relative to {base_url}.
109
+ # @param options [Hash{String=>String}] specifying any request options like :body.
110
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
111
+ #
112
+ def make_request_async(method, path, options = {})
113
+ fail ArgumentError, 'method is nil' if method.nil?
114
+ fail ArgumentError, 'path is nil' if path.nil?
115
+
116
+ request_url = options[:base_url] || @base_url
117
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
118
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
119
+ end
120
+
121
+ request_headers = @request_headers
122
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
123
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
124
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
125
+
126
+ super(request_url, method, path, options)
127
+ end
128
+
129
+
130
+ private
131
+ #
132
+ # Adds telemetry information.
133
+ #
134
+ def add_telemetry
135
+ sdk_information = 'azure_mgmt_advisor'
136
+ sdk_information = "#{sdk_information}/0.17.0"
137
+ add_user_agent_information(sdk_information)
138
+ end
139
+ end
140
+ end
@@ -0,0 +1,18 @@
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
+ module Azure::Advisor::Mgmt::V2016_07_12_preview
7
+ module Models
8
+ #
9
+ # Defines values for Category
10
+ #
11
+ module Category
12
+ HighAvailability = "HighAvailability"
13
+ Security = "Security"
14
+ Performance = "Performance"
15
+ Cost = "Cost"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,17 @@
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
+ module Azure::Advisor::Mgmt::V2016_07_12_preview
7
+ module Models
8
+ #
9
+ # Defines values for Impact
10
+ #
11
+ module Impact
12
+ High = "High"
13
+ Medium = "Medium"
14
+ Low = "Low"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,80 @@
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
+ module Azure::Advisor::Mgmt::V2016_07_12_preview
7
+ module Models
8
+ #
9
+ # The operation supported by Advisor.
10
+ #
11
+ class OperationDisplayInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The description of the operation.
16
+ attr_accessor :description
17
+
18
+ # @return [String] The action that users can perform, based on their
19
+ # permission level.
20
+ attr_accessor :operation
21
+
22
+ # @return [String] Service provider: Microsoft Advisor.
23
+ attr_accessor :provider
24
+
25
+ # @return [String] Resource on which the operation is performed.
26
+ attr_accessor :resource
27
+
28
+
29
+ #
30
+ # Mapper for OperationDisplayInfo class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'OperationDisplayInfo',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'OperationDisplayInfo',
41
+ model_properties: {
42
+ description: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'description',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ operation: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'operation',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ provider: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'provider',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ resource: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'resource',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,58 @@
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
+ module Azure::Advisor::Mgmt::V2016_07_12_preview
7
+ module Models
8
+ #
9
+ # The operation supported by Advisor.
10
+ #
11
+ class OperationEntity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Operation name: {provider}/{resource}/{operation}.
16
+ attr_accessor :name
17
+
18
+ # @return [OperationDisplayInfo] The operation supported by Advisor.
19
+ attr_accessor :display
20
+
21
+
22
+ #
23
+ # Mapper for OperationEntity class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'OperationEntity',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'OperationEntity',
34
+ model_properties: {
35
+ name: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'name',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ display: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'display',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'OperationDisplayInfo'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,98 @@
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
+ module Azure::Advisor::Mgmt::V2016_07_12_preview
7
+ module Models
8
+ #
9
+ # The list of Advisor operations.
10
+ #
11
+ class OperationEntityListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The link used to get the next page of operations.
17
+ attr_accessor :next_link
18
+
19
+ # @return [Array<OperationEntity>] The list of operations.
20
+ attr_accessor :value
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<OperationEntity>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [OperationEntityListResult] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for OperationEntityListResult class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'OperationEntityListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'OperationEntityListResult',
66
+ model_properties: {
67
+ next_link: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'nextLink',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ value: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'value',
79
+ type: {
80
+ name: 'Sequence',
81
+ element: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'OperationEntityElementType',
85
+ type: {
86
+ name: 'Composite',
87
+ class_name: 'OperationEntity'
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end