vgs_api_client 0.0.1.alpha202205231750 → 0.0.1.alpha202205231754

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 658d87aaeb3854293566c2a867a74387bed7a99363116916083e47d9c88011b5
4
- data.tar.gz: cce01f4400366261d7c833e07d39077bbc7361d6ed303932ba70d345532785df
3
+ metadata.gz: e422e65a537dc20b353cbb685e790464bbf0f90aa9d7fbe20228335c2d400f36
4
+ data.tar.gz: b640ed117ce942f113d3138476f7fb8f01eb172da660618e204065eb41cb2a39
5
5
  SHA512:
6
- metadata.gz: 29a39e0d7c6dd37b41f4b96d414a31a92adbc7b57eabbe5fdd10fa4fc613eb79465dd6b586f319b0318ad862cebfad7d765f1d54c6dd04bc196498788ccec7d0
7
- data.tar.gz: 831cc6a9ed541c2bc5367d1ee48419ec40a12f3d2ad168c9880eafbb425e3eac9ef643818d924e5b9868dcbff1cdf7ef1bd735f36ced2ca5d7d7867743a80449
6
+ metadata.gz: 4e8f875edb389483a43e77dab15eacaa07dc0db3b9c8cb997b017bbd8acb8a0896657cc2f7e2925a1ed250236971fc4293b00dddb5283455a5034bde1d3ddb45
7
+ data.tar.gz: f5c74ef14a3bc3847a3f4e4d9680a925b64906eec7751ae0ad63da7788f2cb50af8dae7f714f88f166422723b7fd6823f1583cd83720cf08393c9834afe359a4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1.alpha202205231750
1
+ 0.0.1.alpha202205231754
data/api.yaml CHANGED
@@ -380,6 +380,9 @@ components:
380
380
  $ref: '#/components/schemas/ApiError'
381
381
  description: List of errors that occurred while processing the request.
382
382
  minItems: 1
383
+ trace_id:
384
+ type: string
385
+ description: ID of request. This can be used in the VGS dashboard to lookup a request or provided to the VGS support team.
383
386
  examples:
384
387
  invalidJson:
385
388
  summary: When a payload is received that is not valid JSON
@@ -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 = "vgs-api-client/0.0.1.alpha202205231750/ruby"
34
+ @user_agent = "vgs-api-client/0.0.1.alpha202205231754/ruby"
35
35
  @default_headers = {
36
36
  'Content-Type' => 'application/json',
37
37
  'User-Agent' => @user_agent
@@ -18,10 +18,14 @@ module VgsApiClient
18
18
  # List of errors that occurred while processing the request.
19
19
  attr_accessor :errors
20
20
 
21
+ # ID of request. This can be used in the VGS dashboard to lookup a request or provided to the VGS support team.
22
+ attr_accessor :trace_id
23
+
21
24
  # Attribute mapping from ruby-style variable name to JSON key.
22
25
  def self.attribute_map
23
26
  {
24
- :'errors' => :'errors'
27
+ :'errors' => :'errors',
28
+ :'trace_id' => :'trace_id'
25
29
  }
26
30
  end
27
31
 
@@ -33,7 +37,8 @@ module VgsApiClient
33
37
  # Attribute type mapping.
34
38
  def self.openapi_types
35
39
  {
36
- :'errors' => :'Array<ApiError>'
40
+ :'errors' => :'Array<ApiError>',
41
+ :'trace_id' => :'String'
37
42
  }
38
43
  end
39
44
 
@@ -63,6 +68,10 @@ module VgsApiClient
63
68
  self.errors = value
64
69
  end
65
70
  end
71
+
72
+ if attributes.key?(:'trace_id')
73
+ self.trace_id = attributes[:'trace_id']
74
+ end
66
75
  end
67
76
 
68
77
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -98,7 +107,8 @@ module VgsApiClient
98
107
  def ==(o)
99
108
  return true if self.equal?(o)
100
109
  self.class == o.class &&
101
- errors == o.errors
110
+ errors == o.errors &&
111
+ trace_id == o.trace_id
102
112
  end
103
113
 
104
114
  # @see the `==` method
@@ -110,7 +120,7 @@ module VgsApiClient
110
120
  # Calculates hash code according to all attributes.
111
121
  # @return [Integer] Hash code
112
122
  def hash
113
- [errors].hash
123
+ [errors, trace_id].hash
114
124
  end
115
125
 
116
126
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module VgsApiClient
14
- VERSION = '0.0.1.alpha202205231750'
14
+ VERSION = '0.0.1.alpha202205231754'
15
15
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module VGS
2
- VERSION = '0.0.1.alpha202205231750'
2
+ VERSION = '0.0.1.alpha202205231754'
3
3
  end
@@ -3,7 +3,7 @@
3
3
  LIB_VERSION=${LIB_VERSION:-0.0.1.alpha$(date "+%Y%m%d%H%M")}
4
4
 
5
5
  # fix version
6
- grep -rl 0.0.1.alpha202205231750 . | xargs sed -i "s/0.0.1.alpha202205231750/${LIB_VERSION}/g"
6
+ grep -rl 0.0.1.alpha202205231754 . | xargs sed -i "s/0.0.1.alpha202205231754/${LIB_VERSION}/g"
7
7
 
8
8
  # build
9
9
  gem build vgs_api_client.gemspec
data/scripts/test/run.sh CHANGED
@@ -5,7 +5,7 @@ set -e
5
5
  echo "Installing lib from local sources"
6
6
  # fix version
7
7
  VERSION=0.0.1.alpha$(date "+%Y%m%d%H%M")
8
- grep -rl 0.0.1.alpha202205231750 . | xargs sed -i "s/0.0.1.alpha202205231750/$VERSION/g"
8
+ grep -rl 0.0.1.alpha202205231754 . | xargs sed -i "s/0.0.1.alpha202205231754/$VERSION/g"
9
9
 
10
10
  bundle install
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vgs_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha202205231750
4
+ version: 0.0.1.alpha202205231754
5
5
  platform: ruby
6
6
  authors:
7
7
  - Very Good Security