pnap_tag_api 2.0.3 → 2.0.5
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/VERSION +1 -1
- data/lib/pnap_tag_api/api/tags_api.rb +6 -6
- data/lib/pnap_tag_api/api_client.rb +17 -14
- data/lib/pnap_tag_api/api_error.rb +1 -1
- data/lib/pnap_tag_api/api_model_base.rb +88 -0
- data/lib/pnap_tag_api/configuration.rb +11 -1
- data/lib/pnap_tag_api/models/delete_result.rb +31 -78
- data/lib/pnap_tag_api/models/error.rb +21 -78
- data/lib/pnap_tag_api/models/resource_assignment.rb +21 -78
- data/lib/pnap_tag_api/models/tag.rb +41 -78
- data/lib/pnap_tag_api/models/tag_create.rb +31 -78
- data/lib/pnap_tag_api/models/tag_update.rb +31 -78
- data/lib/pnap_tag_api/version.rb +1 -2
- data/lib/pnap_tag_api.rb +2 -1
- data/pnap_tag_api.gemspec +6 -6
- data/spec/api/tags_api_spec.rb +1 -1
- data/spec/models/delete_result_spec.rb +2 -2
- data/spec/models/error_spec.rb +2 -2
- data/spec/models/resource_assignment_spec.rb +2 -2
- data/spec/models/tag_create_spec.rb +2 -2
- data/spec/models/tag_spec.rb +2 -2
- data/spec/models/tag_update_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -1
- metadata +14 -9
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe TagApi::DeleteResult do
|
|
21
|
-
let(:instance) { TagApi::DeleteResult.new }
|
|
21
|
+
#let(:instance) { TagApi::DeleteResult.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of DeleteResult' do
|
|
24
24
|
it 'should create an instance of DeleteResult' do
|
data/spec/models/error_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe TagApi::Error do
|
|
21
|
-
let(:instance) { TagApi::Error.new }
|
|
21
|
+
#let(:instance) { TagApi::Error.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of Error' do
|
|
24
24
|
it 'should create an instance of Error' do
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe TagApi::ResourceAssignment do
|
|
21
|
-
let(:instance) { TagApi::ResourceAssignment.new }
|
|
21
|
+
#let(:instance) { TagApi::ResourceAssignment.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of ResourceAssignment' do
|
|
24
24
|
it 'should create an instance of ResourceAssignment' do
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe TagApi::TagCreate do
|
|
21
|
-
let(:instance) { TagApi::TagCreate.new }
|
|
21
|
+
#let(:instance) { TagApi::TagCreate.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of TagCreate' do
|
|
24
24
|
it 'should create an instance of TagCreate' do
|
data/spec/models/tag_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe TagApi::Tag do
|
|
21
|
-
let(:instance) { TagApi::Tag.new }
|
|
21
|
+
#let(:instance) { TagApi::Tag.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of Tag' do
|
|
24
24
|
it 'should create an instance of Tag' do
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
|
7
7
|
Contact: support@phoenixnap.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
|
|
9
|
+
Generator version: 7.20.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ require 'date'
|
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
20
|
describe TagApi::TagUpdate do
|
|
21
|
-
let(:instance) { TagApi::TagUpdate.new }
|
|
21
|
+
#let(:instance) { TagApi::TagUpdate.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of TagUpdate' do
|
|
24
24
|
it 'should create an instance of TagUpdate' do
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pnap_tag_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-04-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -50,7 +50,12 @@ dependencies:
|
|
|
50
50
|
- - ">="
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: 3.6.0
|
|
53
|
-
description: Tags
|
|
53
|
+
description: 'Tags are case-sensitive key-value pairs that simplify resource management.
|
|
54
|
+
The Tag Manager API allows you to create and manage such tags to later assign them
|
|
55
|
+
to related resources in your Bare Metal Cloud (through the respective resource apis)
|
|
56
|
+
in order to group and categorize them.<br> <br> <span class=''pnap-api-knowledge-base-link''>
|
|
57
|
+
Knowledge base articles to help you can be found <a href=''https://phoenixnap.com/kb/bmc-server-management-via-api#server-tag-manager-api''
|
|
58
|
+
target=''_blank''>here</a> </span><br> <br> <b>All URLs are relative to (https://api.phoenixnap.com/tag-manager/v1/)</b> '
|
|
54
59
|
email:
|
|
55
60
|
- support@phoenixnap.com
|
|
56
61
|
executables: []
|
|
@@ -72,6 +77,7 @@ files:
|
|
|
72
77
|
- lib/pnap_tag_api/api/tags_api.rb
|
|
73
78
|
- lib/pnap_tag_api/api_client.rb
|
|
74
79
|
- lib/pnap_tag_api/api_error.rb
|
|
80
|
+
- lib/pnap_tag_api/api_model_base.rb
|
|
75
81
|
- lib/pnap_tag_api/configuration.rb
|
|
76
82
|
- lib/pnap_tag_api/models/delete_result.rb
|
|
77
83
|
- lib/pnap_tag_api/models/error.rb
|
|
@@ -89,11 +95,10 @@ files:
|
|
|
89
95
|
- spec/models/tag_spec.rb
|
|
90
96
|
- spec/models/tag_update_spec.rb
|
|
91
97
|
- spec/spec_helper.rb
|
|
92
|
-
homepage: https://
|
|
98
|
+
homepage: https://openapi-generator.tech
|
|
93
99
|
licenses:
|
|
94
100
|
- MPL-2.0
|
|
95
|
-
metadata:
|
|
96
|
-
source_code_uri: https://github.com/phoenixnap/ruby-sdk-bmc
|
|
101
|
+
metadata: {}
|
|
97
102
|
post_install_message:
|
|
98
103
|
rdoc_options: []
|
|
99
104
|
require_paths:
|
|
@@ -115,10 +120,10 @@ specification_version: 4
|
|
|
115
120
|
summary: Tags API Ruby Gem
|
|
116
121
|
test_files:
|
|
117
122
|
- spec/api/tags_api_spec.rb
|
|
123
|
+
- spec/models/delete_result_spec.rb
|
|
118
124
|
- spec/models/error_spec.rb
|
|
119
|
-
- spec/models/tag_spec.rb
|
|
120
125
|
- spec/models/resource_assignment_spec.rb
|
|
121
126
|
- spec/models/tag_update_spec.rb
|
|
122
|
-
- spec/models/delete_result_spec.rb
|
|
123
127
|
- spec/models/tag_create_spec.rb
|
|
128
|
+
- spec/models/tag_spec.rb
|
|
124
129
|
- spec/spec_helper.rb
|