akeyless 3.3.8 → 3.3.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,12 @@ module Akeyless
18
18
  # for personal password manager
19
19
  attr_accessor :accessibility
20
20
 
21
+ # For Password Management use, additional fields
22
+ attr_accessor :custom_field
23
+
24
+ # For Password Management use, reflect the website context
25
+ attr_accessor :inject_url
26
+
21
27
  # Set output format to JSON
22
28
  attr_accessor :json
23
29
 
@@ -37,16 +43,7 @@ module Akeyless
37
43
  attr_accessor :new_version
38
44
 
39
45
  # For Password Management use, additional fields
40
- attr_accessor :password_manager_custom_field
41
-
42
- # For Password Management use, reflect the website context
43
- attr_accessor :password_manager_inject_url
44
-
45
- # For Password Management use, additional fields
46
- attr_accessor :password_manager_password
47
-
48
- # For Password Management use
49
- attr_accessor :password_manager_username
46
+ attr_accessor :password
50
47
 
51
48
  # Authentication token (see `/auth` and `/configure`)
52
49
  attr_accessor :token
@@ -54,6 +51,9 @@ module Akeyless
54
51
  # The universal identity token, Required only for universal_identity authentication
55
52
  attr_accessor :uid_token
56
53
 
54
+ # For Password Management use
55
+ attr_accessor :username
56
+
57
57
  # The new secret value
58
58
  attr_accessor :value
59
59
 
@@ -61,18 +61,18 @@ module Akeyless
61
61
  def self.attribute_map
62
62
  {
63
63
  :'accessibility' => :'accessibility',
64
+ :'custom_field' => :'custom-field',
65
+ :'inject_url' => :'inject-url',
64
66
  :'json' => :'json',
65
67
  :'keep_prev_version' => :'keep-prev-version',
66
68
  :'key' => :'key',
67
69
  :'multiline' => :'multiline',
68
70
  :'name' => :'name',
69
71
  :'new_version' => :'new-version',
70
- :'password_manager_custom_field' => :'password-manager-custom-field',
71
- :'password_manager_inject_url' => :'password-manager-inject-url',
72
- :'password_manager_password' => :'password-manager-password',
73
- :'password_manager_username' => :'password-manager-username',
72
+ :'password' => :'password',
74
73
  :'token' => :'token',
75
74
  :'uid_token' => :'uid-token',
75
+ :'username' => :'username',
76
76
  :'value' => :'value'
77
77
  }
78
78
  end
@@ -86,18 +86,18 @@ module Akeyless
86
86
  def self.openapi_types
87
87
  {
88
88
  :'accessibility' => :'String',
89
+ :'custom_field' => :'Hash<String, String>',
90
+ :'inject_url' => :'Array<String>',
89
91
  :'json' => :'Boolean',
90
92
  :'keep_prev_version' => :'String',
91
93
  :'key' => :'String',
92
94
  :'multiline' => :'Boolean',
93
95
  :'name' => :'String',
94
96
  :'new_version' => :'Boolean',
95
- :'password_manager_custom_field' => :'Hash<String, String>',
96
- :'password_manager_inject_url' => :'Array<String>',
97
- :'password_manager_password' => :'String',
98
- :'password_manager_username' => :'String',
97
+ :'password' => :'String',
99
98
  :'token' => :'String',
100
99
  :'uid_token' => :'String',
100
+ :'username' => :'String',
101
101
  :'value' => :'String'
102
102
  }
103
103
  end
@@ -129,6 +129,18 @@ module Akeyless
129
129
  self.accessibility = 'regular'
130
130
  end
131
131
 
132
+ if attributes.key?(:'custom_field')
133
+ if (value = attributes[:'custom_field']).is_a?(Hash)
134
+ self.custom_field = value
135
+ end
136
+ end
137
+
138
+ if attributes.key?(:'inject_url')
139
+ if (value = attributes[:'inject_url']).is_a?(Array)
140
+ self.inject_url = value
141
+ end
142
+ end
143
+
132
144
  if attributes.key?(:'json')
133
145
  self.json = attributes[:'json']
134
146
  else
@@ -155,24 +167,8 @@ module Akeyless
155
167
  self.new_version = attributes[:'new_version']
156
168
  end
157
169
 
158
- if attributes.key?(:'password_manager_custom_field')
159
- if (value = attributes[:'password_manager_custom_field']).is_a?(Hash)
160
- self.password_manager_custom_field = value
161
- end
162
- end
163
-
164
- if attributes.key?(:'password_manager_inject_url')
165
- if (value = attributes[:'password_manager_inject_url']).is_a?(Array)
166
- self.password_manager_inject_url = value
167
- end
168
- end
169
-
170
- if attributes.key?(:'password_manager_password')
171
- self.password_manager_password = attributes[:'password_manager_password']
172
- end
173
-
174
- if attributes.key?(:'password_manager_username')
175
- self.password_manager_username = attributes[:'password_manager_username']
170
+ if attributes.key?(:'password')
171
+ self.password = attributes[:'password']
176
172
  end
177
173
 
178
174
  if attributes.key?(:'token')
@@ -183,6 +179,10 @@ module Akeyless
183
179
  self.uid_token = attributes[:'uid_token']
184
180
  end
185
181
 
182
+ if attributes.key?(:'username')
183
+ self.username = attributes[:'username']
184
+ end
185
+
186
186
  if attributes.key?(:'value')
187
187
  self.value = attributes[:'value']
188
188
  end
@@ -217,18 +217,18 @@ module Akeyless
217
217
  return true if self.equal?(o)
218
218
  self.class == o.class &&
219
219
  accessibility == o.accessibility &&
220
+ custom_field == o.custom_field &&
221
+ inject_url == o.inject_url &&
220
222
  json == o.json &&
221
223
  keep_prev_version == o.keep_prev_version &&
222
224
  key == o.key &&
223
225
  multiline == o.multiline &&
224
226
  name == o.name &&
225
227
  new_version == o.new_version &&
226
- password_manager_custom_field == o.password_manager_custom_field &&
227
- password_manager_inject_url == o.password_manager_inject_url &&
228
- password_manager_password == o.password_manager_password &&
229
- password_manager_username == o.password_manager_username &&
228
+ password == o.password &&
230
229
  token == o.token &&
231
230
  uid_token == o.uid_token &&
231
+ username == o.username &&
232
232
  value == o.value
233
233
  end
234
234
 
@@ -241,7 +241,7 @@ module Akeyless
241
241
  # Calculates hash code according to all attributes.
242
242
  # @return [Integer] Hash code
243
243
  def hash
244
- [accessibility, json, keep_prev_version, key, multiline, name, new_version, password_manager_custom_field, password_manager_inject_url, password_manager_password, password_manager_username, token, uid_token, value].hash
244
+ [accessibility, custom_field, inject_url, json, keep_prev_version, key, multiline, name, new_version, password, token, uid_token, username, value].hash
245
245
  end
246
246
 
247
247
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 7.0.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Akeyless
14
- VERSION = '3.3.8'
14
+ VERSION = '3.3.9'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akeyless
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.8
4
+ version: 3.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-12 00:00:00.000000000 Z
11
+ date: 2023-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -2563,7 +2563,7 @@ homepage: https://openapi-generator.tech
2563
2563
  licenses:
2564
2564
  - Unlicense
2565
2565
  metadata: {}
2566
- post_install_message:
2566
+ post_install_message:
2567
2567
  rdoc_options: []
2568
2568
  require_paths:
2569
2569
  - lib
@@ -2579,7 +2579,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2579
2579
  version: '0'
2580
2580
  requirements: []
2581
2581
  rubygems_version: 3.4.10
2582
- signing_key:
2582
+ signing_key:
2583
2583
  specification_version: 4
2584
2584
  summary: Akeyless API Ruby Gem
2585
2585
  test_files: