autosde_openapi_client 1.0.2 → 1.0.23
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 +147 -146
- data/autosde_openapi_client.gemspec +4 -4
- 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 +125 -53
- data/docs/StorageHostVolumeMappingCreate.md +15 -14
- data/docs/StorageHostVolumeMappingResponse.md +26 -0
- 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 +4 -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 +14 -14
- 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 +5 -4
- data/lib/autosde_openapi_client/api_error.rb +2 -2
- data/lib/autosde_openapi_client/configuration.rb +2 -2
- 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_host_volume_mapping_response.rb +301 -0
- 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_response_spec.rb +62 -0
- 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 +61 -57
data/spec/models/profile_spec.rb
CHANGED
|
@@ -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::Profile
|
|
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::Profile.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::Profile do
|
|
21
|
+
let(:instance) { OpenapiClient::Profile.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of Profile' do
|
|
31
24
|
it 'should create an instance of Profile' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::Profile)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "account"' do
|
|
@@ -55,7 +48,7 @@ describe 'Profile' do
|
|
|
55
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
49
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Native", "Abstract"])
|
|
57
50
|
# validator.allowable_values.each do |value|
|
|
58
|
-
# expect {
|
|
51
|
+
# expect { instance.type = value }.not_to raise_error
|
|
59
52
|
# end
|
|
60
53
|
end
|
|
61
54
|
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::ProvisioningStrategy
|
|
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::ProvisioningStrategy.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::ProvisioningStrategy do
|
|
21
|
+
let(:instance) { OpenapiClient::ProvisioningStrategy.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of ProvisioningStrategy' do
|
|
31
24
|
it 'should create an instance of ProvisioningStrategy' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::ProvisioningStrategy)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "name"' do
|
|
@@ -37,7 +30,7 @@ describe 'ProvisioningStrategy' 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', ["logical_free_capacity"])
|
|
39
32
|
# validator.allowable_values.each do |value|
|
|
40
|
-
# expect {
|
|
33
|
+
# expect { instance.name = 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::ServiceAbstractCapabilityValue
|
|
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::ServiceAbstractCapabilityValue.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::ServiceAbstractCapabilityValue do
|
|
21
|
+
let(:instance) { OpenapiClient::ServiceAbstractCapabilityValue.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of ServiceAbstractCapabilityValue' do
|
|
31
24
|
it 'should create an instance of ServiceAbstractCapabilityValue' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::ServiceAbstractCapabilityValue)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "abstract_capability"' do
|
|
@@ -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::ServiceCreate
|
|
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::ServiceCreate.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::ServiceCreate do
|
|
21
|
+
let(:instance) { OpenapiClient::ServiceCreate.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of ServiceCreate' do
|
|
31
24
|
it 'should create an instance of ServiceCreate' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::ServiceCreate)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "capability_values"' do
|
|
@@ -43,7 +36,7 @@ describe 'ServiceCreate' 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::ServiceResourceAttachment
|
|
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::ServiceResourceAttachment.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::ServiceResourceAttachment do
|
|
21
|
+
let(:instance) { OpenapiClient::ServiceResourceAttachment.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of ServiceResourceAttachment' do
|
|
31
24
|
it 'should create an instance of ServiceResourceAttachment' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::ServiceResourceAttachment)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "compliant"' do
|
data/spec/models/service_spec.rb
CHANGED
|
@@ -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::Service
|
|
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::Service.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::Service do
|
|
21
|
+
let(:instance) { OpenapiClient::Service.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of Service' do
|
|
31
24
|
it 'should create an instance of Service' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::Service)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "capability_values"' do
|
|
@@ -43,7 +36,7 @@ describe 'Service' 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::SnapshotCreate
|
|
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::SnapshotCreate.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::SnapshotCreate do
|
|
21
|
+
let(:instance) { OpenapiClient::SnapshotCreate.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of SnapshotCreate' do
|
|
31
24
|
it 'should create an instance of SnapshotCreate' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::SnapshotCreate)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "component_state"' do
|
|
@@ -37,7 +30,7 @@ describe 'SnapshotCreate' 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::Snapshot
|
|
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::Snapshot.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::Snapshot do
|
|
21
|
+
let(:instance) { OpenapiClient::Snapshot.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of Snapshot' do
|
|
31
24
|
it 'should create an instance of Snapshot' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::Snapshot)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "component_state"' do
|
|
@@ -37,7 +30,7 @@ describe 'Snapshot' 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::StorageHostCreate
|
|
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::StorageHostCreate.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
20
|
+
describe OpenapiClient::StorageHostCreate do
|
|
21
|
+
let(:instance) { OpenapiClient::StorageHostCreate.new }
|
|
29
22
|
|
|
30
23
|
describe 'test an instance of StorageHostCreate' do
|
|
31
24
|
it 'should create an instance of StorageHostCreate' do
|
|
32
|
-
expect(
|
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::StorageHostCreate)
|
|
33
26
|
end
|
|
34
27
|
end
|
|
35
28
|
describe 'test attribute "chap_name"' do
|
|
@@ -49,7 +42,7 @@ describe 'StorageHostCreate' do
|
|
|
49
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
43
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
|
51
44
|
# validator.allowable_values.each do |value|
|
|
52
|
-
# expect {
|
|
45
|
+
# expect { instance.component_state = value }.not_to raise_error
|
|
53
46
|
# end
|
|
54
47
|
end
|
|
55
48
|
end
|
|
@@ -83,7 +76,7 @@ describe 'StorageHostCreate' do
|
|
|
83
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
84
77
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ISCSI", "FC", "NVMeFC"])
|
|
85
78
|
# validator.allowable_values.each do |value|
|
|
86
|
-
# expect {
|
|
79
|
+
# expect { instance.port_type = value }.not_to raise_error
|
|
87
80
|
# end
|
|
88
81
|
end
|
|
89
82
|
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::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
|