azure_mgmt_dev_spaces 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces.rb +46 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/controllers.rb +1107 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/dev_spaces_management_client.rb +134 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller.rb +160 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller_connection_details.rb +86 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller_connection_details_list.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller_list.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller_update_parameters.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/error_details.rb +72 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/error_response.rb +48 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/kubernetes_connection_details.rb +62 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/orchestrator_specific_connection_details.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/provisioning_state.rb +20 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/resource.rb +71 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/resource_provider_operation_definition.rb +59 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/resource_provider_operation_display.rb +80 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/resource_provider_operation_list.rb +101 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/sku.rb +61 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/sku_tier.rb +15 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/tracked_resource.rb +92 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/module_definition.rb +9 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/operations.rb +236 -0
- data/lib/azure_mgmt_dev_spaces.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/devspaces_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/devspaces_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/devspaces_profile_module.rb +131 -0
- data/lib/version.rb +7 -0
- metadata +147 -0
@@ -0,0 +1,134 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class DevSpacesManagementClient < 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] Azure subscription ID.
|
21
|
+
attr_accessor :subscription_id
|
22
|
+
|
23
|
+
# @return [String] Client API version.
|
24
|
+
attr_reader :api_version
|
25
|
+
|
26
|
+
# @return [String] Gets or sets the preferred language for the response.
|
27
|
+
attr_accessor :accept_language
|
28
|
+
|
29
|
+
# @return [Integer] Gets or sets the retry timeout in seconds for Long
|
30
|
+
# Running Operations. Default value is 30.
|
31
|
+
attr_accessor :long_running_operation_retry_timeout
|
32
|
+
|
33
|
+
# @return [Boolean] When set to true a unique x-ms-client-request-id value
|
34
|
+
# is generated and included in each request. Default is true.
|
35
|
+
attr_accessor :generate_client_request_id
|
36
|
+
|
37
|
+
# @return [Controllers] controllers
|
38
|
+
attr_reader :controllers
|
39
|
+
|
40
|
+
# @return [Operations] operations
|
41
|
+
attr_reader :operations
|
42
|
+
|
43
|
+
#
|
44
|
+
# Creates initializes a new instance of the DevSpacesManagementClient class.
|
45
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
46
|
+
# @param base_url [String] the base URI of the service.
|
47
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
48
|
+
#
|
49
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
50
|
+
super(credentials, options)
|
51
|
+
@base_url = base_url || 'https://management.azure.com'
|
52
|
+
|
53
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
54
|
+
@credentials = credentials
|
55
|
+
|
56
|
+
@controllers = Controllers.new(self)
|
57
|
+
@operations = Operations.new(self)
|
58
|
+
@api_version = '2018-06-01-preview'
|
59
|
+
@accept_language = 'en-US'
|
60
|
+
@long_running_operation_retry_timeout = 30
|
61
|
+
@generate_client_request_id = true
|
62
|
+
add_telemetry
|
63
|
+
end
|
64
|
+
|
65
|
+
#
|
66
|
+
# Makes a request and returns the body of the response.
|
67
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
68
|
+
# @param path [String] the path, relative to {base_url}.
|
69
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
70
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
71
|
+
# Example:
|
72
|
+
#
|
73
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
74
|
+
# path = "/path"
|
75
|
+
# options = {
|
76
|
+
# body: request_content,
|
77
|
+
# query_params: {'api-version' => '2016-02-01'}
|
78
|
+
# }
|
79
|
+
# result = @client.make_request(:put, path, options)
|
80
|
+
#
|
81
|
+
def make_request(method, path, options = {})
|
82
|
+
result = make_request_with_http_info(method, path, options)
|
83
|
+
result.body unless result.nil?
|
84
|
+
end
|
85
|
+
|
86
|
+
#
|
87
|
+
# Makes a request and returns the operation response.
|
88
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
89
|
+
# @param path [String] the path, relative to {base_url}.
|
90
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
91
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
92
|
+
#
|
93
|
+
def make_request_with_http_info(method, path, options = {})
|
94
|
+
result = make_request_async(method, path, options).value!
|
95
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
96
|
+
result
|
97
|
+
end
|
98
|
+
|
99
|
+
#
|
100
|
+
# Makes a request asynchronously.
|
101
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
102
|
+
# @param path [String] the path, relative to {base_url}.
|
103
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
104
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
105
|
+
#
|
106
|
+
def make_request_async(method, path, options = {})
|
107
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
108
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
109
|
+
|
110
|
+
request_url = options[:base_url] || @base_url
|
111
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
112
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
113
|
+
end
|
114
|
+
|
115
|
+
request_headers = @request_headers
|
116
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
117
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
118
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
119
|
+
|
120
|
+
super(request_url, method, path, options)
|
121
|
+
end
|
122
|
+
|
123
|
+
|
124
|
+
private
|
125
|
+
#
|
126
|
+
# Adds telemetry information.
|
127
|
+
#
|
128
|
+
def add_telemetry
|
129
|
+
sdk_information = 'azure_mgmt_dev_spaces'
|
130
|
+
sdk_information = "#{sdk_information}/0.16.0"
|
131
|
+
add_user_agent_information(sdk_information)
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
@@ -0,0 +1,160 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class Controller < TrackedResource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [ProvisioningState] Provisioning state of the Azure Dev Spaces
|
17
|
+
# Controller. Possible values include: 'Succeeded', 'Failed', 'Canceled',
|
18
|
+
# 'Updating', 'Creating', 'Deleting'
|
19
|
+
attr_accessor :provisioning_state
|
20
|
+
|
21
|
+
# @return [String] DNS suffix for public endpoints running in the Azure
|
22
|
+
# Dev Spaces Controller.
|
23
|
+
attr_accessor :host_suffix
|
24
|
+
|
25
|
+
# @return [String] DNS name for accessing DataPlane services
|
26
|
+
attr_accessor :data_plane_fqdn
|
27
|
+
|
28
|
+
# @return [String] Resource ID of the target container host
|
29
|
+
attr_accessor :target_container_host_resource_id
|
30
|
+
|
31
|
+
# @return [String] Credentials of the target container host (base64).
|
32
|
+
attr_accessor :target_container_host_credentials_base64
|
33
|
+
|
34
|
+
# @return [Sku]
|
35
|
+
attr_accessor :sku
|
36
|
+
|
37
|
+
|
38
|
+
#
|
39
|
+
# Mapper for Controller class as Ruby Hash.
|
40
|
+
# This will be used for serialization/deserialization.
|
41
|
+
#
|
42
|
+
def self.mapper()
|
43
|
+
{
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'Controller',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'Controller',
|
50
|
+
model_properties: {
|
51
|
+
id: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'id',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
name: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'name',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
type: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
read_only: true,
|
73
|
+
serialized_name: 'type',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
tags: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'tags',
|
82
|
+
type: {
|
83
|
+
name: 'Dictionary',
|
84
|
+
value: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'StringElementType',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
},
|
94
|
+
location: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'location',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
provisioning_state: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
read_only: true,
|
106
|
+
serialized_name: 'properties.provisioningState',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
host_suffix: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: true,
|
114
|
+
serialized_name: 'properties.hostSuffix',
|
115
|
+
type: {
|
116
|
+
name: 'String'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
data_plane_fqdn: {
|
120
|
+
client_side_validation: true,
|
121
|
+
required: false,
|
122
|
+
read_only: true,
|
123
|
+
serialized_name: 'properties.dataPlaneFqdn',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
target_container_host_resource_id: {
|
129
|
+
client_side_validation: true,
|
130
|
+
required: true,
|
131
|
+
serialized_name: 'properties.targetContainerHostResourceId',
|
132
|
+
type: {
|
133
|
+
name: 'String'
|
134
|
+
}
|
135
|
+
},
|
136
|
+
target_container_host_credentials_base64: {
|
137
|
+
client_side_validation: true,
|
138
|
+
required: true,
|
139
|
+
serialized_name: 'properties.targetContainerHostCredentialsBase64',
|
140
|
+
type: {
|
141
|
+
name: 'String'
|
142
|
+
}
|
143
|
+
},
|
144
|
+
sku: {
|
145
|
+
client_side_validation: true,
|
146
|
+
required: true,
|
147
|
+
serialized_name: 'sku',
|
148
|
+
default_value: {},
|
149
|
+
type: {
|
150
|
+
name: 'Composite',
|
151
|
+
class_name: 'Sku'
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller_connection_details.rb
ADDED
@@ -0,0 +1,86 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ControllerConnectionDetails
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Authentication key for communicating with services.
|
17
|
+
attr_accessor :auth_key
|
18
|
+
|
19
|
+
# @return [String] Workspace storage account name.
|
20
|
+
attr_accessor :workspace_storage_account_name
|
21
|
+
|
22
|
+
# @return [String] Workspace storage account SAS token.
|
23
|
+
attr_accessor :workspace_storage_sas_token
|
24
|
+
|
25
|
+
# @return [OrchestratorSpecificConnectionDetails]
|
26
|
+
attr_accessor :orchestrator_specific_connection_details
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for ControllerConnectionDetails 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: 'ControllerConnectionDetails',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'ControllerConnectionDetails',
|
41
|
+
model_properties: {
|
42
|
+
auth_key: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'authKey',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
workspace_storage_account_name: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'workspaceStorageAccountName',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
workspace_storage_sas_token: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'workspaceStorageSasToken',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
orchestrator_specific_connection_details: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'orchestratorSpecificConnectionDetails',
|
73
|
+
type: {
|
74
|
+
name: 'Composite',
|
75
|
+
polymorphic_discriminator: 'instanceType',
|
76
|
+
uber_parent: 'OrchestratorSpecificConnectionDetails',
|
77
|
+
class_name: 'OrchestratorSpecificConnectionDetails'
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ControllerConnectionDetailsList
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Array<ControllerConnectionDetails>] List of Azure Dev Spaces
|
17
|
+
# Controller connection details.
|
18
|
+
attr_accessor :connection_details_list
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for ControllerConnectionDetailsList class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'ControllerConnectionDetailsList',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'ControllerConnectionDetailsList',
|
33
|
+
model_properties: {
|
34
|
+
connection_details_list: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'connectionDetailsList',
|
38
|
+
type: {
|
39
|
+
name: 'Sequence',
|
40
|
+
element: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'ControllerConnectionDetailsElementType',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'ControllerConnectionDetails'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,100 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
class ControllerList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Controller>] List of Azure Dev Spaces Controllers.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The URI that can be used to request the next page for
|
20
|
+
# list of Azure Dev Spaces Controllers.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<Controller>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [ControllerList] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for ControllerList class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'ControllerList',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'ControllerList',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'ControllerElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'Controller'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'nextLink',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|