autosde_openapi_client 1.0.2 → 1.0.3
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.
- checksums.yaml +4 -4
- data/README.md +146 -146
- data/autosde_openapi_client.gemspec +2 -2
- data/docs/AbstractCapability.md +11 -10
- data/docs/AbstractCapabilityApi.md +121 -49
- data/docs/Account.md +13 -12
- data/docs/AccountApi.md +153 -63
- data/docs/AccountPostRequest.md +11 -10
- data/docs/AccountPostResponse.md +15 -14
- data/docs/Address.md +23 -22
- data/docs/AddressApi.md +121 -49
- data/docs/AddressCreate.md +23 -22
- data/docs/AuthResponse.md +9 -8
- data/docs/Authentication.md +11 -10
- data/docs/AuthenticationApi.md +33 -16
- data/docs/AutoSDEProject.md +47 -46
- data/docs/AutoSDEProjectApi.md +121 -49
- data/docs/AutoSDERole.md +11 -10
- data/docs/AutoSDERoleApi.md +121 -49
- data/docs/CapabilityTranslation.md +27 -26
- data/docs/CapabilityTranslationApi.md +121 -49
- data/docs/CapabilityTranslationCreate.md +23 -22
- data/docs/Host.md +21 -20
- data/docs/HostApi.md +121 -49
- data/docs/HostCreate.md +31 -30
- data/docs/HostVolumeConnection.md +15 -14
- data/docs/HostVolumeConnectionApi.md +121 -49
- data/docs/HostVolumeConnectionCreate.md +13 -12
- data/docs/Job.md +21 -20
- data/docs/JobApi.md +61 -25
- data/docs/JobCreate.md +11 -10
- data/docs/NativeCapability.md +15 -14
- data/docs/NativeCapabilityApi.md +121 -49
- data/docs/Profile.md +17 -16
- data/docs/ProfileApi.md +121 -49
- data/docs/ProvisioningStrategy.md +11 -10
- data/docs/ProvisioningStrategyApi.md +121 -49
- data/docs/Service.md +27 -26
- data/docs/ServiceAbstractCapabilityValue.md +13 -12
- data/docs/ServiceApi.md +153 -63
- data/docs/ServiceCreate.md +25 -24
- data/docs/ServiceResourceAttachment.md +15 -14
- data/docs/ServiceResourceAttachmentApi.md +121 -49
- data/docs/Snapshot.md +17 -16
- data/docs/SnapshotApi.md +121 -49
- data/docs/SnapshotCreate.md +15 -14
- data/docs/StorageHost.md +21 -20
- data/docs/StorageHostApi.md +153 -63
- data/docs/StorageHostCreate.md +29 -28
- data/docs/StorageHostResponse.md +23 -22
- data/docs/StorageHostUpdate.md +13 -12
- data/docs/StorageHostVolumeMapping.md +17 -16
- data/docs/StorageHostVolumeMappingApi.md +121 -49
- data/docs/StorageHostVolumeMappingCreate.md +15 -14
- data/docs/StorageResource.md +25 -24
- data/docs/StorageResourceApi.md +153 -63
- data/docs/StorageResourceCreate.md +23 -22
- data/docs/StorageResourceResponse.md +25 -24
- data/docs/StorageSystem.md +21 -20
- data/docs/StorageSystemApi.md +121 -49
- data/docs/StorageSystemCreate.md +41 -40
- data/docs/SystemType.md +17 -16
- data/docs/SystemTypeApi.md +121 -49
- data/docs/SystemTypeCreate.md +19 -18
- data/docs/Volume.md +25 -24
- data/docs/VolumeApi.md +153 -63
- data/docs/VolumeCreate.md +21 -20
- data/docs/VolumeResponse.md +25 -24
- data/docs/VolumeSafeDelete.md +13 -12
- data/docs/VolumeSafeDeleteApi.md +121 -49
- data/docs/VolumeSafeDeleteCreate.md +9 -8
- data/docs/VolumeUpdate.md +11 -10
- data/lib/autosde_openapi_client.rb +3 -3
- data/lib/autosde_openapi_client/api/abstract_capability_api.rb +2 -2
- data/lib/autosde_openapi_client/api/account_api.rb +2 -2
- data/lib/autosde_openapi_client/api/address_api.rb +2 -2
- data/lib/autosde_openapi_client/api/authentication_api.rb +2 -2
- data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +2 -2
- data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +2 -2
- data/lib/autosde_openapi_client/api/capability_translation_api.rb +2 -2
- data/lib/autosde_openapi_client/api/host_api.rb +2 -2
- data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +2 -2
- data/lib/autosde_openapi_client/api/job_api.rb +2 -2
- data/lib/autosde_openapi_client/api/native_capability_api.rb +2 -2
- data/lib/autosde_openapi_client/api/profile_api.rb +2 -2
- data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +2 -2
- data/lib/autosde_openapi_client/api/service_api.rb +2 -2
- data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +2 -2
- data/lib/autosde_openapi_client/api/snapshot_api.rb +2 -2
- data/lib/autosde_openapi_client/api/storage_host_api.rb +2 -2
- data/lib/autosde_openapi_client/api/storage_host_volume_mapping_api.rb +2 -2
- data/lib/autosde_openapi_client/api/storage_resource_api.rb +2 -2
- data/lib/autosde_openapi_client/api/storage_system_api.rb +2 -2
- data/lib/autosde_openapi_client/api/system_type_api.rb +2 -2
- data/lib/autosde_openapi_client/api/volume_api.rb +2 -2
- data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +2 -2
- data/lib/autosde_openapi_client/api_client.rb +6 -5
- data/lib/autosde_openapi_client/api_error.rb +2 -2
- data/lib/autosde_openapi_client/configuration.rb +7 -5
- data/lib/autosde_openapi_client/models/abstract_capability.rb +14 -6
- data/lib/autosde_openapi_client/models/account.rb +14 -6
- data/lib/autosde_openapi_client/models/account_post_request.rb +14 -6
- data/lib/autosde_openapi_client/models/account_post_response.rb +14 -6
- data/lib/autosde_openapi_client/models/address.rb +14 -6
- data/lib/autosde_openapi_client/models/address_create.rb +14 -6
- data/lib/autosde_openapi_client/models/auth_response.rb +14 -6
- data/lib/autosde_openapi_client/models/authentication.rb +14 -6
- data/lib/autosde_openapi_client/models/auto_sde_project.rb +14 -6
- data/lib/autosde_openapi_client/models/auto_sde_role.rb +14 -6
- data/lib/autosde_openapi_client/models/capability_translation.rb +14 -6
- data/lib/autosde_openapi_client/models/capability_translation_create.rb +14 -6
- data/lib/autosde_openapi_client/models/host.rb +14 -6
- data/lib/autosde_openapi_client/models/host_create.rb +14 -6
- data/lib/autosde_openapi_client/models/host_volume_connection.rb +14 -6
- data/lib/autosde_openapi_client/models/host_volume_connection_create.rb +14 -6
- data/lib/autosde_openapi_client/models/job.rb +14 -6
- data/lib/autosde_openapi_client/models/job_create.rb +14 -6
- data/lib/autosde_openapi_client/models/native_capability.rb +14 -6
- data/lib/autosde_openapi_client/models/profile.rb +14 -6
- data/lib/autosde_openapi_client/models/provisioning_strategy.rb +14 -6
- data/lib/autosde_openapi_client/models/service.rb +14 -6
- data/lib/autosde_openapi_client/models/service_abstract_capability_value.rb +14 -6
- data/lib/autosde_openapi_client/models/service_create.rb +14 -6
- data/lib/autosde_openapi_client/models/service_resource_attachment.rb +14 -6
- data/lib/autosde_openapi_client/models/snapshot.rb +14 -6
- data/lib/autosde_openapi_client/models/snapshot_create.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host_create.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host_response.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host_update.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping_create.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_resource.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_resource_create.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_resource_response.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_system.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_system_create.rb +14 -6
- data/lib/autosde_openapi_client/models/system_type.rb +14 -6
- data/lib/autosde_openapi_client/models/system_type_create.rb +14 -6
- data/lib/autosde_openapi_client/models/volume.rb +14 -6
- data/lib/autosde_openapi_client/models/volume_create.rb +14 -6
- data/lib/autosde_openapi_client/models/volume_response.rb +14 -6
- data/lib/autosde_openapi_client/models/volume_safe_delete.rb +14 -6
- data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +14 -6
- data/lib/autosde_openapi_client/models/volume_update.rb +14 -6
- data/lib/autosde_openapi_client/version.rb +4 -4
- data/spec/api/abstract_capability_api_spec.rb +1 -1
- data/spec/api/account_api_spec.rb +1 -1
- data/spec/api/address_api_spec.rb +1 -1
- data/spec/api/authentication_api_spec.rb +1 -1
- data/spec/api/auto_sde_project_api_spec.rb +1 -1
- data/spec/api/auto_sde_role_api_spec.rb +1 -1
- data/spec/api/capability_translation_api_spec.rb +1 -1
- data/spec/api/host_api_spec.rb +1 -1
- data/spec/api/host_volume_connection_api_spec.rb +1 -1
- data/spec/api/job_api_spec.rb +1 -1
- data/spec/api/native_capability_api_spec.rb +1 -1
- data/spec/api/profile_api_spec.rb +1 -1
- data/spec/api/provisioning_strategy_api_spec.rb +1 -1
- data/spec/api/service_api_spec.rb +1 -1
- data/spec/api/service_resource_attachment_api_spec.rb +1 -1
- data/spec/api/snapshot_api_spec.rb +1 -1
- data/spec/api/storage_host_api_spec.rb +1 -1
- data/spec/api/storage_host_volume_mapping_api_spec.rb +1 -1
- data/spec/api/storage_resource_api_spec.rb +1 -1
- data/spec/api/storage_system_api_spec.rb +1 -1
- data/spec/api/system_type_api_spec.rb +1 -1
- data/spec/api/volume_api_spec.rb +1 -1
- data/spec/api/volume_safe_delete_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +30 -30
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/abstract_capability_spec.rb +4 -11
- data/spec/models/account_post_request_spec.rb +4 -11
- data/spec/models/account_post_response_spec.rb +4 -11
- data/spec/models/account_spec.rb +4 -11
- data/spec/models/address_create_spec.rb +6 -13
- data/spec/models/address_spec.rb +6 -13
- data/spec/models/auth_response_spec.rb +4 -11
- data/spec/models/authentication_spec.rb +4 -11
- data/spec/models/auto_sde_project_spec.rb +4 -11
- data/spec/models/auto_sde_role_spec.rb +4 -11
- data/spec/models/capability_translation_create_spec.rb +4 -11
- data/spec/models/capability_translation_spec.rb +4 -11
- data/spec/models/host_create_spec.rb +7 -14
- data/spec/models/host_spec.rb +6 -13
- data/spec/models/host_volume_connection_create_spec.rb +5 -12
- data/spec/models/host_volume_connection_spec.rb +5 -12
- data/spec/models/job_create_spec.rb +4 -11
- data/spec/models/job_spec.rb +4 -11
- data/spec/models/native_capability_spec.rb +4 -11
- data/spec/models/profile_spec.rb +5 -12
- data/spec/models/provisioning_strategy_spec.rb +5 -12
- data/spec/models/service_abstract_capability_value_spec.rb +4 -11
- data/spec/models/service_create_spec.rb +5 -12
- data/spec/models/service_resource_attachment_spec.rb +4 -11
- data/spec/models/service_spec.rb +5 -12
- data/spec/models/snapshot_create_spec.rb +5 -12
- data/spec/models/snapshot_spec.rb +5 -12
- data/spec/models/storage_host_create_spec.rb +6 -13
- data/spec/models/storage_host_response_spec.rb +5 -12
- data/spec/models/storage_host_spec.rb +5 -12
- data/spec/models/storage_host_update_spec.rb +6 -13
- data/spec/models/storage_host_volume_mapping_create_spec.rb +5 -12
- data/spec/models/storage_host_volume_mapping_spec.rb +5 -12
- data/spec/models/storage_resource_create_spec.rb +6 -13
- data/spec/models/storage_resource_response_spec.rb +6 -13
- data/spec/models/storage_resource_spec.rb +6 -13
- data/spec/models/storage_system_create_spec.rb +7 -14
- data/spec/models/storage_system_spec.rb +6 -13
- data/spec/models/system_type_create_spec.rb +6 -13
- data/spec/models/system_type_spec.rb +6 -13
- data/spec/models/volume_create_spec.rb +5 -12
- data/spec/models/volume_response_spec.rb +5 -12
- data/spec/models/volume_safe_delete_create_spec.rb +4 -11
- data/spec/models/volume_safe_delete_spec.rb +4 -11
- data/spec/models/volume_spec.rb +5 -12
- data/spec/models/volume_update_spec.rb +4 -11
- data/spec/spec_helper.rb +1 -1
- metadata +55 -55
|
@@ -6,7 +6,7 @@
|
|
|
6
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
|
-
OpenAPI Generator version: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,19 +17,12 @@ require 'date'
|
|
|
17
17
|
# Unit tests for OpenapiClient::StorageHostResponse
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = OpenapiClient::StorageHostResponse.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::StorageHostResponse do
|
|
21
|
+
let(:instance) { OpenapiClient::StorageHostResponse.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of StorageHostResponse' do
|
|
31
24
|
it 'should create an instance of StorageHostResponse' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::StorageHostResponse)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "addresses"' do
|
|
@@ -43,7 +36,7 @@ describe 'StorageHostResponse' do
|
|
|
43
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
37
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
|
45
38
|
# validator.allowable_values.each do |value|
|
|
46
|
-
# expect {
|
|
39
|
+
# expect { instance.component_state = value }.not_to raise_error
|
|
47
40
|
# end
|
|
48
41
|
end
|
|
49
42
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
|
-
OpenAPI Generator version: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,19 +17,12 @@ require 'date'
|
|
|
17
17
|
# Unit tests for OpenapiClient::StorageHost
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = OpenapiClient::StorageHost.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::StorageHost do
|
|
21
|
+
let(:instance) { OpenapiClient::StorageHost.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of StorageHost' do
|
|
31
24
|
it 'should create an instance of StorageHost' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::StorageHost)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "component_state"' do
|
|
@@ -37,7 +30,7 @@ describe 'StorageHost' do
|
|
|
37
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
31
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
|
39
32
|
# validator.allowable_values.each do |value|
|
|
40
|
-
# expect {
|
|
33
|
+
# expect { instance.component_state = value }.not_to raise_error
|
|
41
34
|
# end
|
|
42
35
|
end
|
|
43
36
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
|
-
OpenAPI Generator version: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,19 +17,12 @@ require 'date'
|
|
|
17
17
|
# Unit tests for OpenapiClient::StorageHostUpdate
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = OpenapiClient::StorageHostUpdate.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::StorageHostUpdate do
|
|
21
|
+
let(:instance) { OpenapiClient::StorageHostUpdate.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of StorageHostUpdate' do
|
|
31
24
|
it 'should create an instance of StorageHostUpdate' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::StorageHostUpdate)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "operation"' do
|
|
@@ -37,7 +30,7 @@ describe 'StorageHostUpdate' do
|
|
|
37
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
31
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["add", "delete"])
|
|
39
32
|
# validator.allowable_values.each do |value|
|
|
40
|
-
# expect {
|
|
33
|
+
# expect { instance.operation = value }.not_to raise_error
|
|
41
34
|
# end
|
|
42
35
|
end
|
|
43
36
|
end
|
|
@@ -53,7 +46,7 @@ describe 'StorageHostUpdate' do
|
|
|
53
46
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
54
47
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ISCSI", "FC"])
|
|
55
48
|
# validator.allowable_values.each do |value|
|
|
56
|
-
# expect {
|
|
49
|
+
# expect { instance.port_type = value }.not_to raise_error
|
|
57
50
|
# end
|
|
58
51
|
end
|
|
59
52
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
|
-
OpenAPI Generator version: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,19 +17,12 @@ require 'date'
|
|
|
17
17
|
# Unit tests for OpenapiClient::StorageHostVolumeMappingCreate
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = OpenapiClient::StorageHostVolumeMappingCreate.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::StorageHostVolumeMappingCreate do
|
|
21
|
+
let(:instance) { OpenapiClient::StorageHostVolumeMappingCreate.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of StorageHostVolumeMappingCreate' do
|
|
31
24
|
it 'should create an instance of StorageHostVolumeMappingCreate' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::StorageHostVolumeMappingCreate)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "component_state"' do
|
|
@@ -37,7 +30,7 @@ describe 'StorageHostVolumeMappingCreate' do
|
|
|
37
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
31
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
|
39
32
|
# validator.allowable_values.each do |value|
|
|
40
|
-
# expect {
|
|
33
|
+
# expect { instance.component_state = value }.not_to raise_error
|
|
41
34
|
# end
|
|
42
35
|
end
|
|
43
36
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
|
-
OpenAPI Generator version: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,19 +17,12 @@ require 'date'
|
|
|
17
17
|
# Unit tests for OpenapiClient::StorageHostVolumeMapping
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = OpenapiClient::StorageHostVolumeMapping.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::StorageHostVolumeMapping do
|
|
21
|
+
let(:instance) { OpenapiClient::StorageHostVolumeMapping.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of StorageHostVolumeMapping' do
|
|
31
24
|
it 'should create an instance of StorageHostVolumeMapping' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::StorageHostVolumeMapping)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "component_state"' do
|
|
@@ -37,7 +30,7 @@ describe 'StorageHostVolumeMapping' do
|
|
|
37
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
31
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
|
39
32
|
# validator.allowable_values.each do |value|
|
|
40
|
-
# expect {
|
|
33
|
+
# expect { instance.component_state = value }.not_to raise_error
|
|
41
34
|
# end
|
|
42
35
|
end
|
|
43
36
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
|
-
OpenAPI Generator version: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,19 +17,12 @@ require 'date'
|
|
|
17
17
|
# Unit tests for OpenapiClient::StorageResourceCreate
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = OpenapiClient::StorageResourceCreate.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::StorageResourceCreate do
|
|
21
|
+
let(:instance) { OpenapiClient::StorageResourceCreate.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of StorageResourceCreate' do
|
|
31
24
|
it 'should create an instance of StorageResourceCreate' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::StorageResourceCreate)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "advanced_attributes_map"' do
|
|
@@ -43,7 +36,7 @@ describe 'StorageResourceCreate' do
|
|
|
43
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
37
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
|
45
38
|
# validator.allowable_values.each do |value|
|
|
46
|
-
# expect {
|
|
39
|
+
# expect { instance.component_state = value }.not_to raise_error
|
|
47
40
|
# end
|
|
48
41
|
end
|
|
49
42
|
end
|
|
@@ -77,7 +70,7 @@ describe 'StorageResourceCreate' do
|
|
|
77
70
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
78
71
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["fc", "iscsi"])
|
|
79
72
|
# validator.allowable_values.each do |value|
|
|
80
|
-
# expect {
|
|
73
|
+
# expect { instance.protocol = value }.not_to raise_error
|
|
81
74
|
# end
|
|
82
75
|
end
|
|
83
76
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
|
-
OpenAPI Generator version: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,19 +17,12 @@ require 'date'
|
|
|
17
17
|
# Unit tests for OpenapiClient::StorageResourceResponse
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = OpenapiClient::StorageResourceResponse.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::StorageResourceResponse do
|
|
21
|
+
let(:instance) { OpenapiClient::StorageResourceResponse.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of StorageResourceResponse' do
|
|
31
24
|
it 'should create an instance of StorageResourceResponse' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::StorageResourceResponse)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "advanced_attributes_map"' do
|
|
@@ -43,7 +36,7 @@ describe 'StorageResourceResponse' do
|
|
|
43
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
37
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
|
45
38
|
# validator.allowable_values.each do |value|
|
|
46
|
-
# expect {
|
|
39
|
+
# expect { instance.component_state = value }.not_to raise_error
|
|
47
40
|
# end
|
|
48
41
|
end
|
|
49
42
|
end
|
|
@@ -77,7 +70,7 @@ describe 'StorageResourceResponse' do
|
|
|
77
70
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
78
71
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["fc", "iscsi"])
|
|
79
72
|
# validator.allowable_values.each do |value|
|
|
80
|
-
# expect {
|
|
73
|
+
# expect { instance.protocol = value }.not_to raise_error
|
|
81
74
|
# end
|
|
82
75
|
end
|
|
83
76
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
|
-
OpenAPI Generator version: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,19 +17,12 @@ require 'date'
|
|
|
17
17
|
# Unit tests for OpenapiClient::StorageResource
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = OpenapiClient::StorageResource.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::StorageResource do
|
|
21
|
+
let(:instance) { OpenapiClient::StorageResource.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of StorageResource' do
|
|
31
24
|
it 'should create an instance of StorageResource' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::StorageResource)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "advanced_attributes_map"' do
|
|
@@ -43,7 +36,7 @@ describe 'StorageResource' do
|
|
|
43
36
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
37
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
|
45
38
|
# validator.allowable_values.each do |value|
|
|
46
|
-
# expect {
|
|
39
|
+
# expect { instance.component_state = value }.not_to raise_error
|
|
47
40
|
# end
|
|
48
41
|
end
|
|
49
42
|
end
|
|
@@ -77,7 +70,7 @@ describe 'StorageResource' do
|
|
|
77
70
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
78
71
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["fc", "iscsi"])
|
|
79
72
|
# validator.allowable_values.each do |value|
|
|
80
|
-
# expect {
|
|
73
|
+
# expect { instance.protocol = value }.not_to raise_error
|
|
81
74
|
# end
|
|
82
75
|
end
|
|
83
76
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
|
-
OpenAPI Generator version: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,19 +17,12 @@ require 'date'
|
|
|
17
17
|
# Unit tests for OpenapiClient::StorageSystemCreate
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = OpenapiClient::StorageSystemCreate.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::StorageSystemCreate do
|
|
21
|
+
let(:instance) { OpenapiClient::StorageSystemCreate.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of StorageSystemCreate' do
|
|
31
24
|
it 'should create an instance of StorageSystemCreate' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::StorageSystemCreate)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "auto_add_pools"' do
|
|
@@ -61,7 +54,7 @@ describe 'StorageSystemCreate' do
|
|
|
61
54
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
55
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
|
63
56
|
# validator.allowable_values.each do |value|
|
|
64
|
-
# expect {
|
|
57
|
+
# expect { instance.component_state = value }.not_to raise_error
|
|
65
58
|
# end
|
|
66
59
|
end
|
|
67
60
|
end
|
|
@@ -95,7 +88,7 @@ describe 'StorageSystemCreate' do
|
|
|
95
88
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
96
89
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ISCSI", "FC", "NVMeFC"])
|
|
97
90
|
# validator.allowable_values.each do |value|
|
|
98
|
-
# expect {
|
|
91
|
+
# expect { instance.port_type = value }.not_to raise_error
|
|
99
92
|
# end
|
|
100
93
|
end
|
|
101
94
|
end
|
|
@@ -123,7 +116,7 @@ describe 'StorageSystemCreate' do
|
|
|
123
116
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
124
117
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["", "ontap_7mode", "ontap_cluster"])
|
|
125
118
|
# validator.allowable_values.each do |value|
|
|
126
|
-
# expect {
|
|
119
|
+
# expect { instance.storage_family = value }.not_to raise_error
|
|
127
120
|
# end
|
|
128
121
|
end
|
|
129
122
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
|
-
OpenAPI Generator version: 5.0.
|
|
9
|
+
OpenAPI Generator version: 5.0.1-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,19 +17,12 @@ require 'date'
|
|
|
17
17
|
# Unit tests for OpenapiClient::StorageSystem
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = OpenapiClient::StorageSystem.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::StorageSystem do
|
|
21
|
+
let(:instance) { OpenapiClient::StorageSystem.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of StorageSystem' do
|
|
31
24
|
it 'should create an instance of StorageSystem' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::StorageSystem)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "component_state"' do
|
|
@@ -37,7 +30,7 @@ describe 'StorageSystem' do
|
|
|
37
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
31
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
|
39
32
|
# validator.allowable_values.each do |value|
|
|
40
|
-
# expect {
|
|
33
|
+
# expect { instance.component_state = value }.not_to raise_error
|
|
41
34
|
# end
|
|
42
35
|
end
|
|
43
36
|
end
|
|
@@ -65,7 +58,7 @@ describe 'StorageSystem' do
|
|
|
65
58
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
66
59
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["", "ontap_7mode", "ontap_cluster"])
|
|
67
60
|
# validator.allowable_values.each do |value|
|
|
68
|
-
# expect {
|
|
61
|
+
# expect { instance.storage_family = value }.not_to raise_error
|
|
69
62
|
# end
|
|
70
63
|
end
|
|
71
64
|
end
|