azure_mgmt_cognitive_services 0.18.1 → 0.19.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_accounts.rb +18 -0
  3. data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +1 -1
  4. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services.rb +40 -12
  5. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/accounts.rb +178 -103
  6. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +235 -7
  7. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/azure_entity_resource.rb +75 -0
  8. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_parameter.rb +57 -0
  9. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb +79 -0
  10. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb +21 -31
  11. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb +90 -0
  12. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb +201 -0
  13. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/encryption.rb +61 -0
  14. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/identity.rb +95 -0
  15. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/identity_type.rb +17 -0
  16. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/ip_rule.rb +49 -0
  17. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_source.rb +16 -0
  18. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_vault_properties.rb +68 -0
  19. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_action.rb +16 -0
  20. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_set.rb +89 -0
  21. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint.rb +47 -0
  22. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection.rb +74 -0
  23. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection_properties.rb +80 -0
  24. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_service_connection_status.rb +18 -0
  25. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource.rb +74 -0
  26. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource_list_result.rb +55 -0
  27. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource_properties.rb +100 -0
  28. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_service_connection_state.rb +73 -0
  29. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/proxy_resource.rb +63 -0
  30. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/public_network_access.rb +16 -0
  31. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/resource.rb +83 -0
  32. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_capability.rb +57 -0
  33. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/tracked_resource.rb +92 -0
  34. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/user_assigned_identity.rb +58 -0
  35. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/user_owned_storage.rb +46 -0
  36. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb +69 -0
  37. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/operations.rb +5 -0
  38. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/private_endpoint_connections.rb +373 -0
  39. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/private_link_resources.rb +133 -0
  40. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/resource_skus.rb +6 -0
  41. data/lib/azure_mgmt_cognitive_services.rb +1 -1
  42. data/lib/profiles/latest/modules/cognitiveservices_profile_module.rb +146 -36
  43. data/lib/version.rb +1 -1
  44. metadata +36 -8
  45. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/check_sku_availability.rb +0 -138
  46. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb +0 -108
  47. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb +0 -70
@@ -17,11 +17,10 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
17
17
  # @return Credentials needed for the client to connect to Azure.
18
18
  attr_reader :credentials
19
19
 
20
- # @return [String] Azure Subscription ID.
20
+ # @return [String] The ID of the target subscription.
21
21
  attr_accessor :subscription_id
22
22
 
23
- # @return [String] Version of the API to be used with the client request.
24
- # Current version is 2017-04-18
23
+ # @return [String] The API version to use for this operation.
25
24
  attr_reader :api_version
26
25
 
27
26
  # @return [String] The preferred language for the response.
@@ -45,8 +44,11 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
45
44
  # @return [Operations] operations
46
45
  attr_reader :operations
47
46
 
48
- # @return [CheckSkuAvailability] check_sku_availability
49
- attr_reader :check_sku_availability
47
+ # @return [PrivateEndpointConnections] private_endpoint_connections
48
+ attr_reader :private_endpoint_connections
49
+
50
+ # @return [PrivateLinkResources] private_link_resources
51
+ attr_reader :private_link_resources
50
52
 
51
53
  #
52
54
  # Creates initializes a new instance of the CognitiveServicesManagementClient class.
@@ -64,7 +66,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
64
66
  @accounts = Accounts.new(self)
65
67
  @resource_skus = ResourceSkus.new(self)
66
68
  @operations = Operations.new(self)
67
- @check_sku_availability = CheckSkuAvailability.new(self)
69
+ @private_endpoint_connections = PrivateEndpointConnections.new(self)
70
+ @private_link_resources = PrivateLinkResources.new(self)
68
71
  @api_version = '2017-04-18'
69
72
  @accept_language = 'en-US'
70
73
  @long_running_operation_retry_timeout = 30
@@ -130,6 +133,231 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
130
133
  super(request_url, method, path, options)
131
134
  end
132
135
 
136
+ #
137
+ # Check available SKUs.
138
+ #
139
+ # @param location [String] Resource location.
140
+ # @param skus [Array<String>] The SKU of the resource.
141
+ # @param kind [String] The Kind of the resource.
142
+ # @param type [String] The Type of the resource.
143
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
144
+ # will be added to the HTTP request.
145
+ #
146
+ # @return [CheckSkuAvailabilityResultList] operation results.
147
+ #
148
+ def check_sku_availability(location, skus, kind, type, custom_headers:nil)
149
+ response = check_sku_availability_async(location, skus, kind, type, custom_headers:custom_headers).value!
150
+ response.body unless response.nil?
151
+ end
152
+
153
+ #
154
+ # Check available SKUs.
155
+ #
156
+ # @param location [String] Resource location.
157
+ # @param skus [Array<String>] The SKU of the resource.
158
+ # @param kind [String] The Kind of the resource.
159
+ # @param type [String] The Type of the resource.
160
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
161
+ # will be added to the HTTP request.
162
+ #
163
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
164
+ #
165
+ def check_sku_availability_with_http_info(location, skus, kind, type, custom_headers:nil)
166
+ check_sku_availability_async(location, skus, kind, type, custom_headers:custom_headers).value!
167
+ end
168
+
169
+ #
170
+ # Check available SKUs.
171
+ #
172
+ # @param location [String] Resource location.
173
+ # @param skus [Array<String>] The SKU of the resource.
174
+ # @param kind [String] The Kind of the resource.
175
+ # @param type [String] The Type of the resource.
176
+ # @param [Hash{String => String}] A hash of custom headers that will be added
177
+ # to the HTTP request.
178
+ #
179
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
180
+ #
181
+ def check_sku_availability_async(location, skus, kind, type, custom_headers:nil)
182
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
183
+ fail ArgumentError, "'subscription_id' should satisfy the constraint - 'MinLength': '1'" if !subscription_id.nil? && subscription_id.length < 1
184
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
185
+ fail ArgumentError, "'api_version' should satisfy the constraint - 'MinLength': '1'" if !api_version.nil? && api_version.length < 1
186
+ fail ArgumentError, 'location is nil' if location.nil?
187
+ fail ArgumentError, 'skus is nil' if skus.nil?
188
+ fail ArgumentError, 'kind is nil' if kind.nil?
189
+ fail ArgumentError, 'type is nil' if type.nil?
190
+
191
+ parameters = CheckSkuAvailabilityParameter.new
192
+ unless skus.nil? && kind.nil? && type.nil?
193
+ parameters.skus = skus
194
+ parameters.kind = kind
195
+ parameters.type = type
196
+ end
197
+
198
+ request_headers = {}
199
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
200
+
201
+ # Set Headers
202
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
203
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
204
+
205
+ # Serialize Request
206
+ request_mapper = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter.mapper()
207
+ request_content = self.serialize(request_mapper, parameters)
208
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
209
+
210
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability'
211
+
212
+ request_url = @base_url || self.base_url
213
+
214
+ options = {
215
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
216
+ path_params: {'subscriptionId' => subscription_id,'location' => location},
217
+ query_params: {'api-version' => api_version},
218
+ body: request_content,
219
+ headers: request_headers.merge(custom_headers || {}),
220
+ base_url: request_url
221
+ }
222
+ promise = self.make_request_async(:post, path_template, options)
223
+
224
+ promise = promise.then do |result|
225
+ http_response = result.response
226
+ status_code = http_response.status
227
+ response_content = http_response.body
228
+ unless status_code == 200
229
+ error_model = JSON.load(response_content)
230
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
231
+ end
232
+
233
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
234
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
235
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
236
+ # Deserialize Response
237
+ if status_code == 200
238
+ begin
239
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
240
+ result_mapper = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList.mapper()
241
+ result.body = self.deserialize(result_mapper, parsed_response)
242
+ rescue Exception => e
243
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
244
+ end
245
+ end
246
+
247
+ result
248
+ end
249
+
250
+ promise.execute
251
+ end
252
+
253
+ #
254
+ # Check whether a domain is available.
255
+ #
256
+ # @param subdomain_name [String] The subdomain name to use.
257
+ # @param type [String] The Type of the resource.
258
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
259
+ # will be added to the HTTP request.
260
+ #
261
+ # @return [CheckDomainAvailabilityResult] operation results.
262
+ #
263
+ def check_domain_availability(subdomain_name, type, custom_headers:nil)
264
+ response = check_domain_availability_async(subdomain_name, type, custom_headers:custom_headers).value!
265
+ response.body unless response.nil?
266
+ end
267
+
268
+ #
269
+ # Check whether a domain is available.
270
+ #
271
+ # @param subdomain_name [String] The subdomain name to use.
272
+ # @param type [String] The Type of the resource.
273
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
274
+ # will be added to the HTTP request.
275
+ #
276
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
277
+ #
278
+ def check_domain_availability_with_http_info(subdomain_name, type, custom_headers:nil)
279
+ check_domain_availability_async(subdomain_name, type, custom_headers:custom_headers).value!
280
+ end
281
+
282
+ #
283
+ # Check whether a domain is available.
284
+ #
285
+ # @param subdomain_name [String] The subdomain name to use.
286
+ # @param type [String] The Type of the resource.
287
+ # @param [Hash{String => String}] A hash of custom headers that will be added
288
+ # to the HTTP request.
289
+ #
290
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
291
+ #
292
+ def check_domain_availability_async(subdomain_name, type, custom_headers:nil)
293
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
294
+ fail ArgumentError, "'subscription_id' should satisfy the constraint - 'MinLength': '1'" if !subscription_id.nil? && subscription_id.length < 1
295
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
296
+ fail ArgumentError, "'api_version' should satisfy the constraint - 'MinLength': '1'" if !api_version.nil? && api_version.length < 1
297
+ fail ArgumentError, 'subdomain_name is nil' if subdomain_name.nil?
298
+ fail ArgumentError, 'type is nil' if type.nil?
299
+
300
+ parameters = CheckDomainAvailabilityParameter.new
301
+ unless subdomain_name.nil? && type.nil?
302
+ parameters.subdomain_name = subdomain_name
303
+ parameters.type = type
304
+ end
305
+
306
+ request_headers = {}
307
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
308
+
309
+ # Set Headers
310
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
311
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
312
+
313
+ # Serialize Request
314
+ request_mapper = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityParameter.mapper()
315
+ request_content = self.serialize(request_mapper, parameters)
316
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
317
+
318
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/checkDomainAvailability'
319
+
320
+ request_url = @base_url || self.base_url
321
+
322
+ options = {
323
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
324
+ path_params: {'subscriptionId' => subscription_id},
325
+ query_params: {'api-version' => api_version},
326
+ body: request_content,
327
+ headers: request_headers.merge(custom_headers || {}),
328
+ base_url: request_url
329
+ }
330
+ promise = self.make_request_async(:post, path_template, options)
331
+
332
+ promise = promise.then do |result|
333
+ http_response = result.response
334
+ status_code = http_response.status
335
+ response_content = http_response.body
336
+ unless status_code == 200
337
+ error_model = JSON.load(response_content)
338
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
339
+ end
340
+
341
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
342
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
343
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
344
+ # Deserialize Response
345
+ if status_code == 200
346
+ begin
347
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
348
+ result_mapper = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult.mapper()
349
+ result.body = self.deserialize(result_mapper, parsed_response)
350
+ rescue Exception => e
351
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
352
+ end
353
+ end
354
+
355
+ result
356
+ end
357
+
358
+ promise.execute
359
+ end
360
+
133
361
 
134
362
  private
135
363
  #
@@ -137,7 +365,7 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
137
365
  #
138
366
  def add_telemetry
139
367
  sdk_information = 'azure_mgmt_cognitive_services'
140
- sdk_information = "#{sdk_information}/0.18.1"
368
+ sdk_information = "#{sdk_information}/0.19.2"
141
369
  add_user_agent_information(sdk_information)
142
370
  end
143
371
  end
@@ -0,0 +1,75 @@
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::CognitiveServices::Mgmt::V2017_04_18
7
+ module Models
8
+ #
9
+ # The resource model definition for a Azure Resource Manager resource with
10
+ # an etag.
11
+ #
12
+ class AzureEntityResource < Resource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Resource Etag.
17
+ attr_accessor :etag
18
+
19
+
20
+ #
21
+ # Mapper for AzureEntityResource class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'AzureEntityResource',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'AzureEntityResource',
32
+ model_properties: {
33
+ id: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'id',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ name: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ type: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'type',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ etag: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'etag',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ end
73
+ end
74
+ end
75
+ 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::CognitiveServices::Mgmt::V2017_04_18
7
+ module Models
8
+ #
9
+ # Check Domain availability parameter.
10
+ #
11
+ class CheckDomainAvailabilityParameter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The subdomain name to use.
16
+ attr_accessor :subdomain_name
17
+
18
+ # @return [String] The Type of the resource.
19
+ attr_accessor :type
20
+
21
+
22
+ #
23
+ # Mapper for CheckDomainAvailabilityParameter 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: 'CheckDomainAvailabilityParameter',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'CheckDomainAvailabilityParameter',
34
+ model_properties: {
35
+ subdomain_name: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'subdomainName',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ type: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'type',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,79 @@
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::CognitiveServices::Mgmt::V2017_04_18
7
+ module Models
8
+ #
9
+ # Check Domain availability result.
10
+ #
11
+ class CheckDomainAvailabilityResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Indicates the given SKU is available or not.
16
+ attr_accessor :is_subdomain_available
17
+
18
+ # @return [String] Reason why the SKU is not available.
19
+ attr_accessor :reason
20
+
21
+ # @return [String] The subdomain name to use.
22
+ attr_accessor :subdomain_name
23
+
24
+ # @return [String] The Type of the resource.
25
+ attr_accessor :type
26
+
27
+
28
+ #
29
+ # Mapper for CheckDomainAvailabilityResult class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'CheckDomainAvailabilityResult',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'CheckDomainAvailabilityResult',
40
+ model_properties: {
41
+ is_subdomain_available: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'isSubdomainAvailable',
45
+ type: {
46
+ name: 'Boolean'
47
+ }
48
+ },
49
+ reason: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'reason',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ subdomain_name: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'subdomainName',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ type: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'type',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end