autosde_openapi_client 1.0.45 → 1.0.49

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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -0
  3. data/docs/HostCluster.md +34 -0
  4. data/docs/HostClusterApi.md +276 -0
  5. data/docs/HostClusterCreate.md +30 -0
  6. data/docs/HostClusterMembership.md +24 -0
  7. data/docs/HostClusterMembershipApi.md +276 -0
  8. data/docs/HostClusterVolumeMapping.md +26 -0
  9. data/docs/HostClusterVolumeMappingApi.md +276 -0
  10. data/docs/HostClusterVolumeMappingCreate.md +24 -0
  11. data/docs/HostClusterVolumeMappingResponse.md +26 -0
  12. data/docs/StorageSystemApi.md +6 -6
  13. data/docs/StorageSystemUpdate.md +24 -0
  14. data/lib/autosde_openapi_client/api/host_cluster_api.rb +254 -0
  15. data/lib/autosde_openapi_client/api/host_cluster_membership_api.rb +254 -0
  16. data/lib/autosde_openapi_client/api/host_cluster_volume_mapping_api.rb +254 -0
  17. data/lib/autosde_openapi_client/api/storage_system_api.rb +9 -9
  18. data/lib/autosde_openapi_client/models/host_cluster.rb +397 -0
  19. data/lib/autosde_openapi_client/models/host_cluster_create.rb +338 -0
  20. data/lib/autosde_openapi_client/models/host_cluster_membership.rb +287 -0
  21. data/lib/autosde_openapi_client/models/host_cluster_volume_mapping.rb +299 -0
  22. data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_create.rb +291 -0
  23. data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_response.rb +301 -0
  24. data/lib/autosde_openapi_client/models/storage_system_update.rb +265 -0
  25. data/lib/autosde_openapi_client/version.rb +2 -2
  26. data/lib/autosde_openapi_client.rb +10 -0
  27. data/spec/api/host_cluster_api_spec.rb +74 -0
  28. data/spec/api/host_cluster_membership_api_spec.rb +74 -0
  29. data/spec/api/host_cluster_volume_mapping_api_spec.rb +74 -0
  30. data/spec/api/storage_system_api_spec.rb +1 -1
  31. data/spec/models/host_cluster_create_spec.rb +70 -0
  32. data/spec/models/host_cluster_membership_spec.rb +56 -0
  33. data/spec/models/host_cluster_spec.rb +86 -0
  34. data/spec/models/host_cluster_volume_mapping_create_spec.rb +56 -0
  35. data/spec/models/host_cluster_volume_mapping_response_spec.rb +62 -0
  36. data/spec/models/host_cluster_volume_mapping_spec.rb +62 -0
  37. data/spec/models/storage_system_update_spec.rb +52 -0
  38. metadata +94 -54
@@ -0,0 +1,74 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AutosdeOpenapiClient::HostClusterVolumeMappingApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'HostClusterVolumeMappingApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = AutosdeOpenapiClient::HostClusterVolumeMappingApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of HostClusterVolumeMappingApi' do
30
+ it 'should create an instance of HostClusterVolumeMappingApi' do
31
+ expect(@api_instance).to be_instance_of(AutosdeOpenapiClient::HostClusterVolumeMappingApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for host_clusters_mapping_get
36
+ # @param [Hash] opts the optional parameters
37
+ # @return [Array<HostClusterVolumeMappingResponse>]
38
+ describe 'host_clusters_mapping_get test' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ # unit tests for host_clusters_mapping_pk_delete
45
+ # @param pk
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [Array<HostClusterVolumeMappingResponse>]
48
+ describe 'host_clusters_mapping_pk_delete test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ # unit tests for host_clusters_mapping_pk_get
55
+ # @param pk
56
+ # @param [Hash] opts the optional parameters
57
+ # @return [Array<HostClusterVolumeMappingResponse>]
58
+ describe 'host_clusters_mapping_pk_get test' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ # unit tests for host_clusters_mapping_post
65
+ # @param host_cluster_volume_mapping_create
66
+ # @param [Hash] opts the optional parameters
67
+ # @return [HostClusterVolumeMapping]
68
+ describe 'host_clusters_mapping_post test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ end
@@ -63,7 +63,7 @@ describe 'StorageSystemApi' do
63
63
 
64
64
  # unit tests for storage_systems_pk_put
65
65
  # @param pk
66
- # @param storage_system
66
+ # @param storage_system_update
67
67
  # @param [Hash] opts the optional parameters
68
68
  # @return [StorageSystem]
69
69
  describe 'storage_systems_pk_put test' do
@@ -0,0 +1,70 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AutosdeOpenapiClient::HostClusterCreate
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AutosdeOpenapiClient::HostClusterCreate do
21
+ let(:instance) { AutosdeOpenapiClient::HostClusterCreate.new }
22
+
23
+ describe 'test an instance of HostClusterCreate' do
24
+ it 'should create an instance of HostClusterCreate' do
25
+ expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterCreate)
26
+ end
27
+ end
28
+ describe 'test attribute "name"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "owner_id"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "owner_name"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "protocol"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "status"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "storage_system"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "volumes"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ end
@@ -0,0 +1,56 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AutosdeOpenapiClient::HostClusterMembership
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AutosdeOpenapiClient::HostClusterMembership do
21
+ let(:instance) { AutosdeOpenapiClient::HostClusterMembership.new }
22
+
23
+ describe 'test an instance of HostClusterMembership' do
24
+ it 'should create an instance of HostClusterMembership' do
25
+ expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterMembership)
26
+ end
27
+ end
28
+ describe 'test attribute "cluster"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "component_state"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
38
+ # validator.allowable_values.each do |value|
39
+ # expect { instance.component_state = value }.not_to raise_error
40
+ # end
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "host"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "uuid"' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ end
@@ -0,0 +1,86 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AutosdeOpenapiClient::HostCluster
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AutosdeOpenapiClient::HostCluster do
21
+ let(:instance) { AutosdeOpenapiClient::HostCluster.new }
22
+
23
+ describe 'test an instance of HostCluster' do
24
+ it 'should create an instance of HostCluster' do
25
+ expect(instance).to be_instance_of(AutosdeOpenapiClient::HostCluster)
26
+ end
27
+ end
28
+ describe 'test attribute "component_state"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.component_state = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "name"' do
39
+ it 'should work' do
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "owner_id"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "owner_name"' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ describe 'test attribute "protocol"' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ describe 'test attribute "status"' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ describe 'test attribute "storage_system"' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ describe 'test attribute "uuid"' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ describe 'test attribute "volumes"' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ end
@@ -0,0 +1,56 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AutosdeOpenapiClient::HostClusterVolumeMappingCreate
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AutosdeOpenapiClient::HostClusterVolumeMappingCreate do
21
+ let(:instance) { AutosdeOpenapiClient::HostClusterVolumeMappingCreate.new }
22
+
23
+ describe 'test an instance of HostClusterVolumeMappingCreate' do
24
+ it 'should create an instance of HostClusterVolumeMappingCreate' do
25
+ expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterVolumeMappingCreate)
26
+ end
27
+ end
28
+ describe 'test attribute "cluster"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "component_state"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
38
+ # validator.allowable_values.each do |value|
39
+ # expect { instance.component_state = value }.not_to raise_error
40
+ # end
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "lun"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "volume"' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ end
@@ -0,0 +1,62 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AutosdeOpenapiClient::HostClusterVolumeMappingResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AutosdeOpenapiClient::HostClusterVolumeMappingResponse do
21
+ let(:instance) { AutosdeOpenapiClient::HostClusterVolumeMappingResponse.new }
22
+
23
+ describe 'test an instance of HostClusterVolumeMappingResponse' do
24
+ it 'should create an instance of HostClusterVolumeMappingResponse' do
25
+ expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterVolumeMappingResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "cluster"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "component_state"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
38
+ # validator.allowable_values.each do |value|
39
+ # expect { instance.component_state = value }.not_to raise_error
40
+ # end
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "lun"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "uuid"' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ describe 'test attribute "volume"' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ end
@@ -0,0 +1,62 @@
1
+ =begin
2
+ #Site Manager API
3
+
4
+ #Site Manager API
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: autosde@il.ibm.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AutosdeOpenapiClient::HostClusterVolumeMapping
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AutosdeOpenapiClient::HostClusterVolumeMapping do
21
+ let(:instance) { AutosdeOpenapiClient::HostClusterVolumeMapping.new }
22
+
23
+ describe 'test an instance of HostClusterVolumeMapping' do
24
+ it 'should create an instance of HostClusterVolumeMapping' do
25
+ expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterVolumeMapping)
26
+ end
27
+ end
28
+ describe 'test attribute "cluster"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "component_state"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
38
+ # validator.allowable_values.each do |value|
39
+ # expect { instance.component_state = value }.not_to raise_error
40
+ # end
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "lun"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "uuid"' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ describe 'test attribute "volume"' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ end