pnap_network_storage_api 1.3.0 → 1.4.0

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.
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Network Storage API
3
+
4
+ #Create, list, edit, and delete storage networks with the Network Storage API. Use storage networks to expand storage capacity on a private network. <br> <span class='pnap-api-knowledge-base-link'> Knowledge base articles to help you can be found <a href='https://phoenixnap.com/kb/bare-metal-cloud-storage' target='_blank'>here</a> </span> <br> <b>All URLs are relative to (https://api.phoenixnap.com/network-storage/v1/)</b>
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@phoenixnap.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.1.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for NetworkStorageApi::TagAssignmentRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe NetworkStorageApi::TagAssignmentRequest do
21
+ let(:instance) { NetworkStorageApi::TagAssignmentRequest.new }
22
+
23
+ describe 'test an instance of TagAssignmentRequest' do
24
+ it 'should create an instance of TagAssignmentRequest' do
25
+ expect(instance).to be_instance_of(NetworkStorageApi::TagAssignmentRequest)
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 "value"' 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
+ end
@@ -0,0 +1,62 @@
1
+ =begin
2
+ #Network Storage API
3
+
4
+ #Create, list, edit, and delete storage networks with the Network Storage API. Use storage networks to expand storage capacity on a private network. <br> <span class='pnap-api-knowledge-base-link'> Knowledge base articles to help you can be found <a href='https://phoenixnap.com/kb/bare-metal-cloud-storage' target='_blank'>here</a> </span> <br> <b>All URLs are relative to (https://api.phoenixnap.com/network-storage/v1/)</b>
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@phoenixnap.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.1.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for NetworkStorageApi::TagAssignment
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe NetworkStorageApi::TagAssignment do
21
+ let(:instance) { NetworkStorageApi::TagAssignment.new }
22
+
23
+ describe 'test an instance of TagAssignment' do
24
+ it 'should create an instance of TagAssignment' do
25
+ expect(instance).to be_instance_of(NetworkStorageApi::TagAssignment)
26
+ end
27
+ end
28
+ describe 'test attribute "id"' 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 "name"' 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 "value"' 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 "is_billing_tag"' 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 "created_by"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["USER", "SYSTEM"])
56
+ # validator.allowable_values.each do |value|
57
+ # expect { instance.created_by = value }.not_to raise_error
58
+ # end
59
+ end
60
+ end
61
+
62
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pnap_network_storage_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhoenixNAP
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-25 00:00:00.000000000 Z
11
+ date: 2023-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -74,6 +74,8 @@ files:
74
74
  - docs/StorageNetworkUpdate.md
75
75
  - docs/StorageNetworkVolumeCreate.md
76
76
  - docs/StorageNetworksApi.md
77
+ - docs/TagAssignment.md
78
+ - docs/TagAssignmentRequest.md
77
79
  - docs/Volume.md
78
80
  - docs/VolumeCreate.md
79
81
  - docs/VolumeUpdate.md
@@ -94,6 +96,8 @@ files:
94
96
  - lib/pnap_network_storage_api/models/storage_network_create.rb
95
97
  - lib/pnap_network_storage_api/models/storage_network_update.rb
96
98
  - lib/pnap_network_storage_api/models/storage_network_volume_create.rb
99
+ - lib/pnap_network_storage_api/models/tag_assignment.rb
100
+ - lib/pnap_network_storage_api/models/tag_assignment_request.rb
97
101
  - lib/pnap_network_storage_api/models/volume.rb
98
102
  - lib/pnap_network_storage_api/models/volume_create.rb
99
103
  - lib/pnap_network_storage_api/models/volume_update.rb
@@ -114,6 +118,8 @@ files:
114
118
  - spec/models/storage_network_spec.rb
115
119
  - spec/models/storage_network_update_spec.rb
116
120
  - spec/models/storage_network_volume_create_spec.rb
121
+ - spec/models/tag_assignment_request_spec.rb
122
+ - spec/models/tag_assignment_spec.rb
117
123
  - spec/models/volume_create_spec.rb
118
124
  - spec/models/volume_spec.rb
119
125
  - spec/models/volume_update_spec.rb
@@ -146,19 +152,21 @@ test_files:
146
152
  - spec/api/storage_networks_api_spec.rb
147
153
  - spec/api_client_spec.rb
148
154
  - spec/configuration_spec.rb
149
- - spec/models/volume_create_spec.rb
155
+ - spec/models/permissions_create_spec.rb
156
+ - spec/models/tag_assignment_request_spec.rb
157
+ - spec/models/storage_network_create_spec.rb
150
158
  - spec/models/permissions_spec.rb
151
- - spec/models/permissions_update_spec.rb
159
+ - spec/models/nfs_permissions_spec.rb
152
160
  - spec/models/error_spec.rb
153
161
  - spec/models/nfs_permissions_create_spec.rb
154
- - spec/models/nfs_permissions_update_spec.rb
155
- - spec/models/storage_network_create_spec.rb
156
- - spec/models/status_spec.rb
157
162
  - spec/models/storage_network_spec.rb
158
- - spec/models/nfs_permissions_spec.rb
159
163
  - spec/models/storage_network_update_spec.rb
160
- - spec/models/permissions_create_spec.rb
161
- - spec/models/volume_update_spec.rb
164
+ - spec/models/tag_assignment_spec.rb
165
+ - spec/models/status_spec.rb
166
+ - spec/models/permissions_update_spec.rb
162
167
  - spec/models/storage_network_volume_create_spec.rb
163
168
  - spec/models/volume_spec.rb
169
+ - spec/models/volume_update_spec.rb
170
+ - spec/models/nfs_permissions_update_spec.rb
171
+ - spec/models/volume_create_spec.rb
164
172
  - spec/spec_helper.rb