akeyless 5.0.13 → 5.0.14
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/README.md +12 -1
- data/docs/CreateESM.md +2 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateUSC.md +2 -0
- data/docs/DecryptWithClassicKey.md +2 -0
- data/docs/DynamicSecretCreateGcp.md +2 -0
- data/docs/DynamicSecretUpdateGcp.md +2 -0
- data/docs/EncryptWithClassicKey.md +2 -0
- data/docs/FolderCreate.md +34 -0
- data/docs/FolderCreateOutput.md +18 -0
- data/docs/FolderDelete.md +28 -0
- data/docs/FolderGet.md +28 -0
- data/docs/FolderGetOutput.md +18 -0
- data/docs/FolderUpdate.md +36 -0
- data/docs/GatewayCreateProducerGcp.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +2 -0
- data/docs/GetFolderOutput.md +36 -0
- data/docs/V2Api.md +252 -0
- data/lib/akeyless/api/v2_api.rb +256 -0
- data/lib/akeyless/models/create_esm.rb +11 -1
- data/lib/akeyless/models/create_role.rb +13 -1
- data/lib/akeyless/models/create_usc.rb +11 -1
- data/lib/akeyless/models/decrypt_with_classic_key.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +11 -1
- data/lib/akeyless/models/encrypt_with_classic_key.rb +13 -1
- data/lib/akeyless/models/folder_create.rb +308 -0
- data/lib/akeyless/models/folder_create_output.rb +214 -0
- data/lib/akeyless/models/folder_delete.rb +276 -0
- data/lib/akeyless/models/folder_get.rb +276 -0
- data/lib/akeyless/models/folder_get_output.rb +214 -0
- data/lib/akeyless/models/folder_update.rb +320 -0
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +11 -1
- data/lib/akeyless/models/get_folder_output.rb +298 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +7 -0
- data/spec/models/folder_create_output_spec.rb +36 -0
- data/spec/models/folder_create_spec.rb +84 -0
- data/spec/models/folder_delete_spec.rb +66 -0
- data/spec/models/folder_get_output_spec.rb +36 -0
- data/spec/models/folder_get_spec.rb +66 -0
- data/spec/models/folder_update_spec.rb +90 -0
- data/spec/models/get_folder_output_spec.rb +90 -0
- metadata +29 -1
|
@@ -0,0 +1,298 @@
|
|
|
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: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
# GetFolderOutput is the result of the getFolder operation
|
|
18
|
+
class GetFolderOutput
|
|
19
|
+
attr_accessor :access_date
|
|
20
|
+
|
|
21
|
+
attr_accessor :access_date_display
|
|
22
|
+
|
|
23
|
+
attr_accessor :accessibility
|
|
24
|
+
|
|
25
|
+
attr_accessor :creation_date
|
|
26
|
+
|
|
27
|
+
attr_accessor :delete_protection
|
|
28
|
+
|
|
29
|
+
attr_accessor :folder_id
|
|
30
|
+
|
|
31
|
+
attr_accessor :folder_name
|
|
32
|
+
|
|
33
|
+
attr_accessor :metadata
|
|
34
|
+
|
|
35
|
+
attr_accessor :modification_date
|
|
36
|
+
|
|
37
|
+
attr_accessor :tags
|
|
38
|
+
|
|
39
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
|
+
def self.attribute_map
|
|
41
|
+
{
|
|
42
|
+
:'access_date' => :'access_date',
|
|
43
|
+
:'access_date_display' => :'access_date_display',
|
|
44
|
+
:'accessibility' => :'accessibility',
|
|
45
|
+
:'creation_date' => :'creation_date',
|
|
46
|
+
:'delete_protection' => :'delete_protection',
|
|
47
|
+
:'folder_id' => :'folder_id',
|
|
48
|
+
:'folder_name' => :'folder_name',
|
|
49
|
+
:'metadata' => :'metadata',
|
|
50
|
+
:'modification_date' => :'modification_date',
|
|
51
|
+
:'tags' => :'tags'
|
|
52
|
+
}
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Returns all the JSON keys this model knows about
|
|
56
|
+
def self.acceptable_attributes
|
|
57
|
+
attribute_map.values
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Attribute type mapping.
|
|
61
|
+
def self.openapi_types
|
|
62
|
+
{
|
|
63
|
+
:'access_date' => :'Time',
|
|
64
|
+
:'access_date_display' => :'String',
|
|
65
|
+
:'accessibility' => :'Integer',
|
|
66
|
+
:'creation_date' => :'Time',
|
|
67
|
+
:'delete_protection' => :'Boolean',
|
|
68
|
+
:'folder_id' => :'Integer',
|
|
69
|
+
:'folder_name' => :'String',
|
|
70
|
+
:'metadata' => :'String',
|
|
71
|
+
:'modification_date' => :'Time',
|
|
72
|
+
:'tags' => :'Array<String>'
|
|
73
|
+
}
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# List of attributes with nullable: true
|
|
77
|
+
def self.openapi_nullable
|
|
78
|
+
Set.new([
|
|
79
|
+
])
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Initializes the object
|
|
83
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
84
|
+
def initialize(attributes = {})
|
|
85
|
+
if (!attributes.is_a?(Hash))
|
|
86
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::GetFolderOutput` initialize method"
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
90
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
91
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
92
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::GetFolderOutput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
93
|
+
end
|
|
94
|
+
h[k.to_sym] = v
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
if attributes.key?(:'access_date')
|
|
98
|
+
self.access_date = attributes[:'access_date']
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
if attributes.key?(:'access_date_display')
|
|
102
|
+
self.access_date_display = attributes[:'access_date_display']
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
if attributes.key?(:'accessibility')
|
|
106
|
+
self.accessibility = attributes[:'accessibility']
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'creation_date')
|
|
110
|
+
self.creation_date = attributes[:'creation_date']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
if attributes.key?(:'delete_protection')
|
|
114
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
if attributes.key?(:'folder_id')
|
|
118
|
+
self.folder_id = attributes[:'folder_id']
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
if attributes.key?(:'folder_name')
|
|
122
|
+
self.folder_name = attributes[:'folder_name']
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
if attributes.key?(:'metadata')
|
|
126
|
+
self.metadata = attributes[:'metadata']
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
if attributes.key?(:'modification_date')
|
|
130
|
+
self.modification_date = attributes[:'modification_date']
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
if attributes.key?(:'tags')
|
|
134
|
+
if (value = attributes[:'tags']).is_a?(Array)
|
|
135
|
+
self.tags = value
|
|
136
|
+
end
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
141
|
+
# @return Array for valid properties with the reasons
|
|
142
|
+
def list_invalid_properties
|
|
143
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
144
|
+
invalid_properties = Array.new
|
|
145
|
+
invalid_properties
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# Check to see if the all the properties in the model are valid
|
|
149
|
+
# @return true if the model is valid
|
|
150
|
+
def valid?
|
|
151
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
152
|
+
true
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# Checks equality by comparing each attribute.
|
|
156
|
+
# @param [Object] Object to be compared
|
|
157
|
+
def ==(o)
|
|
158
|
+
return true if self.equal?(o)
|
|
159
|
+
self.class == o.class &&
|
|
160
|
+
access_date == o.access_date &&
|
|
161
|
+
access_date_display == o.access_date_display &&
|
|
162
|
+
accessibility == o.accessibility &&
|
|
163
|
+
creation_date == o.creation_date &&
|
|
164
|
+
delete_protection == o.delete_protection &&
|
|
165
|
+
folder_id == o.folder_id &&
|
|
166
|
+
folder_name == o.folder_name &&
|
|
167
|
+
metadata == o.metadata &&
|
|
168
|
+
modification_date == o.modification_date &&
|
|
169
|
+
tags == o.tags
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# @see the `==` method
|
|
173
|
+
# @param [Object] Object to be compared
|
|
174
|
+
def eql?(o)
|
|
175
|
+
self == o
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# Calculates hash code according to all attributes.
|
|
179
|
+
# @return [Integer] Hash code
|
|
180
|
+
def hash
|
|
181
|
+
[access_date, access_date_display, accessibility, creation_date, delete_protection, folder_id, folder_name, metadata, modification_date, tags].hash
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Builds the object from hash
|
|
185
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
186
|
+
# @return [Object] Returns the model itself
|
|
187
|
+
def self.build_from_hash(attributes)
|
|
188
|
+
return nil unless attributes.is_a?(Hash)
|
|
189
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
190
|
+
transformed_hash = {}
|
|
191
|
+
openapi_types.each_pair do |key, type|
|
|
192
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
193
|
+
transformed_hash["#{key}"] = nil
|
|
194
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
195
|
+
# check to ensure the input is an array given that the attribute
|
|
196
|
+
# is documented as an array but the input is not
|
|
197
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
198
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
199
|
+
end
|
|
200
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
201
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
new(transformed_hash)
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# Deserializes the data based on type
|
|
208
|
+
# @param string type Data type
|
|
209
|
+
# @param string value Value to be deserialized
|
|
210
|
+
# @return [Object] Deserialized data
|
|
211
|
+
def self._deserialize(type, value)
|
|
212
|
+
case type.to_sym
|
|
213
|
+
when :Time
|
|
214
|
+
Time.parse(value)
|
|
215
|
+
when :Date
|
|
216
|
+
Date.parse(value)
|
|
217
|
+
when :String
|
|
218
|
+
value.to_s
|
|
219
|
+
when :Integer
|
|
220
|
+
value.to_i
|
|
221
|
+
when :Float
|
|
222
|
+
value.to_f
|
|
223
|
+
when :Boolean
|
|
224
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
225
|
+
true
|
|
226
|
+
else
|
|
227
|
+
false
|
|
228
|
+
end
|
|
229
|
+
when :Object
|
|
230
|
+
# generic object (usually a Hash), return directly
|
|
231
|
+
value
|
|
232
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
233
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
234
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
235
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
236
|
+
k_type = Regexp.last_match[:k_type]
|
|
237
|
+
v_type = Regexp.last_match[:v_type]
|
|
238
|
+
{}.tap do |hash|
|
|
239
|
+
value.each do |k, v|
|
|
240
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
else # model
|
|
244
|
+
# models (e.g. Pet) or oneOf
|
|
245
|
+
klass = Akeyless.const_get(type)
|
|
246
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
# Returns the string representation of the object
|
|
251
|
+
# @return [String] String presentation of the object
|
|
252
|
+
def to_s
|
|
253
|
+
to_hash.to_s
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
257
|
+
# @return [Hash] Returns the object in the form of hash
|
|
258
|
+
def to_body
|
|
259
|
+
to_hash
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# Returns the object in the form of hash
|
|
263
|
+
# @return [Hash] Returns the object in the form of hash
|
|
264
|
+
def to_hash
|
|
265
|
+
hash = {}
|
|
266
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
267
|
+
value = self.send(attr)
|
|
268
|
+
if value.nil?
|
|
269
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
270
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
hash[param] = _to_hash(value)
|
|
274
|
+
end
|
|
275
|
+
hash
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# Outputs non-array value in the form of hash
|
|
279
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
280
|
+
# @param [Object] value Any valid value
|
|
281
|
+
# @return [Hash] Returns the value in the form of hash
|
|
282
|
+
def _to_hash(value)
|
|
283
|
+
if value.is_a?(Array)
|
|
284
|
+
value.compact.map { |v| _to_hash(v) }
|
|
285
|
+
elsif value.is_a?(Hash)
|
|
286
|
+
{}.tap do |hash|
|
|
287
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
288
|
+
end
|
|
289
|
+
elsif value.respond_to? :to_hash
|
|
290
|
+
value.to_hash
|
|
291
|
+
else
|
|
292
|
+
value
|
|
293
|
+
end
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
end
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
|
@@ -417,6 +417,12 @@ require 'akeyless/models/export_classic_key'
|
|
|
417
417
|
require 'akeyless/models/export_classic_key_output'
|
|
418
418
|
require 'akeyless/models/extension'
|
|
419
419
|
require 'akeyless/models/external_kms_key_id'
|
|
420
|
+
require 'akeyless/models/folder_create'
|
|
421
|
+
require 'akeyless/models/folder_create_output'
|
|
422
|
+
require 'akeyless/models/folder_delete'
|
|
423
|
+
require 'akeyless/models/folder_get'
|
|
424
|
+
require 'akeyless/models/folder_get_output'
|
|
425
|
+
require 'akeyless/models/folder_update'
|
|
420
426
|
require 'akeyless/models/gcp_access_rules'
|
|
421
427
|
require 'akeyless/models/gcp_payload'
|
|
422
428
|
require 'akeyless/models/gcp_secrets_migration'
|
|
@@ -628,6 +634,7 @@ require 'akeyless/models/get_certificate_value_output'
|
|
|
628
634
|
require 'akeyless/models/get_dynamic_secret_value'
|
|
629
635
|
require 'akeyless/models/get_event_forwarder'
|
|
630
636
|
require 'akeyless/models/get_event_forwarder_output'
|
|
637
|
+
require 'akeyless/models/get_folder_output'
|
|
631
638
|
require 'akeyless/models/get_group'
|
|
632
639
|
require 'akeyless/models/get_group_output'
|
|
633
640
|
require 'akeyless/models/get_kube_exec_creds'
|
|
@@ -0,0 +1,36 @@
|
|
|
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: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::FolderCreateOutput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::FolderCreateOutput do
|
|
21
|
+
let(:instance) { Akeyless::FolderCreateOutput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FolderCreateOutput' do
|
|
24
|
+
it 'should create an instance of FolderCreateOutput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::FolderCreateOutput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "folder_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,84 @@
|
|
|
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: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::FolderCreate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::FolderCreate do
|
|
21
|
+
let(:instance) { Akeyless::FolderCreate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FolderCreate' do
|
|
24
|
+
it 'should create an instance of FolderCreate' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::FolderCreate)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "accessibility"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "delete_protection"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "description"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "json"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "name"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "tags"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "token"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "type"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "uid_token"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
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: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::FolderDelete
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::FolderDelete do
|
|
21
|
+
let(:instance) { Akeyless::FolderDelete.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FolderDelete' do
|
|
24
|
+
it 'should create an instance of FolderDelete' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::FolderDelete)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "accessibility"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "json"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "name"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "token"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "type"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "uid_token"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
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: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::FolderGetOutput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::FolderGetOutput do
|
|
21
|
+
let(:instance) { Akeyless::FolderGetOutput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FolderGetOutput' do
|
|
24
|
+
it 'should create an instance of FolderGetOutput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::FolderGetOutput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "folder"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
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: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::FolderGet
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::FolderGet do
|
|
21
|
+
let(:instance) { Akeyless::FolderGet.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FolderGet' do
|
|
24
|
+
it 'should create an instance of FolderGet' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::FolderGet)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "accessibility"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "json"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "name"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "token"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "type"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "uid_token"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
end
|