vgs_api_client 0.0.15 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docker/build_and_publish.sh +2 -0
- data/lib/vgs_api_client/api/aliases_api.rb +1 -1
- data/lib/vgs_api_client/api_client.rb +2 -2
- data/lib/vgs_api_client/api_error.rb +1 -1
- data/lib/vgs_api_client/configuration.rb +1 -1
- data/lib/vgs_api_client/models/alias_format.rb +1 -1
- data/lib/vgs_api_client/models/api_error.rb +1 -1
- data/lib/vgs_api_client/models/create_aliases_request.rb +29 -1
- data/lib/vgs_api_client/models/create_aliases_request_existing.rb +1 -1
- data/lib/vgs_api_client/models/create_aliases_request_new.rb +1 -1
- data/lib/vgs_api_client/models/inline_response200.rb +1 -1
- data/lib/vgs_api_client/models/inline_response2001.rb +25 -1
- data/lib/vgs_api_client/models/inline_response201.rb +1 -1
- data/lib/vgs_api_client/models/inline_response_default.rb +16 -1
- data/lib/vgs_api_client/models/model_alias.rb +1 -1
- data/lib/vgs_api_client/models/revealed_data.rb +1 -1
- data/lib/vgs_api_client/models/update_alias_request.rb +1 -1
- data/lib/vgs_api_client/models/update_alias_request_data.rb +1 -1
- data/lib/vgs_api_client/version.rb +2 -2
- data/lib/vgs_api_client.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vgs_api_client.gemspec +2 -2
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 615ab680e6599ad15017011cf1296eba1ae3f0bd3668324601d161304b55f198
|
4
|
+
data.tar.gz: 01db0cfc70baaf4a7d760f7eb6947ea651cbe60ad0b3618161d3573fd4e0defa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99cbffd20995107b5fdb0ec7600e7b849b5704b283718fbaf0d360a69507c2286e013b8eca4ba0611af3a908b6d2b2a38f4bbae1fb55dda184c415bdc928fe65
|
7
|
+
data.tar.gz: ffe1a505ab59eb8c422b7f3b3e33064af933c37fbce12803521978e83521ad4723f7284527c2d0be9aa1d1a6fad425028ac6b137c09ee06e9c706d906670bb99
|
data/README.md
CHANGED
@@ -127,7 +127,7 @@ following response:
|
|
127
127
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
128
128
|
|
129
129
|
- API version: 1.0.0
|
130
|
-
- Package version: 0.0.
|
130
|
+
- Package version: 0.0.21
|
131
131
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
132
132
|
|
133
133
|
## Installation
|
@@ -143,16 +143,16 @@ gem build vgs_api_client.gemspec
|
|
143
143
|
Then either install the gem locally:
|
144
144
|
|
145
145
|
```shell
|
146
|
-
gem install ./vgs_api_client-0.0.
|
146
|
+
gem install ./vgs_api_client-0.0.21.gem
|
147
147
|
```
|
148
148
|
|
149
|
-
(for development, run `gem install --dev ./vgs_api_client-0.0.
|
149
|
+
(for development, run `gem install --dev ./vgs_api_client-0.0.21.gem` to install the development dependencies)
|
150
150
|
|
151
151
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
152
152
|
|
153
153
|
Finally add this to the Gemfile:
|
154
154
|
|
155
|
-
gem 'vgs_api_client', '~> 0.0.
|
155
|
+
gem 'vgs_api_client', '~> 0.0.21'
|
156
156
|
|
157
157
|
### Install from Git
|
158
158
|
|
data/docker/build_and_publish.sh
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@verygoodsecurity.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -31,7 +31,7 @@ module VgsapiClient
|
|
31
31
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
32
32
|
def initialize(config = Configuration.default)
|
33
33
|
@config = config
|
34
|
-
@user_agent = "{{ user_agent_client_name }}{{ library_version }}{{ language_name }}/0.0.
|
34
|
+
@user_agent = "{{ user_agent_client_name }}{{ library_version }}{{ language_name }}/0.0.21/ruby"
|
35
35
|
@default_headers = {
|
36
36
|
'Content-Type' => 'application/json',
|
37
37
|
'User-Agent' => @user_agent
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@verygoodsecurity.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -72,6 +72,14 @@ module VgsapiClient
|
|
72
72
|
invalid_properties.push('invalid value for "data", data cannot be nil.')
|
73
73
|
end
|
74
74
|
|
75
|
+
if @data.length > 20
|
76
|
+
invalid_properties.push('invalid value for "data", number of items must be less than or equal to 20.')
|
77
|
+
end
|
78
|
+
|
79
|
+
if @data.length < 1
|
80
|
+
invalid_properties.push('invalid value for "data", number of items must be greater than or equal to 1.')
|
81
|
+
end
|
82
|
+
|
75
83
|
invalid_properties
|
76
84
|
end
|
77
85
|
|
@@ -79,9 +87,29 @@ module VgsapiClient
|
|
79
87
|
# @return true if the model is valid
|
80
88
|
def valid?
|
81
89
|
return false if @data.nil?
|
90
|
+
return false if @data.length > 20
|
91
|
+
return false if @data.length < 1
|
82
92
|
true
|
83
93
|
end
|
84
94
|
|
95
|
+
# Custom attribute writer method with validation
|
96
|
+
# @param [Object] data Value to be assigned
|
97
|
+
def data=(data)
|
98
|
+
if data.nil?
|
99
|
+
fail ArgumentError, 'data cannot be nil'
|
100
|
+
end
|
101
|
+
|
102
|
+
if data.length > 20
|
103
|
+
fail ArgumentError, 'invalid value for "data", number of items must be less than or equal to 20.'
|
104
|
+
end
|
105
|
+
|
106
|
+
if data.length < 1
|
107
|
+
fail ArgumentError, 'invalid value for "data", number of items must be greater than or equal to 1.'
|
108
|
+
end
|
109
|
+
|
110
|
+
@data = data
|
111
|
+
end
|
112
|
+
|
85
113
|
# Checks equality by comparing each attribute.
|
86
114
|
# @param [Object] Object to be compared
|
87
115
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@verygoodsecurity.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -69,15 +69,39 @@ module VgsapiClient
|
|
69
69
|
# @return Array for valid properties with the reasons
|
70
70
|
def list_invalid_properties
|
71
71
|
invalid_properties = Array.new
|
72
|
+
if !@data.nil? && @data.length > 1
|
73
|
+
invalid_properties.push('invalid value for "data", number of items must be less than or equal to 1.')
|
74
|
+
end
|
75
|
+
|
76
|
+
if !@data.nil? && @data.length < 1
|
77
|
+
invalid_properties.push('invalid value for "data", number of items must be greater than or equal to 1.')
|
78
|
+
end
|
79
|
+
|
72
80
|
invalid_properties
|
73
81
|
end
|
74
82
|
|
75
83
|
# Check to see if the all the properties in the model are valid
|
76
84
|
# @return true if the model is valid
|
77
85
|
def valid?
|
86
|
+
return false if !@data.nil? && @data.length > 1
|
87
|
+
return false if !@data.nil? && @data.length < 1
|
78
88
|
true
|
79
89
|
end
|
80
90
|
|
91
|
+
# Custom attribute writer method with validation
|
92
|
+
# @param [Object] data Value to be assigned
|
93
|
+
def data=(data)
|
94
|
+
if !data.nil? && data.length > 1
|
95
|
+
fail ArgumentError, 'invalid value for "data", number of items must be less than or equal to 1.'
|
96
|
+
end
|
97
|
+
|
98
|
+
if !data.nil? && data.length < 1
|
99
|
+
fail ArgumentError, 'invalid value for "data", number of items must be greater than or equal to 1.'
|
100
|
+
end
|
101
|
+
|
102
|
+
@data = data
|
103
|
+
end
|
104
|
+
|
81
105
|
# Checks equality by comparing each attribute.
|
82
106
|
# @param [Object] Object to be compared
|
83
107
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@verygoodsecurity.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -69,15 +69,30 @@ module VgsapiClient
|
|
69
69
|
# @return Array for valid properties with the reasons
|
70
70
|
def list_invalid_properties
|
71
71
|
invalid_properties = Array.new
|
72
|
+
if !@errors.nil? && @errors.length < 1
|
73
|
+
invalid_properties.push('invalid value for "errors", number of items must be greater than or equal to 1.')
|
74
|
+
end
|
75
|
+
|
72
76
|
invalid_properties
|
73
77
|
end
|
74
78
|
|
75
79
|
# Check to see if the all the properties in the model are valid
|
76
80
|
# @return true if the model is valid
|
77
81
|
def valid?
|
82
|
+
return false if !@errors.nil? && @errors.length < 1
|
78
83
|
true
|
79
84
|
end
|
80
85
|
|
86
|
+
# Custom attribute writer method with validation
|
87
|
+
# @param [Object] errors Value to be assigned
|
88
|
+
def errors=(errors)
|
89
|
+
if !errors.nil? && errors.length < 1
|
90
|
+
fail ArgumentError, 'invalid value for "errors", number of items must be greater than or equal to 1.'
|
91
|
+
end
|
92
|
+
|
93
|
+
@errors = errors
|
94
|
+
end
|
95
|
+
|
81
96
|
# Checks equality by comparing each attribute.
|
82
97
|
# @param [Object] Object to be compared
|
83
98
|
def ==(o)
|
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@verygoodsecurity.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module VgsapiClient
|
14
|
-
VERSION = '0.0.
|
14
|
+
VERSION = '0.0.21'
|
15
15
|
end
|
data/lib/vgs_api_client.rb
CHANGED
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/vgs_api_client.gemspec
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
The version of the OpenAPI document: 1.0.0
|
9
9
|
Contact: support@verygoodsecurity.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
|
-
OpenAPI Generator version:
|
11
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -17,7 +17,7 @@ require "vgs_api_client/version"
|
|
17
17
|
|
18
18
|
Gem::Specification.new do |s|
|
19
19
|
s.name = "vgs_api_client"
|
20
|
-
s.version =
|
20
|
+
s.version = VgsapiClient::VERSION
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["Very Good Security"]
|
23
23
|
s.email = ["dev@verygoodsecurity.com"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vgs_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Very Good Security
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
|
-
rubygems_version: 3.3.
|
139
|
+
rubygems_version: 3.3.7
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: A ruby wrapper for the VGS Vault API
|
@@ -144,17 +144,17 @@ test_files:
|
|
144
144
|
- spec/api/aliases_api_spec.rb
|
145
145
|
- spec/api_client_spec.rb
|
146
146
|
- spec/configuration_spec.rb
|
147
|
-
- spec/models/revealed_data_spec.rb
|
148
|
-
- spec/models/alias_format_spec.rb
|
149
147
|
- spec/models/create_aliases_request_new_spec.rb
|
150
|
-
- spec/models/
|
151
|
-
- spec/models/inline_response2001_spec.rb
|
152
|
-
- spec/models/update_alias_request_spec.rb
|
148
|
+
- spec/models/revealed_data_spec.rb
|
153
149
|
- spec/models/create_aliases_request_spec.rb
|
150
|
+
- spec/models/inline_response2001_spec.rb
|
154
151
|
- spec/models/update_alias_request_data_spec.rb
|
155
|
-
- spec/models/inline_response200_spec.rb
|
156
|
-
- spec/models/inline_response201_spec.rb
|
157
|
-
- spec/models/model_alias_spec.rb
|
158
152
|
- spec/models/inline_response_default_spec.rb
|
153
|
+
- spec/models/model_alias_spec.rb
|
154
|
+
- spec/models/inline_response201_spec.rb
|
155
|
+
- spec/models/inline_response200_spec.rb
|
159
156
|
- spec/models/create_aliases_request_existing_spec.rb
|
157
|
+
- spec/models/api_error_spec.rb
|
158
|
+
- spec/models/update_alias_request_spec.rb
|
159
|
+
- spec/models/alias_format_spec.rb
|
160
160
|
- spec/spec_helper.rb
|