akeyless 3.1.2 → 3.2.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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -1
  3. data/docs/CreatePingTarget.md +38 -0
  4. data/docs/CreatePingTargetOutput.md +18 -0
  5. data/docs/CreateRotatedSecret.md +2 -0
  6. data/docs/DSProducerDetails.md +40 -0
  7. data/docs/GatewayCreateProducerPing.md +66 -0
  8. data/docs/GatewayCreateProducerPingOutput.md +18 -0
  9. data/docs/GatewayUpdateProducerPing.md +68 -0
  10. data/docs/GatewayUpdateProducerPingOutput.md +18 -0
  11. data/docs/GetKubeExecCreds.md +5 -3
  12. data/docs/GetPKICertificate.md +5 -3
  13. data/docs/SecureRemoteAccess.md +2 -0
  14. data/docs/TargetTypeDetailsInput.md +10 -0
  15. data/docs/UpdatePingTarget.md +44 -0
  16. data/docs/UpdateRotatedSecret.md +2 -0
  17. data/docs/V2Api.md +252 -0
  18. data/lib/akeyless/api/v2_api.rb +256 -0
  19. data/lib/akeyless/models/create_ping_target.rb +329 -0
  20. data/lib/akeyless/models/create_ping_target_output.rb +219 -0
  21. data/lib/akeyless/models/create_rotated_secret.rb +13 -1
  22. data/lib/akeyless/models/ds_producer_details.rb +196 -1
  23. data/lib/akeyless/models/gateway_create_producer_ping.rb +482 -0
  24. data/lib/akeyless/models/gateway_create_producer_ping_output.rb +219 -0
  25. data/lib/akeyless/models/gateway_update_producer_ping.rb +492 -0
  26. data/lib/akeyless/models/gateway_update_producer_ping_output.rb +219 -0
  27. data/lib/akeyless/models/get_kube_exec_creds.rb +14 -4
  28. data/lib/akeyless/models/get_pki_certificate.rb +14 -4
  29. data/lib/akeyless/models/secure_remote_access.rb +10 -1
  30. data/lib/akeyless/models/target_type_details_input.rb +46 -1
  31. data/lib/akeyless/models/update_ping_target.rb +358 -0
  32. data/lib/akeyless/models/update_rotated_secret.rb +13 -1
  33. data/lib/akeyless/version.rb +1 -1
  34. data/lib/akeyless.rb +7 -0
  35. data/spec/models/create_ping_target_output_spec.rb +34 -0
  36. data/spec/models/create_ping_target_spec.rb +94 -0
  37. data/spec/models/gateway_create_producer_ping_output_spec.rb +34 -0
  38. data/spec/models/gateway_create_producer_ping_spec.rb +178 -0
  39. data/spec/models/gateway_update_producer_ping_output_spec.rb +34 -0
  40. data/spec/models/gateway_update_producer_ping_spec.rb +184 -0
  41. data/spec/models/update_ping_target_spec.rb +112 -0
  42. metadata +590 -562
@@ -0,0 +1,358 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 2.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ class UpdatePingTarget
18
+ # Ping Federate administrative port
19
+ attr_accessor :administrative_port
20
+
21
+ # Ping Federate authorization port
22
+ attr_accessor :authorization_port
23
+
24
+ # Comment about the target
25
+ attr_accessor :comment
26
+
27
+ # Set output format to JSON
28
+ attr_accessor :json
29
+
30
+ attr_accessor :keep_prev_version
31
+
32
+ # The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
33
+ attr_accessor :key
34
+
35
+ # Target name
36
+ attr_accessor :name
37
+
38
+ # New target name
39
+ attr_accessor :new_name
40
+
41
+ # Ping Federate privileged user password
42
+ attr_accessor :password
43
+
44
+ # Ping URL
45
+ attr_accessor :ping_url
46
+
47
+ # Ping Federate privileged user
48
+ attr_accessor :privileged_user
49
+
50
+ # Authentication token (see `/auth` and `/configure`)
51
+ attr_accessor :token
52
+
53
+ # The universal identity token, Required only for universal_identity authentication
54
+ attr_accessor :uid_token
55
+
56
+ # Deprecated
57
+ attr_accessor :update_version
58
+
59
+ # Attribute mapping from ruby-style variable name to JSON key.
60
+ def self.attribute_map
61
+ {
62
+ :'administrative_port' => :'administrative-port',
63
+ :'authorization_port' => :'authorization-port',
64
+ :'comment' => :'comment',
65
+ :'json' => :'json',
66
+ :'keep_prev_version' => :'keep-prev-version',
67
+ :'key' => :'key',
68
+ :'name' => :'name',
69
+ :'new_name' => :'new-name',
70
+ :'password' => :'password',
71
+ :'ping_url' => :'ping-url',
72
+ :'privileged_user' => :'privileged-user',
73
+ :'token' => :'token',
74
+ :'uid_token' => :'uid-token',
75
+ :'update_version' => :'update-version'
76
+ }
77
+ end
78
+
79
+ # Returns all the JSON keys this model knows about
80
+ def self.acceptable_attributes
81
+ attribute_map.values
82
+ end
83
+
84
+ # Attribute type mapping.
85
+ def self.openapi_types
86
+ {
87
+ :'administrative_port' => :'String',
88
+ :'authorization_port' => :'String',
89
+ :'comment' => :'String',
90
+ :'json' => :'Boolean',
91
+ :'keep_prev_version' => :'String',
92
+ :'key' => :'String',
93
+ :'name' => :'String',
94
+ :'new_name' => :'String',
95
+ :'password' => :'String',
96
+ :'ping_url' => :'String',
97
+ :'privileged_user' => :'String',
98
+ :'token' => :'String',
99
+ :'uid_token' => :'String',
100
+ :'update_version' => :'Boolean'
101
+ }
102
+ end
103
+
104
+ # List of attributes with nullable: true
105
+ def self.openapi_nullable
106
+ Set.new([
107
+ ])
108
+ end
109
+
110
+ # Initializes the object
111
+ # @param [Hash] attributes Model attributes in the form of hash
112
+ def initialize(attributes = {})
113
+ if (!attributes.is_a?(Hash))
114
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::UpdatePingTarget` initialize method"
115
+ end
116
+
117
+ # check to see if the attribute exists and convert string to symbol for hash key
118
+ attributes = attributes.each_with_object({}) { |(k, v), h|
119
+ if (!self.class.attribute_map.key?(k.to_sym))
120
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::UpdatePingTarget`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
121
+ end
122
+ h[k.to_sym] = v
123
+ }
124
+
125
+ if attributes.key?(:'administrative_port')
126
+ self.administrative_port = attributes[:'administrative_port']
127
+ else
128
+ self.administrative_port = '9999'
129
+ end
130
+
131
+ if attributes.key?(:'authorization_port')
132
+ self.authorization_port = attributes[:'authorization_port']
133
+ else
134
+ self.authorization_port = '9031'
135
+ end
136
+
137
+ if attributes.key?(:'comment')
138
+ self.comment = attributes[:'comment']
139
+ end
140
+
141
+ if attributes.key?(:'json')
142
+ self.json = attributes[:'json']
143
+ end
144
+
145
+ if attributes.key?(:'keep_prev_version')
146
+ self.keep_prev_version = attributes[:'keep_prev_version']
147
+ end
148
+
149
+ if attributes.key?(:'key')
150
+ self.key = attributes[:'key']
151
+ end
152
+
153
+ if attributes.key?(:'name')
154
+ self.name = attributes[:'name']
155
+ end
156
+
157
+ if attributes.key?(:'new_name')
158
+ self.new_name = attributes[:'new_name']
159
+ end
160
+
161
+ if attributes.key?(:'password')
162
+ self.password = attributes[:'password']
163
+ end
164
+
165
+ if attributes.key?(:'ping_url')
166
+ self.ping_url = attributes[:'ping_url']
167
+ end
168
+
169
+ if attributes.key?(:'privileged_user')
170
+ self.privileged_user = attributes[:'privileged_user']
171
+ end
172
+
173
+ if attributes.key?(:'token')
174
+ self.token = attributes[:'token']
175
+ end
176
+
177
+ if attributes.key?(:'uid_token')
178
+ self.uid_token = attributes[:'uid_token']
179
+ end
180
+
181
+ if attributes.key?(:'update_version')
182
+ self.update_version = attributes[:'update_version']
183
+ end
184
+ end
185
+
186
+ # Show invalid properties with the reasons. Usually used together with valid?
187
+ # @return Array for valid properties with the reasons
188
+ def list_invalid_properties
189
+ invalid_properties = Array.new
190
+ if @name.nil?
191
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
192
+ end
193
+
194
+ invalid_properties
195
+ end
196
+
197
+ # Check to see if the all the properties in the model are valid
198
+ # @return true if the model is valid
199
+ def valid?
200
+ return false if @name.nil?
201
+ true
202
+ end
203
+
204
+ # Checks equality by comparing each attribute.
205
+ # @param [Object] Object to be compared
206
+ def ==(o)
207
+ return true if self.equal?(o)
208
+ self.class == o.class &&
209
+ administrative_port == o.administrative_port &&
210
+ authorization_port == o.authorization_port &&
211
+ comment == o.comment &&
212
+ json == o.json &&
213
+ keep_prev_version == o.keep_prev_version &&
214
+ key == o.key &&
215
+ name == o.name &&
216
+ new_name == o.new_name &&
217
+ password == o.password &&
218
+ ping_url == o.ping_url &&
219
+ privileged_user == o.privileged_user &&
220
+ token == o.token &&
221
+ uid_token == o.uid_token &&
222
+ update_version == o.update_version
223
+ end
224
+
225
+ # @see the `==` method
226
+ # @param [Object] Object to be compared
227
+ def eql?(o)
228
+ self == o
229
+ end
230
+
231
+ # Calculates hash code according to all attributes.
232
+ # @return [Integer] Hash code
233
+ def hash
234
+ [administrative_port, authorization_port, comment, json, keep_prev_version, key, name, new_name, password, ping_url, privileged_user, token, uid_token, update_version].hash
235
+ end
236
+
237
+ # Builds the object from hash
238
+ # @param [Hash] attributes Model attributes in the form of hash
239
+ # @return [Object] Returns the model itself
240
+ def self.build_from_hash(attributes)
241
+ new.build_from_hash(attributes)
242
+ end
243
+
244
+ # Builds the object from hash
245
+ # @param [Hash] attributes Model attributes in the form of hash
246
+ # @return [Object] Returns the model itself
247
+ def build_from_hash(attributes)
248
+ return nil unless attributes.is_a?(Hash)
249
+ attributes = attributes.transform_keys(&:to_sym)
250
+ self.class.openapi_types.each_pair do |key, type|
251
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
252
+ self.send("#{key}=", nil)
253
+ elsif type =~ /\AArray<(.*)>/i
254
+ # check to ensure the input is an array given that the attribute
255
+ # is documented as an array but the input is not
256
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
257
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
258
+ end
259
+ elsif !attributes[self.class.attribute_map[key]].nil?
260
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
261
+ end
262
+ end
263
+
264
+ self
265
+ end
266
+
267
+ # Deserializes the data based on type
268
+ # @param string type Data type
269
+ # @param string value Value to be deserialized
270
+ # @return [Object] Deserialized data
271
+ def _deserialize(type, value)
272
+ case type.to_sym
273
+ when :Time
274
+ Time.parse(value)
275
+ when :Date
276
+ Date.parse(value)
277
+ when :String
278
+ value.to_s
279
+ when :Integer
280
+ value.to_i
281
+ when :Float
282
+ value.to_f
283
+ when :Boolean
284
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
285
+ true
286
+ else
287
+ false
288
+ end
289
+ when :Object
290
+ # generic object (usually a Hash), return directly
291
+ value
292
+ when /\AArray<(?<inner_type>.+)>\z/
293
+ inner_type = Regexp.last_match[:inner_type]
294
+ value.map { |v| _deserialize(inner_type, v) }
295
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
296
+ k_type = Regexp.last_match[:k_type]
297
+ v_type = Regexp.last_match[:v_type]
298
+ {}.tap do |hash|
299
+ value.each do |k, v|
300
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
301
+ end
302
+ end
303
+ else # model
304
+ # models (e.g. Pet) or oneOf
305
+ klass = Akeyless.const_get(type)
306
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
307
+ end
308
+ end
309
+
310
+ # Returns the string representation of the object
311
+ # @return [String] String presentation of the object
312
+ def to_s
313
+ to_hash.to_s
314
+ end
315
+
316
+ # to_body is an alias to to_hash (backward compatibility)
317
+ # @return [Hash] Returns the object in the form of hash
318
+ def to_body
319
+ to_hash
320
+ end
321
+
322
+ # Returns the object in the form of hash
323
+ # @return [Hash] Returns the object in the form of hash
324
+ def to_hash
325
+ hash = {}
326
+ self.class.attribute_map.each_pair do |attr, param|
327
+ value = self.send(attr)
328
+ if value.nil?
329
+ is_nullable = self.class.openapi_nullable.include?(attr)
330
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
331
+ end
332
+
333
+ hash[param] = _to_hash(value)
334
+ end
335
+ hash
336
+ end
337
+
338
+ # Outputs non-array value in the form of hash
339
+ # For object, use to_hash. Otherwise, just return the value
340
+ # @param [Object] value Any valid value
341
+ # @return [Hash] Returns the value in the form of hash
342
+ def _to_hash(value)
343
+ if value.is_a?(Array)
344
+ value.compact.map { |v| _to_hash(v) }
345
+ elsif value.is_a?(Hash)
346
+ {}.tap do |hash|
347
+ value.each { |k, v| hash[k] = _to_hash(v) }
348
+ end
349
+ elsif value.respond_to? :to_hash
350
+ value.to_hash
351
+ else
352
+ value
353
+ end
354
+ end
355
+
356
+ end
357
+
358
+ end
@@ -60,6 +60,9 @@ module Akeyless
60
60
  # List of the existent tags that will be removed from this item
61
61
  attr_accessor :rm_tag
62
62
 
63
+ # Rotate the value of the secret after SRA session ends
64
+ attr_accessor :rotate_after_disconnect
65
+
63
66
  attr_accessor :rotated_password
64
67
 
65
68
  attr_accessor :rotated_username
@@ -146,6 +149,7 @@ module Akeyless
146
149
  :'new_name' => :'new-name',
147
150
  :'new_version' => :'new-version',
148
151
  :'rm_tag' => :'rm-tag',
152
+ :'rotate_after_disconnect' => :'rotate-after-disconnect',
149
153
  :'rotated_password' => :'rotated-password',
150
154
  :'rotated_username' => :'rotated-username',
151
155
  :'rotation_hour' => :'rotation-hour',
@@ -197,6 +201,7 @@ module Akeyless
197
201
  :'new_name' => :'String',
198
202
  :'new_version' => :'Boolean',
199
203
  :'rm_tag' => :'Array<String>',
204
+ :'rotate_after_disconnect' => :'String',
200
205
  :'rotated_password' => :'String',
201
206
  :'rotated_username' => :'String',
202
207
  :'rotation_hour' => :'Integer',
@@ -319,6 +324,12 @@ module Akeyless
319
324
  end
320
325
  end
321
326
 
327
+ if attributes.key?(:'rotate_after_disconnect')
328
+ self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
329
+ else
330
+ self.rotate_after_disconnect = 'false'
331
+ end
332
+
322
333
  if attributes.key?(:'rotated_password')
323
334
  self.rotated_password = attributes[:'rotated_password']
324
335
  end
@@ -465,6 +476,7 @@ module Akeyless
465
476
  new_name == o.new_name &&
466
477
  new_version == o.new_version &&
467
478
  rm_tag == o.rm_tag &&
479
+ rotate_after_disconnect == o.rotate_after_disconnect &&
468
480
  rotated_password == o.rotated_password &&
469
481
  rotated_username == o.rotated_username &&
470
482
  rotation_hour == o.rotation_hour &&
@@ -500,7 +512,7 @@ module Akeyless
500
512
  # Calculates hash code according to all attributes.
501
513
  # @return [Integer] Hash code
502
514
  def hash
503
- [add_tag, api_id, api_key, auto_rotate, aws_region, custom_payload, description, gcp_key, json, keep_prev_version, key, name, new_metadata, new_name, new_version, rm_tag, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, token, uid_token].hash
515
+ [add_tag, api_id, api_key, auto_rotate, aws_region, custom_payload, description, gcp_key, json, keep_prev_version, key, name, new_metadata, new_name, new_version, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, token, uid_token].hash
504
516
  end
505
517
 
506
518
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.3.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Akeyless
14
- VERSION = '3.1.2'
14
+ VERSION = '3.2.0'
15
15
  end
data/lib/akeyless.rb CHANGED
@@ -118,6 +118,8 @@ require 'akeyless/models/create_native_k8_s_target'
118
118
  require 'akeyless/models/create_native_k8_s_target_output'
119
119
  require 'akeyless/models/create_pki_cert_issuer'
120
120
  require 'akeyless/models/create_pki_cert_issuer_output'
121
+ require 'akeyless/models/create_ping_target'
122
+ require 'akeyless/models/create_ping_target_output'
121
123
  require 'akeyless/models/create_rabbit_mq_target'
122
124
  require 'akeyless/models/create_rabbit_mq_target_output'
123
125
  require 'akeyless/models/create_role'
@@ -239,6 +241,8 @@ require 'akeyless/models/gateway_create_producer_native_k8_s'
239
241
  require 'akeyless/models/gateway_create_producer_native_k8_s_output'
240
242
  require 'akeyless/models/gateway_create_producer_oracle_db'
241
243
  require 'akeyless/models/gateway_create_producer_oracle_db_output'
244
+ require 'akeyless/models/gateway_create_producer_ping'
245
+ require 'akeyless/models/gateway_create_producer_ping_output'
242
246
  require 'akeyless/models/gateway_create_producer_postgre_sql'
243
247
  require 'akeyless/models/gateway_create_producer_postgre_sql_output'
244
248
  require 'akeyless/models/gateway_create_producer_rabbit_mq'
@@ -327,6 +331,8 @@ require 'akeyless/models/gateway_update_producer_native_k8_s'
327
331
  require 'akeyless/models/gateway_update_producer_native_k8_s_output'
328
332
  require 'akeyless/models/gateway_update_producer_oracle_db'
329
333
  require 'akeyless/models/gateway_update_producer_oracle_db_output'
334
+ require 'akeyless/models/gateway_update_producer_ping'
335
+ require 'akeyless/models/gateway_update_producer_ping_output'
330
336
  require 'akeyless/models/gateway_update_producer_postgre_sql'
331
337
  require 'akeyless/models/gateway_update_producer_postgre_sql_output'
332
338
  require 'akeyless/models/gateway_update_producer_rabbit_mq'
@@ -570,6 +576,7 @@ require 'akeyless/models/update_native_k8_s_target_output'
570
576
  require 'akeyless/models/update_output'
571
577
  require 'akeyless/models/update_pki_cert_issuer'
572
578
  require 'akeyless/models/update_pki_cert_issuer_output'
579
+ require 'akeyless/models/update_ping_target'
573
580
  require 'akeyless/models/update_rdp_target_details'
574
581
  require 'akeyless/models/update_rabbit_mq_target'
575
582
  require 'akeyless/models/update_rabbit_mq_target_details'
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 2.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Akeyless::CreatePingTargetOutput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::CreatePingTargetOutput do
21
+ let(:instance) { Akeyless::CreatePingTargetOutput.new }
22
+
23
+ describe 'test an instance of CreatePingTargetOutput' do
24
+ it 'should create an instance of CreatePingTargetOutput' do
25
+ expect(instance).to be_instance_of(Akeyless::CreatePingTargetOutput)
26
+ end
27
+ end
28
+ describe 'test attribute "target_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
+ end
@@ -0,0 +1,94 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 2.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Akeyless::CreatePingTarget
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::CreatePingTarget do
21
+ let(:instance) { Akeyless::CreatePingTarget.new }
22
+
23
+ describe 'test an instance of CreatePingTarget' do
24
+ it 'should create an instance of CreatePingTarget' do
25
+ expect(instance).to be_instance_of(Akeyless::CreatePingTarget)
26
+ end
27
+ end
28
+ describe 'test attribute "administrative_port"' 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 "authorization_port"' 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 "comment"' 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 "json"' 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 "key"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "name"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "password"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "ping_url"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "privileged_user"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "token"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "uid_token"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 2.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Akeyless::GatewayCreateProducerPingOutput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::GatewayCreateProducerPingOutput do
21
+ let(:instance) { Akeyless::GatewayCreateProducerPingOutput.new }
22
+
23
+ describe 'test an instance of GatewayCreateProducerPingOutput' do
24
+ it 'should create an instance of GatewayCreateProducerPingOutput' do
25
+ expect(instance).to be_instance_of(Akeyless::GatewayCreateProducerPingOutput)
26
+ end
27
+ end
28
+ describe 'test attribute "producer_details"' 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
+ end