akeyless 3.2.0 → 3.2.2
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 +2 -1
- data/docs/CreateAWSTarget.md +3 -1
- data/docs/CreateArtifactoryTarget.md +3 -1
- data/docs/CreateAzureTarget.md +3 -1
- data/docs/CreateDBTarget.md +3 -1
- data/docs/CreateDockerhubTarget.md +3 -1
- data/docs/CreateEKSTarget.md +3 -1
- data/docs/CreateEventForwarder.md +3 -1
- data/docs/CreateGKETarget.md +3 -1
- data/docs/CreateGcpTarget.md +3 -1
- data/docs/CreateGithubTarget.md +3 -1
- data/docs/CreateLdapTarget.md +3 -1
- data/docs/CreateNativeK8STarget.md +3 -1
- data/docs/CreatePingTarget.md +3 -1
- data/docs/CreateRabbitMQTarget.md +3 -1
- data/docs/CreateRole.md +3 -1
- data/docs/CreateSSHTarget.md +3 -1
- data/docs/CreateSalesforceTarget.md +3 -1
- data/docs/CreateWebTarget.md +3 -1
- data/docs/GatewayCreateProducerEks.md +1 -1
- data/docs/GatewayUpdateProducerEks.md +1 -1
- data/docs/ImporterInfo.md +20 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/RequestAccess.md +3 -1
- data/docs/UidCreateChildToken.md +3 -1
- data/docs/UpdateAWSTarget.md +3 -1
- data/docs/UpdateArtifactoryTarget.md +3 -1
- data/docs/UpdateAzureTarget.md +3 -1
- data/docs/UpdateDBTarget.md +3 -1
- data/docs/UpdateDockerhubTarget.md +3 -1
- data/docs/UpdateEKSTarget.md +3 -1
- data/docs/UpdateEventForwarder.md +3 -1
- data/docs/UpdateGKETarget.md +3 -1
- data/docs/UpdateGcpTarget.md +3 -1
- data/docs/UpdateGithubTarget.md +3 -1
- data/docs/UpdateLdapTarget.md +3 -1
- data/docs/UpdateNativeK8STarget.md +3 -1
- data/docs/UpdatePingTarget.md +3 -1
- data/docs/UpdateRabbitMQTarget.md +3 -1
- data/docs/UpdateRole.md +3 -1
- data/docs/UpdateSSHTarget.md +3 -1
- data/docs/UpdateSalesforceTarget.md +3 -1
- data/docs/UpdateTarget.md +3 -1
- data/docs/UpdateWebTarget.md +3 -1
- data/lib/akeyless/models/create_artifactory_target.rb +12 -2
- data/lib/akeyless/models/create_aws_target.rb +12 -2
- data/lib/akeyless/models/create_azure_target.rb +12 -2
- data/lib/akeyless/models/create_db_target.rb +12 -2
- data/lib/akeyless/models/create_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/create_eks_target.rb +12 -2
- data/lib/akeyless/models/create_event_forwarder.rb +12 -2
- data/lib/akeyless/models/create_gcp_target.rb +12 -2
- data/lib/akeyless/models/create_github_target.rb +12 -2
- data/lib/akeyless/models/create_gke_target.rb +12 -2
- data/lib/akeyless/models/create_ldap_target.rb +12 -2
- data/lib/akeyless/models/create_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/create_ping_target.rb +12 -2
- data/lib/akeyless/models/create_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/create_role.rb +12 -2
- data/lib/akeyless/models/create_salesforce_target.rb +12 -2
- data/lib/akeyless/models/create_ssh_target.rb +12 -2
- data/lib/akeyless/models/create_web_target.rb +12 -2
- data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
- data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
- data/lib/akeyless/models/importer_info.rb +228 -0
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/request_access.rb +12 -2
- data/lib/akeyless/models/uid_create_child_token.rb +12 -2
- data/lib/akeyless/models/update_artifactory_target.rb +12 -2
- data/lib/akeyless/models/update_aws_target.rb +12 -2
- data/lib/akeyless/models/update_azure_target.rb +12 -2
- data/lib/akeyless/models/update_db_target.rb +12 -2
- data/lib/akeyless/models/update_dockerhub_target.rb +12 -2
- data/lib/akeyless/models/update_eks_target.rb +12 -2
- data/lib/akeyless/models/update_event_forwarder.rb +14 -2
- data/lib/akeyless/models/update_gcp_target.rb +12 -2
- data/lib/akeyless/models/update_github_target.rb +12 -2
- data/lib/akeyless/models/update_gke_target.rb +12 -2
- data/lib/akeyless/models/update_ldap_target.rb +12 -2
- data/lib/akeyless/models/update_native_k8_s_target.rb +12 -2
- data/lib/akeyless/models/update_ping_target.rb +12 -2
- data/lib/akeyless/models/update_rabbit_mq_target.rb +12 -2
- data/lib/akeyless/models/update_role.rb +14 -2
- data/lib/akeyless/models/update_salesforce_target.rb +12 -2
- data/lib/akeyless/models/update_ssh_target.rb +12 -2
- data/lib/akeyless/models/update_target.rb +14 -2
- data/lib/akeyless/models/update_web_target.rb +12 -2
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +1 -0
- data/spec/models/importer_info_spec.rb +40 -0
- metadata +6 -2
|
@@ -15,9 +15,12 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UpdateEKSTarget
|
|
18
|
-
#
|
|
18
|
+
# Deprecated - use description
|
|
19
19
|
attr_accessor :comment
|
|
20
20
|
|
|
21
|
+
# Description of the object
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
21
24
|
# Access Key ID
|
|
22
25
|
attr_accessor :eks_access_key_id
|
|
23
26
|
|
|
@@ -65,6 +68,7 @@ module Akeyless
|
|
|
65
68
|
def self.attribute_map
|
|
66
69
|
{
|
|
67
70
|
:'comment' => :'comment',
|
|
71
|
+
:'description' => :'description',
|
|
68
72
|
:'eks_access_key_id' => :'eks-access-key-id',
|
|
69
73
|
:'eks_cluster_ca_cert' => :'eks-cluster-ca-cert',
|
|
70
74
|
:'eks_cluster_endpoint' => :'eks-cluster-endpoint',
|
|
@@ -92,6 +96,7 @@ module Akeyless
|
|
|
92
96
|
def self.openapi_types
|
|
93
97
|
{
|
|
94
98
|
:'comment' => :'String',
|
|
99
|
+
:'description' => :'String',
|
|
95
100
|
:'eks_access_key_id' => :'String',
|
|
96
101
|
:'eks_cluster_ca_cert' => :'String',
|
|
97
102
|
:'eks_cluster_endpoint' => :'String',
|
|
@@ -135,6 +140,10 @@ module Akeyless
|
|
|
135
140
|
self.comment = attributes[:'comment']
|
|
136
141
|
end
|
|
137
142
|
|
|
143
|
+
if attributes.key?(:'description')
|
|
144
|
+
self.description = attributes[:'description']
|
|
145
|
+
end
|
|
146
|
+
|
|
138
147
|
if attributes.key?(:'eks_access_key_id')
|
|
139
148
|
self.eks_access_key_id = attributes[:'eks_access_key_id']
|
|
140
149
|
end
|
|
@@ -247,6 +256,7 @@ module Akeyless
|
|
|
247
256
|
return true if self.equal?(o)
|
|
248
257
|
self.class == o.class &&
|
|
249
258
|
comment == o.comment &&
|
|
259
|
+
description == o.description &&
|
|
250
260
|
eks_access_key_id == o.eks_access_key_id &&
|
|
251
261
|
eks_cluster_ca_cert == o.eks_cluster_ca_cert &&
|
|
252
262
|
eks_cluster_endpoint == o.eks_cluster_endpoint &&
|
|
@@ -273,7 +283,7 @@ module Akeyless
|
|
|
273
283
|
# Calculates hash code according to all attributes.
|
|
274
284
|
# @return [Integer] Hash code
|
|
275
285
|
def hash
|
|
276
|
-
[comment, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, use_gw_cloud_identity].hash
|
|
286
|
+
[comment, description, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, use_gw_cloud_identity].hash
|
|
277
287
|
end
|
|
278
288
|
|
|
279
289
|
# Builds the object from hash
|
|
@@ -18,6 +18,9 @@ module Akeyless
|
|
|
18
18
|
# Workstation Admin Name
|
|
19
19
|
attr_accessor :admin_name
|
|
20
20
|
|
|
21
|
+
# Description of the object
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
21
24
|
# A comma seperated list of email addresses to send event to (relevant only for \\\"email\\\" Event Forwarder)
|
|
22
25
|
attr_accessor :email_to
|
|
23
26
|
|
|
@@ -39,7 +42,7 @@ module Akeyless
|
|
|
39
42
|
# EventForwarder name
|
|
40
43
|
attr_accessor :name
|
|
41
44
|
|
|
42
|
-
#
|
|
45
|
+
# Deprecated - use description
|
|
43
46
|
attr_accessor :new_comment
|
|
44
47
|
|
|
45
48
|
# New EventForwarder name
|
|
@@ -55,6 +58,7 @@ module Akeyless
|
|
|
55
58
|
def self.attribute_map
|
|
56
59
|
{
|
|
57
60
|
:'admin_name' => :'admin-name',
|
|
61
|
+
:'description' => :'description',
|
|
58
62
|
:'email_to' => :'email-to',
|
|
59
63
|
:'enable' => :'enable',
|
|
60
64
|
:'event_source_locations' => :'event-source-locations',
|
|
@@ -78,6 +82,7 @@ module Akeyless
|
|
|
78
82
|
def self.openapi_types
|
|
79
83
|
{
|
|
80
84
|
:'admin_name' => :'String',
|
|
85
|
+
:'description' => :'String',
|
|
81
86
|
:'email_to' => :'String',
|
|
82
87
|
:'enable' => :'String',
|
|
83
88
|
:'event_source_locations' => :'Array<String>',
|
|
@@ -117,6 +122,12 @@ module Akeyless
|
|
|
117
122
|
self.admin_name = attributes[:'admin_name']
|
|
118
123
|
end
|
|
119
124
|
|
|
125
|
+
if attributes.key?(:'description')
|
|
126
|
+
self.description = attributes[:'description']
|
|
127
|
+
else
|
|
128
|
+
self.description = 'default_comment'
|
|
129
|
+
end
|
|
130
|
+
|
|
120
131
|
if attributes.key?(:'email_to')
|
|
121
132
|
self.email_to = attributes[:'email_to']
|
|
122
133
|
end
|
|
@@ -192,6 +203,7 @@ module Akeyless
|
|
|
192
203
|
return true if self.equal?(o)
|
|
193
204
|
self.class == o.class &&
|
|
194
205
|
admin_name == o.admin_name &&
|
|
206
|
+
description == o.description &&
|
|
195
207
|
email_to == o.email_to &&
|
|
196
208
|
enable == o.enable &&
|
|
197
209
|
event_source_locations == o.event_source_locations &&
|
|
@@ -214,7 +226,7 @@ module Akeyless
|
|
|
214
226
|
# Calculates hash code according to all attributes.
|
|
215
227
|
# @return [Integer] Hash code
|
|
216
228
|
def hash
|
|
217
|
-
[admin_name, email_to, enable, event_source_locations, event_types, host, json, name, new_comment, new_name, token, uid_token].hash
|
|
229
|
+
[admin_name, description, email_to, enable, event_source_locations, event_types, host, json, name, new_comment, new_name, token, uid_token].hash
|
|
218
230
|
end
|
|
219
231
|
|
|
220
232
|
# Builds the object from hash
|
|
@@ -15,9 +15,12 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UpdateGcpTarget
|
|
18
|
-
#
|
|
18
|
+
# Deprecated - use description
|
|
19
19
|
attr_accessor :comment
|
|
20
20
|
|
|
21
|
+
# Description of the object
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
21
24
|
# Base64-encoded service account private key text
|
|
22
25
|
attr_accessor :gcp_key
|
|
23
26
|
|
|
@@ -50,6 +53,7 @@ module Akeyless
|
|
|
50
53
|
def self.attribute_map
|
|
51
54
|
{
|
|
52
55
|
:'comment' => :'comment',
|
|
56
|
+
:'description' => :'description',
|
|
53
57
|
:'gcp_key' => :'gcp-key',
|
|
54
58
|
:'json' => :'json',
|
|
55
59
|
:'keep_prev_version' => :'keep-prev-version',
|
|
@@ -72,6 +76,7 @@ module Akeyless
|
|
|
72
76
|
def self.openapi_types
|
|
73
77
|
{
|
|
74
78
|
:'comment' => :'String',
|
|
79
|
+
:'description' => :'String',
|
|
75
80
|
:'gcp_key' => :'String',
|
|
76
81
|
:'json' => :'Boolean',
|
|
77
82
|
:'keep_prev_version' => :'String',
|
|
@@ -110,6 +115,10 @@ module Akeyless
|
|
|
110
115
|
self.comment = attributes[:'comment']
|
|
111
116
|
end
|
|
112
117
|
|
|
118
|
+
if attributes.key?(:'description')
|
|
119
|
+
self.description = attributes[:'description']
|
|
120
|
+
end
|
|
121
|
+
|
|
113
122
|
if attributes.key?(:'gcp_key')
|
|
114
123
|
self.gcp_key = attributes[:'gcp_key']
|
|
115
124
|
end
|
|
@@ -175,6 +184,7 @@ module Akeyless
|
|
|
175
184
|
return true if self.equal?(o)
|
|
176
185
|
self.class == o.class &&
|
|
177
186
|
comment == o.comment &&
|
|
187
|
+
description == o.description &&
|
|
178
188
|
gcp_key == o.gcp_key &&
|
|
179
189
|
json == o.json &&
|
|
180
190
|
keep_prev_version == o.keep_prev_version &&
|
|
@@ -196,7 +206,7 @@ module Akeyless
|
|
|
196
206
|
# Calculates hash code according to all attributes.
|
|
197
207
|
# @return [Integer] Hash code
|
|
198
208
|
def hash
|
|
199
|
-
[comment, gcp_key, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, use_gw_cloud_identity].hash
|
|
209
|
+
[comment, description, gcp_key, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, use_gw_cloud_identity].hash
|
|
200
210
|
end
|
|
201
211
|
|
|
202
212
|
# Builds the object from hash
|
|
@@ -15,9 +15,12 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UpdateGithubTarget
|
|
18
|
-
#
|
|
18
|
+
# Deprecated - use description
|
|
19
19
|
attr_accessor :comment
|
|
20
20
|
|
|
21
|
+
# Description of the object
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
21
24
|
# Github app id
|
|
22
25
|
attr_accessor :github_app_id
|
|
23
26
|
|
|
@@ -54,6 +57,7 @@ module Akeyless
|
|
|
54
57
|
def self.attribute_map
|
|
55
58
|
{
|
|
56
59
|
:'comment' => :'comment',
|
|
60
|
+
:'description' => :'description',
|
|
57
61
|
:'github_app_id' => :'github-app-id',
|
|
58
62
|
:'github_app_private_key' => :'github-app-private-key',
|
|
59
63
|
:'github_base_url' => :'github-base-url',
|
|
@@ -77,6 +81,7 @@ module Akeyless
|
|
|
77
81
|
def self.openapi_types
|
|
78
82
|
{
|
|
79
83
|
:'comment' => :'String',
|
|
84
|
+
:'description' => :'String',
|
|
80
85
|
:'github_app_id' => :'Integer',
|
|
81
86
|
:'github_app_private_key' => :'String',
|
|
82
87
|
:'github_base_url' => :'String',
|
|
@@ -116,6 +121,10 @@ module Akeyless
|
|
|
116
121
|
self.comment = attributes[:'comment']
|
|
117
122
|
end
|
|
118
123
|
|
|
124
|
+
if attributes.key?(:'description')
|
|
125
|
+
self.description = attributes[:'description']
|
|
126
|
+
end
|
|
127
|
+
|
|
119
128
|
if attributes.key?(:'github_app_id')
|
|
120
129
|
self.github_app_id = attributes[:'github_app_id']
|
|
121
130
|
end
|
|
@@ -185,6 +194,7 @@ module Akeyless
|
|
|
185
194
|
return true if self.equal?(o)
|
|
186
195
|
self.class == o.class &&
|
|
187
196
|
comment == o.comment &&
|
|
197
|
+
description == o.description &&
|
|
188
198
|
github_app_id == o.github_app_id &&
|
|
189
199
|
github_app_private_key == o.github_app_private_key &&
|
|
190
200
|
github_base_url == o.github_base_url &&
|
|
@@ -207,7 +217,7 @@ module Akeyless
|
|
|
207
217
|
# Calculates hash code according to all attributes.
|
|
208
218
|
# @return [Integer] Hash code
|
|
209
219
|
def hash
|
|
210
|
-
[comment, github_app_id, github_app_private_key, github_base_url, json, keep_prev_version, key, name, new_name, token, uid_token, update_version].hash
|
|
220
|
+
[comment, description, github_app_id, github_app_private_key, github_base_url, json, keep_prev_version, key, name, new_name, token, uid_token, update_version].hash
|
|
211
221
|
end
|
|
212
222
|
|
|
213
223
|
# Builds the object from hash
|
|
@@ -15,9 +15,12 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UpdateGKETarget
|
|
18
|
-
#
|
|
18
|
+
# Deprecated - use description
|
|
19
19
|
attr_accessor :comment
|
|
20
20
|
|
|
21
|
+
# Description of the object
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
21
24
|
# GKE Service Account key file path
|
|
22
25
|
attr_accessor :gke_account_key
|
|
23
26
|
|
|
@@ -62,6 +65,7 @@ module Akeyless
|
|
|
62
65
|
def self.attribute_map
|
|
63
66
|
{
|
|
64
67
|
:'comment' => :'comment',
|
|
68
|
+
:'description' => :'description',
|
|
65
69
|
:'gke_account_key' => :'gke-account-key',
|
|
66
70
|
:'gke_cluster_cert' => :'gke-cluster-cert',
|
|
67
71
|
:'gke_cluster_endpoint' => :'gke-cluster-endpoint',
|
|
@@ -88,6 +92,7 @@ module Akeyless
|
|
|
88
92
|
def self.openapi_types
|
|
89
93
|
{
|
|
90
94
|
:'comment' => :'String',
|
|
95
|
+
:'description' => :'String',
|
|
91
96
|
:'gke_account_key' => :'String',
|
|
92
97
|
:'gke_cluster_cert' => :'String',
|
|
93
98
|
:'gke_cluster_endpoint' => :'String',
|
|
@@ -130,6 +135,10 @@ module Akeyless
|
|
|
130
135
|
self.comment = attributes[:'comment']
|
|
131
136
|
end
|
|
132
137
|
|
|
138
|
+
if attributes.key?(:'description')
|
|
139
|
+
self.description = attributes[:'description']
|
|
140
|
+
end
|
|
141
|
+
|
|
133
142
|
if attributes.key?(:'gke_account_key')
|
|
134
143
|
self.gke_account_key = attributes[:'gke_account_key']
|
|
135
144
|
end
|
|
@@ -211,6 +220,7 @@ module Akeyless
|
|
|
211
220
|
return true if self.equal?(o)
|
|
212
221
|
self.class == o.class &&
|
|
213
222
|
comment == o.comment &&
|
|
223
|
+
description == o.description &&
|
|
214
224
|
gke_account_key == o.gke_account_key &&
|
|
215
225
|
gke_cluster_cert == o.gke_cluster_cert &&
|
|
216
226
|
gke_cluster_endpoint == o.gke_cluster_endpoint &&
|
|
@@ -236,7 +246,7 @@ module Akeyless
|
|
|
236
246
|
# Calculates hash code according to all attributes.
|
|
237
247
|
# @return [Integer] Hash code
|
|
238
248
|
def hash
|
|
239
|
-
[comment, gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, use_gw_cloud_identity].hash
|
|
249
|
+
[comment, description, gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, json, keep_prev_version, key, name, new_name, token, uid_token, update_version, use_gw_cloud_identity].hash
|
|
240
250
|
end
|
|
241
251
|
|
|
242
252
|
# Builds the object from hash
|
|
@@ -19,9 +19,12 @@ module Akeyless
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :bind_dn_password
|
|
21
21
|
|
|
22
|
-
#
|
|
22
|
+
# Deprecated - use description
|
|
23
23
|
attr_accessor :comment
|
|
24
24
|
|
|
25
|
+
# Description of the object
|
|
26
|
+
attr_accessor :description
|
|
27
|
+
|
|
25
28
|
# Set output format to JSON
|
|
26
29
|
attr_accessor :json
|
|
27
30
|
|
|
@@ -60,6 +63,7 @@ module Akeyless
|
|
|
60
63
|
:'bind_dn' => :'bind-dn',
|
|
61
64
|
:'bind_dn_password' => :'bind-dn-password',
|
|
62
65
|
:'comment' => :'comment',
|
|
66
|
+
:'description' => :'description',
|
|
63
67
|
:'json' => :'json',
|
|
64
68
|
:'keep_prev_version' => :'keep-prev-version',
|
|
65
69
|
:'key' => :'key',
|
|
@@ -86,6 +90,7 @@ module Akeyless
|
|
|
86
90
|
:'bind_dn' => :'String',
|
|
87
91
|
:'bind_dn_password' => :'String',
|
|
88
92
|
:'comment' => :'String',
|
|
93
|
+
:'description' => :'String',
|
|
89
94
|
:'json' => :'Boolean',
|
|
90
95
|
:'keep_prev_version' => :'String',
|
|
91
96
|
:'key' => :'String',
|
|
@@ -134,6 +139,10 @@ module Akeyless
|
|
|
134
139
|
self.comment = attributes[:'comment']
|
|
135
140
|
end
|
|
136
141
|
|
|
142
|
+
if attributes.key?(:'description')
|
|
143
|
+
self.description = attributes[:'description']
|
|
144
|
+
end
|
|
145
|
+
|
|
137
146
|
if attributes.key?(:'json')
|
|
138
147
|
self.json = attributes[:'json']
|
|
139
148
|
end
|
|
@@ -209,6 +218,7 @@ module Akeyless
|
|
|
209
218
|
bind_dn == o.bind_dn &&
|
|
210
219
|
bind_dn_password == o.bind_dn_password &&
|
|
211
220
|
comment == o.comment &&
|
|
221
|
+
description == o.description &&
|
|
212
222
|
json == o.json &&
|
|
213
223
|
keep_prev_version == o.keep_prev_version &&
|
|
214
224
|
key == o.key &&
|
|
@@ -232,7 +242,7 @@ module Akeyless
|
|
|
232
242
|
# Calculates hash code according to all attributes.
|
|
233
243
|
# @return [Integer] Hash code
|
|
234
244
|
def hash
|
|
235
|
-
[bind_dn, bind_dn_password, comment, json, keep_prev_version, key, ldap_ca_cert, ldap_url, name, new_name, server_type, token, token_expiration, uid_token, update_version].hash
|
|
245
|
+
[bind_dn, bind_dn_password, comment, description, json, keep_prev_version, key, ldap_ca_cert, ldap_url, name, new_name, server_type, token, token_expiration, uid_token, update_version].hash
|
|
236
246
|
end
|
|
237
247
|
|
|
238
248
|
# Builds the object from hash
|
|
@@ -15,9 +15,12 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UpdateNativeK8STarget
|
|
18
|
-
#
|
|
18
|
+
# Deprecated - use description
|
|
19
19
|
attr_accessor :comment
|
|
20
20
|
|
|
21
|
+
# Description of the object
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
21
24
|
# Set output format to JSON
|
|
22
25
|
attr_accessor :json
|
|
23
26
|
|
|
@@ -54,6 +57,7 @@ module Akeyless
|
|
|
54
57
|
def self.attribute_map
|
|
55
58
|
{
|
|
56
59
|
:'comment' => :'comment',
|
|
60
|
+
:'description' => :'description',
|
|
57
61
|
:'json' => :'json',
|
|
58
62
|
:'k8s_cluster_ca_cert' => :'k8s-cluster-ca-cert',
|
|
59
63
|
:'k8s_cluster_endpoint' => :'k8s-cluster-endpoint',
|
|
@@ -77,6 +81,7 @@ module Akeyless
|
|
|
77
81
|
def self.openapi_types
|
|
78
82
|
{
|
|
79
83
|
:'comment' => :'String',
|
|
84
|
+
:'description' => :'String',
|
|
80
85
|
:'json' => :'Boolean',
|
|
81
86
|
:'k8s_cluster_ca_cert' => :'String',
|
|
82
87
|
:'k8s_cluster_endpoint' => :'String',
|
|
@@ -116,6 +121,10 @@ module Akeyless
|
|
|
116
121
|
self.comment = attributes[:'comment']
|
|
117
122
|
end
|
|
118
123
|
|
|
124
|
+
if attributes.key?(:'description')
|
|
125
|
+
self.description = attributes[:'description']
|
|
126
|
+
end
|
|
127
|
+
|
|
119
128
|
if attributes.key?(:'json')
|
|
120
129
|
self.json = attributes[:'json']
|
|
121
130
|
end
|
|
@@ -200,6 +209,7 @@ module Akeyless
|
|
|
200
209
|
return true if self.equal?(o)
|
|
201
210
|
self.class == o.class &&
|
|
202
211
|
comment == o.comment &&
|
|
212
|
+
description == o.description &&
|
|
203
213
|
json == o.json &&
|
|
204
214
|
k8s_cluster_ca_cert == o.k8s_cluster_ca_cert &&
|
|
205
215
|
k8s_cluster_endpoint == o.k8s_cluster_endpoint &&
|
|
@@ -222,7 +232,7 @@ module Akeyless
|
|
|
222
232
|
# Calculates hash code according to all attributes.
|
|
223
233
|
# @return [Integer] Hash code
|
|
224
234
|
def hash
|
|
225
|
-
[comment, json, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_token, keep_prev_version, key, name, new_name, token, uid_token, update_version].hash
|
|
235
|
+
[comment, description, json, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_token, keep_prev_version, key, name, new_name, token, uid_token, update_version].hash
|
|
226
236
|
end
|
|
227
237
|
|
|
228
238
|
# Builds the object from hash
|
|
@@ -21,9 +21,12 @@ module Akeyless
|
|
|
21
21
|
# Ping Federate authorization port
|
|
22
22
|
attr_accessor :authorization_port
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# Deprecated - use description
|
|
25
25
|
attr_accessor :comment
|
|
26
26
|
|
|
27
|
+
# Description of the object
|
|
28
|
+
attr_accessor :description
|
|
29
|
+
|
|
27
30
|
# Set output format to JSON
|
|
28
31
|
attr_accessor :json
|
|
29
32
|
|
|
@@ -62,6 +65,7 @@ module Akeyless
|
|
|
62
65
|
:'administrative_port' => :'administrative-port',
|
|
63
66
|
:'authorization_port' => :'authorization-port',
|
|
64
67
|
:'comment' => :'comment',
|
|
68
|
+
:'description' => :'description',
|
|
65
69
|
:'json' => :'json',
|
|
66
70
|
:'keep_prev_version' => :'keep-prev-version',
|
|
67
71
|
:'key' => :'key',
|
|
@@ -87,6 +91,7 @@ module Akeyless
|
|
|
87
91
|
:'administrative_port' => :'String',
|
|
88
92
|
:'authorization_port' => :'String',
|
|
89
93
|
:'comment' => :'String',
|
|
94
|
+
:'description' => :'String',
|
|
90
95
|
:'json' => :'Boolean',
|
|
91
96
|
:'keep_prev_version' => :'String',
|
|
92
97
|
:'key' => :'String',
|
|
@@ -138,6 +143,10 @@ module Akeyless
|
|
|
138
143
|
self.comment = attributes[:'comment']
|
|
139
144
|
end
|
|
140
145
|
|
|
146
|
+
if attributes.key?(:'description')
|
|
147
|
+
self.description = attributes[:'description']
|
|
148
|
+
end
|
|
149
|
+
|
|
141
150
|
if attributes.key?(:'json')
|
|
142
151
|
self.json = attributes[:'json']
|
|
143
152
|
end
|
|
@@ -209,6 +218,7 @@ module Akeyless
|
|
|
209
218
|
administrative_port == o.administrative_port &&
|
|
210
219
|
authorization_port == o.authorization_port &&
|
|
211
220
|
comment == o.comment &&
|
|
221
|
+
description == o.description &&
|
|
212
222
|
json == o.json &&
|
|
213
223
|
keep_prev_version == o.keep_prev_version &&
|
|
214
224
|
key == o.key &&
|
|
@@ -231,7 +241,7 @@ module Akeyless
|
|
|
231
241
|
# Calculates hash code according to all attributes.
|
|
232
242
|
# @return [Integer] Hash code
|
|
233
243
|
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
|
|
244
|
+
[administrative_port, authorization_port, comment, description, json, keep_prev_version, key, name, new_name, password, ping_url, privileged_user, token, uid_token, update_version].hash
|
|
235
245
|
end
|
|
236
246
|
|
|
237
247
|
# Builds the object from hash
|
|
@@ -15,9 +15,12 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UpdateRabbitMQTarget
|
|
18
|
-
#
|
|
18
|
+
# Deprecated - use description
|
|
19
19
|
attr_accessor :comment
|
|
20
20
|
|
|
21
|
+
# Description of the object
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
21
24
|
# Set output format to JSON
|
|
22
25
|
attr_accessor :json
|
|
23
26
|
|
|
@@ -51,6 +54,7 @@ module Akeyless
|
|
|
51
54
|
def self.attribute_map
|
|
52
55
|
{
|
|
53
56
|
:'comment' => :'comment',
|
|
57
|
+
:'description' => :'description',
|
|
54
58
|
:'json' => :'json',
|
|
55
59
|
:'keep_prev_version' => :'keep-prev-version',
|
|
56
60
|
:'key' => :'key',
|
|
@@ -74,6 +78,7 @@ module Akeyless
|
|
|
74
78
|
def self.openapi_types
|
|
75
79
|
{
|
|
76
80
|
:'comment' => :'String',
|
|
81
|
+
:'description' => :'String',
|
|
77
82
|
:'json' => :'Boolean',
|
|
78
83
|
:'keep_prev_version' => :'String',
|
|
79
84
|
:'key' => :'String',
|
|
@@ -113,6 +118,10 @@ module Akeyless
|
|
|
113
118
|
self.comment = attributes[:'comment']
|
|
114
119
|
end
|
|
115
120
|
|
|
121
|
+
if attributes.key?(:'description')
|
|
122
|
+
self.description = attributes[:'description']
|
|
123
|
+
end
|
|
124
|
+
|
|
116
125
|
if attributes.key?(:'json')
|
|
117
126
|
self.json = attributes[:'json']
|
|
118
127
|
end
|
|
@@ -182,6 +191,7 @@ module Akeyless
|
|
|
182
191
|
return true if self.equal?(o)
|
|
183
192
|
self.class == o.class &&
|
|
184
193
|
comment == o.comment &&
|
|
194
|
+
description == o.description &&
|
|
185
195
|
json == o.json &&
|
|
186
196
|
keep_prev_version == o.keep_prev_version &&
|
|
187
197
|
key == o.key &&
|
|
@@ -204,7 +214,7 @@ module Akeyless
|
|
|
204
214
|
# Calculates hash code according to all attributes.
|
|
205
215
|
# @return [Integer] Hash code
|
|
206
216
|
def hash
|
|
207
|
-
[comment, json, keep_prev_version, key, name, new_name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token, update_version].hash
|
|
217
|
+
[comment, description, json, keep_prev_version, key, name, new_name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token, update_version].hash
|
|
208
218
|
end
|
|
209
219
|
|
|
210
220
|
# Builds the object from hash
|
|
@@ -21,6 +21,9 @@ module Akeyless
|
|
|
21
21
|
# Allow this role to view audit logs. Currently only 'none', 'own' and 'all' values are supported, allowing associated auth methods to view audit logs produced by the same auth methods.
|
|
22
22
|
attr_accessor :audit_access
|
|
23
23
|
|
|
24
|
+
# Description of the object
|
|
25
|
+
attr_accessor :description
|
|
26
|
+
|
|
24
27
|
# Allow this role to view gw analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods.
|
|
25
28
|
attr_accessor :gw_analytics_access
|
|
26
29
|
|
|
@@ -30,7 +33,7 @@ module Akeyless
|
|
|
30
33
|
# Role name
|
|
31
34
|
attr_accessor :name
|
|
32
35
|
|
|
33
|
-
#
|
|
36
|
+
# Deprecated - use description
|
|
34
37
|
attr_accessor :new_comment
|
|
35
38
|
|
|
36
39
|
# New Role name
|
|
@@ -50,6 +53,7 @@ module Akeyless
|
|
|
50
53
|
{
|
|
51
54
|
:'analytics_access' => :'analytics-access',
|
|
52
55
|
:'audit_access' => :'audit-access',
|
|
56
|
+
:'description' => :'description',
|
|
53
57
|
:'gw_analytics_access' => :'gw-analytics-access',
|
|
54
58
|
:'json' => :'json',
|
|
55
59
|
:'name' => :'name',
|
|
@@ -71,6 +75,7 @@ module Akeyless
|
|
|
71
75
|
{
|
|
72
76
|
:'analytics_access' => :'String',
|
|
73
77
|
:'audit_access' => :'String',
|
|
78
|
+
:'description' => :'String',
|
|
74
79
|
:'gw_analytics_access' => :'String',
|
|
75
80
|
:'json' => :'Boolean',
|
|
76
81
|
:'name' => :'String',
|
|
@@ -111,6 +116,12 @@ module Akeyless
|
|
|
111
116
|
self.audit_access = attributes[:'audit_access']
|
|
112
117
|
end
|
|
113
118
|
|
|
119
|
+
if attributes.key?(:'description')
|
|
120
|
+
self.description = attributes[:'description']
|
|
121
|
+
else
|
|
122
|
+
self.description = 'default_comment'
|
|
123
|
+
end
|
|
124
|
+
|
|
114
125
|
if attributes.key?(:'gw_analytics_access')
|
|
115
126
|
self.gw_analytics_access = attributes[:'gw_analytics_access']
|
|
116
127
|
end
|
|
@@ -171,6 +182,7 @@ module Akeyless
|
|
|
171
182
|
self.class == o.class &&
|
|
172
183
|
analytics_access == o.analytics_access &&
|
|
173
184
|
audit_access == o.audit_access &&
|
|
185
|
+
description == o.description &&
|
|
174
186
|
gw_analytics_access == o.gw_analytics_access &&
|
|
175
187
|
json == o.json &&
|
|
176
188
|
name == o.name &&
|
|
@@ -190,7 +202,7 @@ module Akeyless
|
|
|
190
202
|
# Calculates hash code according to all attributes.
|
|
191
203
|
# @return [Integer] Hash code
|
|
192
204
|
def hash
|
|
193
|
-
[analytics_access, audit_access, gw_analytics_access, json, name, new_comment, new_name, sra_reports_access, token, uid_token].hash
|
|
205
|
+
[analytics_access, audit_access, description, gw_analytics_access, json, name, new_comment, new_name, sra_reports_access, token, uid_token].hash
|
|
194
206
|
end
|
|
195
207
|
|
|
196
208
|
# Builds the object from hash
|
|
@@ -33,9 +33,12 @@ module Akeyless
|
|
|
33
33
|
# Client secret of the oauth2 app to use for connecting to Salesforce (required for password flow)
|
|
34
34
|
attr_accessor :client_secret
|
|
35
35
|
|
|
36
|
-
#
|
|
36
|
+
# Deprecated - use description
|
|
37
37
|
attr_accessor :comment
|
|
38
38
|
|
|
39
|
+
# Description of the object
|
|
40
|
+
attr_accessor :description
|
|
41
|
+
|
|
39
42
|
# The email of the user attached to the oauth2 app used for connecting to Salesforce
|
|
40
43
|
attr_accessor :email
|
|
41
44
|
|
|
@@ -81,6 +84,7 @@ module Akeyless
|
|
|
81
84
|
:'client_id' => :'client-id',
|
|
82
85
|
:'client_secret' => :'client-secret',
|
|
83
86
|
:'comment' => :'comment',
|
|
87
|
+
:'description' => :'description',
|
|
84
88
|
:'email' => :'email',
|
|
85
89
|
:'json' => :'json',
|
|
86
90
|
:'keep_prev_version' => :'keep-prev-version',
|
|
@@ -111,6 +115,7 @@ module Akeyless
|
|
|
111
115
|
:'client_id' => :'String',
|
|
112
116
|
:'client_secret' => :'String',
|
|
113
117
|
:'comment' => :'String',
|
|
118
|
+
:'description' => :'String',
|
|
114
119
|
:'email' => :'String',
|
|
115
120
|
:'json' => :'Boolean',
|
|
116
121
|
:'keep_prev_version' => :'String',
|
|
@@ -175,6 +180,10 @@ module Akeyless
|
|
|
175
180
|
self.comment = attributes[:'comment']
|
|
176
181
|
end
|
|
177
182
|
|
|
183
|
+
if attributes.key?(:'description')
|
|
184
|
+
self.description = attributes[:'description']
|
|
185
|
+
end
|
|
186
|
+
|
|
178
187
|
if attributes.key?(:'email')
|
|
179
188
|
self.email = attributes[:'email']
|
|
180
189
|
end
|
|
@@ -274,6 +283,7 @@ module Akeyless
|
|
|
274
283
|
client_id == o.client_id &&
|
|
275
284
|
client_secret == o.client_secret &&
|
|
276
285
|
comment == o.comment &&
|
|
286
|
+
description == o.description &&
|
|
277
287
|
email == o.email &&
|
|
278
288
|
json == o.json &&
|
|
279
289
|
keep_prev_version == o.keep_prev_version &&
|
|
@@ -297,7 +307,7 @@ module Akeyless
|
|
|
297
307
|
# Calculates hash code according to all attributes.
|
|
298
308
|
# @return [Integer] Hash code
|
|
299
309
|
def hash
|
|
300
|
-
[app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, comment, email, json, keep_prev_version, key, name, new_name, password, security_token, tenant_url, token, uid_token, update_version].hash
|
|
310
|
+
[app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, comment, description, email, json, keep_prev_version, key, name, new_name, password, security_token, tenant_url, token, uid_token, update_version].hash
|
|
301
311
|
end
|
|
302
312
|
|
|
303
313
|
# Builds the object from hash
|