akeyless 4.2.1 → 4.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,8 @@ module Akeyless
19
19
 
20
20
  attr_accessor :certificate_chain_info
21
21
 
22
+ attr_accessor :certificate_format
23
+
22
24
  attr_accessor :certificates_template_info
23
25
 
24
26
  attr_accessor :classic_key_details
@@ -48,6 +50,7 @@ module Akeyless
48
50
  {
49
51
  :'cert_issue_details' => :'cert_issue_details',
50
52
  :'certificate_chain_info' => :'certificate_chain_info',
53
+ :'certificate_format' => :'certificate_format',
51
54
  :'certificates_template_info' => :'certificates_template_info',
52
55
  :'classic_key_details' => :'classic_key_details',
53
56
  :'cluster_gw_url' => :'cluster_gw_url',
@@ -73,6 +76,7 @@ module Akeyless
73
76
  {
74
77
  :'cert_issue_details' => :'CertificateIssueInfo',
75
78
  :'certificate_chain_info' => :'CertificateChainInfo',
79
+ :'certificate_format' => :'String',
76
80
  :'certificates_template_info' => :'CertificateTemplateInfo',
77
81
  :'classic_key_details' => :'ClassicKeyDetailsInfo',
78
82
  :'cluster_gw_url' => :'String',
@@ -117,6 +121,10 @@ module Akeyless
117
121
  self.certificate_chain_info = attributes[:'certificate_chain_info']
118
122
  end
119
123
 
124
+ if attributes.key?(:'certificate_format')
125
+ self.certificate_format = attributes[:'certificate_format']
126
+ end
127
+
120
128
  if attributes.key?(:'certificates_template_info')
121
129
  self.certificates_template_info = attributes[:'certificates_template_info']
122
130
  end
@@ -188,6 +196,7 @@ module Akeyless
188
196
  self.class == o.class &&
189
197
  cert_issue_details == o.cert_issue_details &&
190
198
  certificate_chain_info == o.certificate_chain_info &&
199
+ certificate_format == o.certificate_format &&
191
200
  certificates_template_info == o.certificates_template_info &&
192
201
  classic_key_details == o.classic_key_details &&
193
202
  cluster_gw_url == o.cluster_gw_url &&
@@ -211,7 +220,7 @@ module Akeyless
211
220
  # Calculates hash code according to all attributes.
212
221
  # @return [Integer] Hash code
213
222
  def hash
214
- [cert_issue_details, certificate_chain_info, certificates_template_info, classic_key_details, cluster_gw_url, display_metadata, dynamic_secret_producer_details, importer_info, oidc_client_info, password_policy, rotated_secret_details, secure_remote_access_details, static_secret_info, tokenizer_info].hash
223
+ [cert_issue_details, certificate_chain_info, certificate_format, certificates_template_info, classic_key_details, cluster_gw_url, display_metadata, dynamic_secret_producer_details, importer_info, oidc_client_info, password_policy, rotated_secret_details, secure_remote_access_details, static_secret_info, tokenizer_info].hash
215
224
  end
216
225
 
217
226
  # Builds the object from hash
@@ -21,6 +21,8 @@ module Akeyless
21
21
  # Certificate in a PEM format.
22
22
  attr_accessor :cert_file_data
23
23
 
24
+ attr_accessor :certificate_format
25
+
24
26
  # The customer fragment ID that will be used to split the key (if empty, the key will be created independently of a customer fragment)
25
27
  attr_accessor :customer_frg_id
26
28
 
@@ -62,6 +64,7 @@ module Akeyless
62
64
  {
63
65
  :'alg' => :'alg',
64
66
  :'cert_file_data' => :'cert-file-data',
67
+ :'certificate_format' => :'certificate-format',
65
68
  :'customer_frg_id' => :'customer-frg-id',
66
69
  :'delete_protection' => :'delete_protection',
67
70
  :'description' => :'description',
@@ -87,6 +90,7 @@ module Akeyless
87
90
  {
88
91
  :'alg' => :'String',
89
92
  :'cert_file_data' => :'String',
93
+ :'certificate_format' => :'String',
90
94
  :'customer_frg_id' => :'String',
91
95
  :'delete_protection' => :'String',
92
96
  :'description' => :'String',
@@ -133,6 +137,10 @@ module Akeyless
133
137
  self.cert_file_data = attributes[:'cert_file_data']
134
138
  end
135
139
 
140
+ if attributes.key?(:'certificate_format')
141
+ self.certificate_format = attributes[:'certificate_format']
142
+ end
143
+
136
144
  if attributes.key?(:'customer_frg_id')
137
145
  self.customer_frg_id = attributes[:'customer_frg_id']
138
146
  end
@@ -224,6 +232,7 @@ module Akeyless
224
232
  self.class == o.class &&
225
233
  alg == o.alg &&
226
234
  cert_file_data == o.cert_file_data &&
235
+ certificate_format == o.certificate_format &&
227
236
  customer_frg_id == o.customer_frg_id &&
228
237
  delete_protection == o.delete_protection &&
229
238
  description == o.description &&
@@ -247,7 +256,7 @@ module Akeyless
247
256
  # Calculates hash code according to all attributes.
248
257
  # @return [Integer] Hash code
249
258
  def hash
250
- [alg, cert_file_data, customer_frg_id, delete_protection, description, json, metadata, name, overwrite, rsa_file_data, split_level, tag, token, uid_token].hash
259
+ [alg, cert_file_data, certificate_format, customer_frg_id, delete_protection, description, json, metadata, name, overwrite, rsa_file_data, split_level, tag, token, uid_token].hash
251
260
  end
252
261
 
253
262
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.8.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Akeyless
14
- VERSION = '4.2.1'
14
+ VERSION = '4.2.2'
15
15
  end
data/lib/akeyless.rb CHANGED
@@ -84,6 +84,8 @@ require 'akeyless/models/azure_payload'
84
84
  require 'akeyless/models/azure_target_details'
85
85
  require 'akeyless/models/bastion_list_entry'
86
86
  require 'akeyless/models/bastions_list'
87
+ require 'akeyless/models/batch_encryption_request_line'
88
+ require 'akeyless/models/batch_encryption_response_line'
87
89
  require 'akeyless/models/cf_config_part'
88
90
  require 'akeyless/models/cache_config_part'
89
91
  require 'akeyless/models/cert_access_rules'
@@ -0,0 +1,54 @@
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
+ Generator version: 7.8.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Akeyless::BatchEncryptionRequestLine
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::BatchEncryptionRequestLine do
21
+ let(:instance) { Akeyless::BatchEncryptionRequestLine.new }
22
+
23
+ describe 'test an instance of BatchEncryptionRequestLine' do
24
+ it 'should create an instance of BatchEncryptionRequestLine' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Akeyless::BatchEncryptionRequestLine)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "context"' 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 "data"' 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 "item_id"' 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 "item_version"' 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
+ end
@@ -0,0 +1,42 @@
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
+ Generator version: 7.8.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Akeyless::BatchEncryptionResponseLine
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::BatchEncryptionResponseLine do
21
+ let(:instance) { Akeyless::BatchEncryptionResponseLine.new }
22
+
23
+ describe 'test an instance of BatchEncryptionResponseLine' do
24
+ it 'should create an instance of BatchEncryptionResponseLine' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Akeyless::BatchEncryptionResponseLine)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "data"' 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 "error"' 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
+ end