autosde_openapi_client 1.0.51 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/SystemType.md +1 -1
- data/docs/SystemTypeCreate.md +1 -1
- data/lib/autosde_openapi_client/models/system_type.rb +6 -6
- data/lib/autosde_openapi_client/models/system_type_create.rb +6 -6
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/spec/models/system_type_create_spec.rb +1 -1
- data/spec/models/system_type_spec.rb +1 -1
- metadata +71 -71
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4be93112980778330ea0d652197dd208d9ae58af6127c6e6d8ac47aaf087b505
|
4
|
+
data.tar.gz: 45a1ebe818cc9b46c95fa65b89f8b9412e04fbea6a7e98d3a2edeb2f3be46a8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14f4ff41b528e91d139cdc47f686934d5a6a86ff3a8a60d69d1b4245fd932099767c70c4fadc1634caa0c9f2c75d238fbf463e3059609f0d06aebab5f47fc034
|
7
|
+
data.tar.gz: 25375ea52467ea612f8ddce803911e8309e4b88c354238391ca6f292b6cb617aa174ed057ba9c487625a8437d3c323d7e9f45068b249936e350c2dda6d137c7e
|
data/docs/SystemType.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **component_state** | **String** | component_state | [optional] |
|
8
|
-
| **name** | **String** | name | [optional][default to '
|
8
|
+
| **name** | **String** | name | [optional][default to 'FlashSystems/SVC'] |
|
9
9
|
| **short_version** | **String** | short_version | [optional] |
|
10
10
|
| **uuid** | **String** | uuid | [optional] |
|
11
11
|
| **version** | **String** | SystemType version | [optional] |
|
data/docs/SystemTypeCreate.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **component_state** | **String** | component_state | [optional] |
|
8
|
-
| **name** | **String** | name | [optional][default to '
|
8
|
+
| **name** | **String** | name | [optional][default to 'FlashSystems/SVC'] |
|
9
9
|
| **short_version** | **String** | short_version | [optional] |
|
10
10
|
| **super_type** | **String** | super_type | [optional][default to 'null'] |
|
11
11
|
| **uuid** | **String** | uuid | [optional] |
|
@@ -108,7 +108,7 @@ module AutosdeOpenapiClient
|
|
108
108
|
if attributes.key?(:'name')
|
109
109
|
self.name = attributes[:'name']
|
110
110
|
else
|
111
|
-
self.name = '
|
111
|
+
self.name = 'FlashSystems/SVC'
|
112
112
|
end
|
113
113
|
|
114
114
|
if attributes.key?(:'short_version')
|
@@ -132,8 +132,8 @@ module AutosdeOpenapiClient
|
|
132
132
|
invalid_properties.push('invalid value for "component_state", the character length must be smaller than or equal to 32.')
|
133
133
|
end
|
134
134
|
|
135
|
-
if !@name.nil? && @name.to_s.length >
|
136
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to
|
135
|
+
if !@name.nil? && @name.to_s.length > 255
|
136
|
+
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 255.')
|
137
137
|
end
|
138
138
|
|
139
139
|
if !@short_version.nil? && @short_version.to_s.length > 255
|
@@ -149,9 +149,9 @@ module AutosdeOpenapiClient
|
|
149
149
|
component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
150
150
|
return false unless component_state_validator.valid?(@component_state)
|
151
151
|
return false if !@component_state.nil? && @component_state.to_s.length > 32
|
152
|
-
name_validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "
|
152
|
+
name_validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
|
153
153
|
return false unless name_validator.valid?(@name)
|
154
|
-
return false if !@name.nil? && @name.to_s.length >
|
154
|
+
return false if !@name.nil? && @name.to_s.length > 255
|
155
155
|
return false if !@short_version.nil? && @short_version.to_s.length > 255
|
156
156
|
true
|
157
157
|
end
|
@@ -169,7 +169,7 @@ module AutosdeOpenapiClient
|
|
169
169
|
# Custom attribute writer method checking allowed values (enum).
|
170
170
|
# @param [Object] name Object to be assigned
|
171
171
|
def name=(name)
|
172
|
-
validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "
|
172
|
+
validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
|
173
173
|
unless validator.valid?(name)
|
174
174
|
fail ArgumentError, "invalid value for \"name\", must be one of #{validator.allowable_values}."
|
175
175
|
end
|
@@ -113,7 +113,7 @@ module AutosdeOpenapiClient
|
|
113
113
|
if attributes.key?(:'name')
|
114
114
|
self.name = attributes[:'name']
|
115
115
|
else
|
116
|
-
self.name = '
|
116
|
+
self.name = 'FlashSystems/SVC'
|
117
117
|
end
|
118
118
|
|
119
119
|
if attributes.key?(:'short_version')
|
@@ -143,8 +143,8 @@ module AutosdeOpenapiClient
|
|
143
143
|
invalid_properties.push('invalid value for "component_state", the character length must be smaller than or equal to 32.')
|
144
144
|
end
|
145
145
|
|
146
|
-
if !@name.nil? && @name.to_s.length >
|
147
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to
|
146
|
+
if !@name.nil? && @name.to_s.length > 255
|
147
|
+
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 255.')
|
148
148
|
end
|
149
149
|
|
150
150
|
if !@short_version.nil? && @short_version.to_s.length > 255
|
@@ -160,9 +160,9 @@ module AutosdeOpenapiClient
|
|
160
160
|
component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
161
161
|
return false unless component_state_validator.valid?(@component_state)
|
162
162
|
return false if !@component_state.nil? && @component_state.to_s.length > 32
|
163
|
-
name_validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "
|
163
|
+
name_validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
|
164
164
|
return false unless name_validator.valid?(@name)
|
165
|
-
return false if !@name.nil? && @name.to_s.length >
|
165
|
+
return false if !@name.nil? && @name.to_s.length > 255
|
166
166
|
return false if !@short_version.nil? && @short_version.to_s.length > 255
|
167
167
|
true
|
168
168
|
end
|
@@ -180,7 +180,7 @@ module AutosdeOpenapiClient
|
|
180
180
|
# Custom attribute writer method checking allowed values (enum).
|
181
181
|
# @param [Object] name Object to be assigned
|
182
182
|
def name=(name)
|
183
|
-
validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "
|
183
|
+
validator = EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
|
184
184
|
unless validator.valid?(name)
|
185
185
|
fail ArgumentError, "invalid value for \"name\", must be one of #{validator.allowable_values}."
|
186
186
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Site Manager API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: autosde@il.ibm.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module AutosdeOpenapiClient
|
14
|
-
VERSION = '1.0
|
14
|
+
VERSION = '1.1.0'
|
15
15
|
end
|
@@ -38,7 +38,7 @@ describe AutosdeOpenapiClient::SystemTypeCreate do
|
|
38
38
|
describe 'test attribute "name"' do
|
39
39
|
it 'should work' do
|
40
40
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "
|
41
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
|
42
42
|
# validator.allowable_values.each do |value|
|
43
43
|
# expect { instance.name = value }.not_to raise_error
|
44
44
|
# end
|
@@ -38,7 +38,7 @@ describe AutosdeOpenapiClient::SystemType do
|
|
38
38
|
describe 'test attribute "name"' do
|
39
39
|
it 'should work' do
|
40
40
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "
|
41
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["a_line", "xiv", "ds8000", "vmax", "netapp", "ds8x00", "FlashSystems/SVC"])
|
42
42
|
# validator.allowable_values.each do |value|
|
43
43
|
# expect { instance.name = value }.not_to raise_error
|
44
44
|
# end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autosde_openapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -34,22 +34,22 @@ dependencies:
|
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 3.6.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '3.6'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 3.6.0
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 3.6.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '3.6'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 3.6.0
|
53
53
|
description: Site Manager API
|
54
54
|
email:
|
55
55
|
- autosde@il.ibm.com
|
@@ -335,93 +335,93 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
335
335
|
- !ruby/object:Gem::Version
|
336
336
|
version: '0'
|
337
337
|
requirements: []
|
338
|
-
rubygems_version: 3.
|
338
|
+
rubygems_version: 3.1.2
|
339
339
|
signing_key:
|
340
340
|
specification_version: 4
|
341
341
|
summary: Site Manager API Ruby Gem
|
342
342
|
test_files:
|
343
|
-
- spec/api/address_api_spec.rb
|
344
|
-
- spec/api/storage_host_volume_mapping_api_spec.rb
|
345
|
-
- spec/api/native_capability_api_spec.rb
|
346
343
|
- spec/api/abstract_capability_api_spec.rb
|
347
|
-
- spec/api/storage_host_api_spec.rb
|
348
|
-
- spec/api/host_cluster_api_spec.rb
|
349
|
-
- spec/api/volume_safe_delete_api_spec.rb
|
350
|
-
- spec/api/host_cluster_membership_api_spec.rb
|
351
|
-
- spec/api/authentication_api_spec.rb
|
352
344
|
- spec/api/account_api_spec.rb
|
353
|
-
- spec/api/
|
345
|
+
- spec/api/address_api_spec.rb
|
346
|
+
- spec/api/authentication_api_spec.rb
|
347
|
+
- spec/api/auto_sde_project_api_spec.rb
|
354
348
|
- spec/api/auto_sde_role_api_spec.rb
|
355
|
-
- spec/api/storage_system_api_spec.rb
|
356
|
-
- spec/api/snapshot_api_spec.rb
|
357
|
-
- spec/api/provisioning_strategy_api_spec.rb
|
358
|
-
- spec/api/service_api_spec.rb
|
359
|
-
- spec/api/job_api_spec.rb
|
360
|
-
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
361
|
-
- spec/api/host_api_spec.rb
|
362
349
|
- spec/api/capability_translation_api_spec.rb
|
363
|
-
- spec/api/
|
364
|
-
- spec/api/
|
350
|
+
- spec/api/host_api_spec.rb
|
351
|
+
- spec/api/host_cluster_api_spec.rb
|
352
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
353
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
365
354
|
- spec/api/host_volume_connection_api_spec.rb
|
355
|
+
- spec/api/job_api_spec.rb
|
356
|
+
- spec/api/native_capability_api_spec.rb
|
366
357
|
- spec/api/profile_api_spec.rb
|
367
|
-
- spec/api/
|
358
|
+
- spec/api/provisioning_strategy_api_spec.rb
|
359
|
+
- spec/api/service_api_spec.rb
|
368
360
|
- spec/api/service_resource_attachment_api_spec.rb
|
361
|
+
- spec/api/snapshot_api_spec.rb
|
362
|
+
- spec/api/storage_host_api_spec.rb
|
363
|
+
- spec/api/storage_host_volume_mapping_api_spec.rb
|
364
|
+
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
365
|
+
- spec/api/storage_resource_api_spec.rb
|
366
|
+
- spec/api/storage_system_api_spec.rb
|
367
|
+
- spec/api/system_type_api_spec.rb
|
369
368
|
- spec/api/volume_api_spec.rb
|
369
|
+
- spec/api/volume_safe_delete_api_spec.rb
|
370
370
|
- spec/api_client_spec.rb
|
371
371
|
- spec/configuration_spec.rb
|
372
|
-
- spec/models/
|
373
|
-
- spec/models/
|
374
|
-
- spec/models/
|
375
|
-
- spec/models/
|
376
|
-
- spec/models/host_create_spec.rb
|
372
|
+
- spec/models/abstract_capability_spec.rb
|
373
|
+
- spec/models/account_post_request_spec.rb
|
374
|
+
- spec/models/account_post_response_spec.rb
|
375
|
+
- spec/models/account_spec.rb
|
377
376
|
- spec/models/address_create_spec.rb
|
378
|
-
- spec/models/
|
379
|
-
- spec/models/
|
377
|
+
- spec/models/address_spec.rb
|
378
|
+
- spec/models/authentication_spec.rb
|
379
|
+
- spec/models/auth_response_spec.rb
|
380
|
+
- spec/models/auto_sde_project_spec.rb
|
381
|
+
- spec/models/auto_sde_role_spec.rb
|
382
|
+
- spec/models/capability_translation_create_spec.rb
|
383
|
+
- spec/models/capability_translation_spec.rb
|
384
|
+
- spec/models/host_cluster_create_spec.rb
|
385
|
+
- spec/models/host_cluster_membership_spec.rb
|
386
|
+
- spec/models/host_cluster_spec.rb
|
380
387
|
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
388
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
389
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
390
|
+
- spec/models/host_create_spec.rb
|
391
|
+
- spec/models/host_spec.rb
|
392
|
+
- spec/models/host_volume_connection_create_spec.rb
|
393
|
+
- spec/models/host_volume_connection_spec.rb
|
394
|
+
- spec/models/job_create_spec.rb
|
395
|
+
- spec/models/job_spec.rb
|
381
396
|
- spec/models/native_capability_spec.rb
|
382
|
-
- spec/models/
|
383
|
-
- spec/models/system_type_create_spec.rb
|
384
|
-
- spec/models/storage_resource_spec.rb
|
385
|
-
- spec/models/storage_host_update_spec.rb
|
397
|
+
- spec/models/profile_spec.rb
|
386
398
|
- spec/models/provisioning_strategy_spec.rb
|
387
|
-
- spec/models/
|
388
|
-
- spec/models/volume_spec.rb
|
389
|
-
- spec/models/account_spec.rb
|
390
|
-
- spec/models/host_cluster_volume_mapping_spec.rb
|
391
|
-
- spec/models/storage_host_volume_mapping_create_spec.rb
|
399
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
392
400
|
- spec/models/service_create_spec.rb
|
393
|
-
- spec/models/
|
394
|
-
- spec/models/
|
395
|
-
- spec/models/volume_safe_delete_spec.rb
|
396
|
-
- spec/models/storage_system_update_spec.rb
|
397
|
-
- spec/models/auth_response_spec.rb
|
398
|
-
- spec/models/system_type_spec.rb
|
399
|
-
- spec/models/storage_system_spec.rb
|
401
|
+
- spec/models/service_resource_attachment_spec.rb
|
402
|
+
- spec/models/service_spec.rb
|
400
403
|
- spec/models/snapshot_create_spec.rb
|
404
|
+
- spec/models/snapshot_spec.rb
|
405
|
+
- spec/models/storage_host_create_spec.rb
|
401
406
|
- spec/models/storage_host_response_spec.rb
|
402
|
-
- spec/models/job_create_spec.rb
|
403
|
-
- spec/models/host_cluster_create_spec.rb
|
404
|
-
- spec/models/service_abstract_capability_value_spec.rb
|
405
|
-
- spec/models/storage_resource_create_spec.rb
|
406
|
-
- spec/models/job_spec.rb
|
407
407
|
- spec/models/storage_host_spec.rb
|
408
|
-
- spec/models/
|
409
|
-
- spec/models/
|
410
|
-
- spec/models/host_cluster_membership_spec.rb
|
411
|
-
- spec/models/abstract_capability_spec.rb
|
412
|
-
- spec/models/volume_safe_delete_create_spec.rb
|
413
|
-
- spec/models/service_spec.rb
|
414
|
-
- spec/models/volume_response_spec.rb
|
415
|
-
- spec/models/service_resource_attachment_spec.rb
|
408
|
+
- spec/models/storage_host_update_spec.rb
|
409
|
+
- spec/models/storage_host_volume_mapping_create_spec.rb
|
416
410
|
- spec/models/storage_host_volume_mapping_response_spec.rb
|
417
|
-
- spec/models/account_post_response_spec.rb
|
418
|
-
- spec/models/volume_update_spec.rb
|
419
|
-
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
420
|
-
- spec/models/auto_sde_role_spec.rb
|
421
|
-
- spec/models/capability_translation_create_spec.rb
|
422
411
|
- spec/models/storage_host_volume_mapping_spec.rb
|
423
412
|
- spec/models/storage_host_wwpn_candidates_spec.rb
|
424
|
-
- spec/models/
|
413
|
+
- spec/models/storage_resource_create_spec.rb
|
414
|
+
- spec/models/storage_resource_response_spec.rb
|
415
|
+
- spec/models/storage_resource_spec.rb
|
425
416
|
- spec/models/storage_system_create_spec.rb
|
426
|
-
- spec/models/
|
417
|
+
- spec/models/storage_system_spec.rb
|
418
|
+
- spec/models/storage_system_update_spec.rb
|
419
|
+
- spec/models/system_type_create_spec.rb
|
420
|
+
- spec/models/system_type_spec.rb
|
421
|
+
- spec/models/volume_create_spec.rb
|
422
|
+
- spec/models/volume_response_spec.rb
|
423
|
+
- spec/models/volume_safe_delete_create_spec.rb
|
424
|
+
- spec/models/volume_safe_delete_spec.rb
|
425
|
+
- spec/models/volume_spec.rb
|
426
|
+
- spec/models/volume_update_spec.rb
|
427
427
|
- spec/spec_helper.rb
|