akeyless 3.2.0 → 3.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/docs/CreateAWSTarget.md +3 -1
  4. data/docs/CreateArtifactoryTarget.md +3 -1
  5. data/docs/CreateAzureTarget.md +3 -1
  6. data/docs/CreateDBTarget.md +3 -1
  7. data/docs/CreateDockerhubTarget.md +3 -1
  8. data/docs/CreateEKSTarget.md +3 -1
  9. data/docs/CreateEventForwarder.md +3 -1
  10. data/docs/CreateGKETarget.md +3 -1
  11. data/docs/CreateGcpTarget.md +3 -1
  12. data/docs/CreateGithubTarget.md +3 -1
  13. data/docs/CreateLdapTarget.md +3 -1
  14. data/docs/CreateNativeK8STarget.md +3 -1
  15. data/docs/CreatePingTarget.md +3 -1
  16. data/docs/CreateRabbitMQTarget.md +3 -1
  17. data/docs/CreateRole.md +3 -1
  18. data/docs/CreateSSHTarget.md +3 -1
  19. data/docs/CreateSalesforceTarget.md +3 -1
  20. data/docs/CreateWebTarget.md +3 -1
  21. data/docs/GatewayCreateProducerEks.md +1 -1
  22. data/docs/GatewayUpdateProducerEks.md +1 -1
  23. data/docs/ImporterInfo.md +20 -0
  24. data/docs/ItemGeneralInfo.md +2 -0
  25. data/docs/RequestAccess.md +3 -1
  26. data/docs/UidCreateChildToken.md +3 -1
  27. data/docs/UpdateAWSTarget.md +3 -1
  28. data/docs/UpdateArtifactoryTarget.md +3 -1
  29. data/docs/UpdateAzureTarget.md +3 -1
  30. data/docs/UpdateDBTarget.md +3 -1
  31. data/docs/UpdateDockerhubTarget.md +3 -1
  32. data/docs/UpdateEKSTarget.md +3 -1
  33. data/docs/UpdateEventForwarder.md +3 -1
  34. data/docs/UpdateGKETarget.md +3 -1
  35. data/docs/UpdateGcpTarget.md +3 -1
  36. data/docs/UpdateGithubTarget.md +3 -1
  37. data/docs/UpdateLdapTarget.md +3 -1
  38. data/docs/UpdateNativeK8STarget.md +3 -1
  39. data/docs/UpdatePingTarget.md +3 -1
  40. data/docs/UpdateRabbitMQTarget.md +3 -1
  41. data/docs/UpdateRole.md +3 -1
  42. data/docs/UpdateSSHTarget.md +3 -1
  43. data/docs/UpdateSalesforceTarget.md +3 -1
  44. data/docs/UpdateTarget.md +3 -1
  45. data/docs/UpdateWebTarget.md +3 -1
  46. data/lib/akeyless/models/create_artifactory_target.rb +12 -2
  47. data/lib/akeyless/models/create_aws_target.rb +12 -2
  48. data/lib/akeyless/models/create_azure_target.rb +12 -2
  49. data/lib/akeyless/models/create_db_target.rb +12 -2
  50. data/lib/akeyless/models/create_dockerhub_target.rb +12 -2
  51. data/lib/akeyless/models/create_eks_target.rb +12 -2
  52. data/lib/akeyless/models/create_event_forwarder.rb +12 -2
  53. data/lib/akeyless/models/create_gcp_target.rb +12 -2
  54. data/lib/akeyless/models/create_github_target.rb +12 -2
  55. data/lib/akeyless/models/create_gke_target.rb +12 -2
  56. data/lib/akeyless/models/create_ldap_target.rb +12 -2
  57. data/lib/akeyless/models/create_native_k8_s_target.rb +12 -2
  58. data/lib/akeyless/models/create_ping_target.rb +12 -2
  59. data/lib/akeyless/models/create_rabbit_mq_target.rb +12 -2
  60. data/lib/akeyless/models/create_role.rb +12 -2
  61. data/lib/akeyless/models/create_salesforce_target.rb +12 -2
  62. data/lib/akeyless/models/create_ssh_target.rb +12 -2
  63. data/lib/akeyless/models/create_web_target.rb +12 -2
  64. data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
  65. data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
  66. data/lib/akeyless/models/importer_info.rb +228 -0
  67. data/lib/akeyless/models/item_general_info.rb +10 -1
  68. data/lib/akeyless/models/request_access.rb +12 -2
  69. data/lib/akeyless/models/uid_create_child_token.rb +12 -2
  70. data/lib/akeyless/models/update_artifactory_target.rb +12 -2
  71. data/lib/akeyless/models/update_aws_target.rb +12 -2
  72. data/lib/akeyless/models/update_azure_target.rb +12 -2
  73. data/lib/akeyless/models/update_db_target.rb +12 -2
  74. data/lib/akeyless/models/update_dockerhub_target.rb +12 -2
  75. data/lib/akeyless/models/update_eks_target.rb +12 -2
  76. data/lib/akeyless/models/update_event_forwarder.rb +14 -2
  77. data/lib/akeyless/models/update_gcp_target.rb +12 -2
  78. data/lib/akeyless/models/update_github_target.rb +12 -2
  79. data/lib/akeyless/models/update_gke_target.rb +12 -2
  80. data/lib/akeyless/models/update_ldap_target.rb +12 -2
  81. data/lib/akeyless/models/update_native_k8_s_target.rb +12 -2
  82. data/lib/akeyless/models/update_ping_target.rb +12 -2
  83. data/lib/akeyless/models/update_rabbit_mq_target.rb +12 -2
  84. data/lib/akeyless/models/update_role.rb +14 -2
  85. data/lib/akeyless/models/update_salesforce_target.rb +12 -2
  86. data/lib/akeyless/models/update_ssh_target.rb +12 -2
  87. data/lib/akeyless/models/update_target.rb +14 -2
  88. data/lib/akeyless/models/update_web_target.rb +12 -2
  89. data/lib/akeyless/version.rb +1 -1
  90. data/lib/akeyless.rb +1 -0
  91. data/spec/models/importer_info_spec.rb +40 -0
  92. metadata +6 -2
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateGcpTarget
18
- # Comment about the target
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
 
@@ -42,6 +45,7 @@ module Akeyless
42
45
  def self.attribute_map
43
46
  {
44
47
  :'comment' => :'comment',
48
+ :'description' => :'description',
45
49
  :'gcp_key' => :'gcp-key',
46
50
  :'json' => :'json',
47
51
  :'key' => :'key',
@@ -61,6 +65,7 @@ module Akeyless
61
65
  def self.openapi_types
62
66
  {
63
67
  :'comment' => :'String',
68
+ :'description' => :'String',
64
69
  :'gcp_key' => :'String',
65
70
  :'json' => :'Boolean',
66
71
  :'key' => :'String',
@@ -96,6 +101,10 @@ module Akeyless
96
101
  self.comment = attributes[:'comment']
97
102
  end
98
103
 
104
+ if attributes.key?(:'description')
105
+ self.description = attributes[:'description']
106
+ end
107
+
99
108
  if attributes.key?(:'gcp_key')
100
109
  self.gcp_key = attributes[:'gcp_key']
101
110
  end
@@ -149,6 +158,7 @@ module Akeyless
149
158
  return true if self.equal?(o)
150
159
  self.class == o.class &&
151
160
  comment == o.comment &&
161
+ description == o.description &&
152
162
  gcp_key == o.gcp_key &&
153
163
  json == o.json &&
154
164
  key == o.key &&
@@ -167,7 +177,7 @@ module Akeyless
167
177
  # Calculates hash code according to all attributes.
168
178
  # @return [Integer] Hash code
169
179
  def hash
170
- [comment, gcp_key, json, key, name, token, uid_token, use_gw_cloud_identity].hash
180
+ [comment, description, gcp_key, json, key, name, token, uid_token, use_gw_cloud_identity].hash
171
181
  end
172
182
 
173
183
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateGithubTarget
18
- # Comment about the target
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
 
@@ -46,6 +49,7 @@ module Akeyless
46
49
  def self.attribute_map
47
50
  {
48
51
  :'comment' => :'comment',
52
+ :'description' => :'description',
49
53
  :'github_app_id' => :'github-app-id',
50
54
  :'github_app_private_key' => :'github-app-private-key',
51
55
  :'github_base_url' => :'github-base-url',
@@ -66,6 +70,7 @@ module Akeyless
66
70
  def self.openapi_types
67
71
  {
68
72
  :'comment' => :'String',
73
+ :'description' => :'String',
69
74
  :'github_app_id' => :'Integer',
70
75
  :'github_app_private_key' => :'String',
71
76
  :'github_base_url' => :'String',
@@ -102,6 +107,10 @@ module Akeyless
102
107
  self.comment = attributes[:'comment']
103
108
  end
104
109
 
110
+ if attributes.key?(:'description')
111
+ self.description = attributes[:'description']
112
+ end
113
+
105
114
  if attributes.key?(:'github_app_id')
106
115
  self.github_app_id = attributes[:'github_app_id']
107
116
  end
@@ -159,6 +168,7 @@ module Akeyless
159
168
  return true if self.equal?(o)
160
169
  self.class == o.class &&
161
170
  comment == o.comment &&
171
+ description == o.description &&
162
172
  github_app_id == o.github_app_id &&
163
173
  github_app_private_key == o.github_app_private_key &&
164
174
  github_base_url == o.github_base_url &&
@@ -178,7 +188,7 @@ module Akeyless
178
188
  # Calculates hash code according to all attributes.
179
189
  # @return [Integer] Hash code
180
190
  def hash
181
- [comment, github_app_id, github_app_private_key, github_base_url, json, key, name, token, uid_token].hash
191
+ [comment, description, github_app_id, github_app_private_key, github_base_url, json, key, name, token, uid_token].hash
182
192
  end
183
193
 
184
194
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateGKETarget
18
- # Comment about the target
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
 
@@ -54,6 +57,7 @@ module Akeyless
54
57
  def self.attribute_map
55
58
  {
56
59
  :'comment' => :'comment',
60
+ :'description' => :'description',
57
61
  :'gke_account_key' => :'gke-account-key',
58
62
  :'gke_cluster_cert' => :'gke-cluster-cert',
59
63
  :'gke_cluster_endpoint' => :'gke-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
  :'gke_account_key' => :'String',
81
86
  :'gke_cluster_cert' => :'String',
82
87
  :'gke_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?(:'gke_account_key')
120
129
  self.gke_account_key = attributes[:'gke_account_key']
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
  gke_account_key == o.gke_account_key &&
189
199
  gke_cluster_cert == o.gke_cluster_cert &&
190
200
  gke_cluster_endpoint == o.gke_cluster_endpoint &&
@@ -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, gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, json, key, name, token, uid_token, use_gw_cloud_identity].hash
220
+ [comment, description, gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, json, key, name, token, uid_token, use_gw_cloud_identity].hash
211
221
  end
212
222
 
213
223
  # Builds the object from hash
@@ -21,9 +21,12 @@ module Akeyless
21
21
  # Bind DN Password
22
22
  attr_accessor :bind_dn_password
23
23
 
24
- # Comment about the target
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
 
@@ -57,6 +60,7 @@ module Akeyless
57
60
  :'bind_dn' => :'bind-dn',
58
61
  :'bind_dn_password' => :'bind-dn-password',
59
62
  :'comment' => :'comment',
63
+ :'description' => :'description',
60
64
  :'json' => :'json',
61
65
  :'key' => :'key',
62
66
  :'ldap_ca_cert' => :'ldap-ca-cert',
@@ -80,6 +84,7 @@ module Akeyless
80
84
  :'bind_dn' => :'String',
81
85
  :'bind_dn_password' => :'String',
82
86
  :'comment' => :'String',
87
+ :'description' => :'String',
83
88
  :'json' => :'Boolean',
84
89
  :'key' => :'String',
85
90
  :'ldap_ca_cert' => :'String',
@@ -125,6 +130,10 @@ module Akeyless
125
130
  self.comment = attributes[:'comment']
126
131
  end
127
132
 
133
+ if attributes.key?(:'description')
134
+ self.description = attributes[:'description']
135
+ end
136
+
128
137
  if attributes.key?(:'json')
129
138
  self.json = attributes[:'json']
130
139
  end
@@ -205,6 +214,7 @@ module Akeyless
205
214
  bind_dn == o.bind_dn &&
206
215
  bind_dn_password == o.bind_dn_password &&
207
216
  comment == o.comment &&
217
+ description == o.description &&
208
218
  json == o.json &&
209
219
  key == o.key &&
210
220
  ldap_ca_cert == o.ldap_ca_cert &&
@@ -225,7 +235,7 @@ module Akeyless
225
235
  # Calculates hash code according to all attributes.
226
236
  # @return [Integer] Hash code
227
237
  def hash
228
- [bind_dn, bind_dn_password, comment, json, key, ldap_ca_cert, ldap_url, name, server_type, token, token_expiration, uid_token].hash
238
+ [bind_dn, bind_dn_password, comment, description, json, key, ldap_ca_cert, ldap_url, name, server_type, token, token_expiration, uid_token].hash
229
239
  end
230
240
 
231
241
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateNativeK8STarget
18
- # Comment about the target
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
 
@@ -46,6 +49,7 @@ module Akeyless
46
49
  def self.attribute_map
47
50
  {
48
51
  :'comment' => :'comment',
52
+ :'description' => :'description',
49
53
  :'json' => :'json',
50
54
  :'k8s_cluster_ca_cert' => :'k8s-cluster-ca-cert',
51
55
  :'k8s_cluster_endpoint' => :'k8s-cluster-endpoint',
@@ -66,6 +70,7 @@ module Akeyless
66
70
  def self.openapi_types
67
71
  {
68
72
  :'comment' => :'String',
73
+ :'description' => :'String',
69
74
  :'json' => :'Boolean',
70
75
  :'k8s_cluster_ca_cert' => :'String',
71
76
  :'k8s_cluster_endpoint' => :'String',
@@ -102,6 +107,10 @@ module Akeyless
102
107
  self.comment = attributes[:'comment']
103
108
  end
104
109
 
110
+ if attributes.key?(:'description')
111
+ self.description = attributes[:'description']
112
+ end
113
+
105
114
  if attributes.key?(:'json')
106
115
  self.json = attributes[:'json']
107
116
  end
@@ -174,6 +183,7 @@ module Akeyless
174
183
  return true if self.equal?(o)
175
184
  self.class == o.class &&
176
185
  comment == o.comment &&
186
+ description == o.description &&
177
187
  json == o.json &&
178
188
  k8s_cluster_ca_cert == o.k8s_cluster_ca_cert &&
179
189
  k8s_cluster_endpoint == o.k8s_cluster_endpoint &&
@@ -193,7 +203,7 @@ module Akeyless
193
203
  # Calculates hash code according to all attributes.
194
204
  # @return [Integer] Hash code
195
205
  def hash
196
- [comment, json, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_token, key, name, token, uid_token].hash
206
+ [comment, description, json, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_token, key, name, token, uid_token].hash
197
207
  end
198
208
 
199
209
  # 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
- # Comment about the target
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
 
@@ -54,6 +57,7 @@ module Akeyless
54
57
  :'administrative_port' => :'administrative-port',
55
58
  :'authorization_port' => :'authorization-port',
56
59
  :'comment' => :'comment',
60
+ :'description' => :'description',
57
61
  :'json' => :'json',
58
62
  :'key' => :'key',
59
63
  :'name' => :'name',
@@ -76,6 +80,7 @@ module Akeyless
76
80
  :'administrative_port' => :'String',
77
81
  :'authorization_port' => :'String',
78
82
  :'comment' => :'String',
83
+ :'description' => :'String',
79
84
  :'json' => :'Boolean',
80
85
  :'key' => :'String',
81
86
  :'name' => :'String',
@@ -124,6 +129,10 @@ module Akeyless
124
129
  self.comment = attributes[:'comment']
125
130
  end
126
131
 
132
+ if attributes.key?(:'description')
133
+ self.description = attributes[:'description']
134
+ end
135
+
127
136
  if attributes.key?(:'json')
128
137
  self.json = attributes[:'json']
129
138
  end
@@ -183,6 +192,7 @@ module Akeyless
183
192
  administrative_port == o.administrative_port &&
184
193
  authorization_port == o.authorization_port &&
185
194
  comment == o.comment &&
195
+ description == o.description &&
186
196
  json == o.json &&
187
197
  key == o.key &&
188
198
  name == o.name &&
@@ -202,7 +212,7 @@ module Akeyless
202
212
  # Calculates hash code according to all attributes.
203
213
  # @return [Integer] Hash code
204
214
  def hash
205
- [administrative_port, authorization_port, comment, json, key, name, password, ping_url, privileged_user, token, uid_token].hash
215
+ [administrative_port, authorization_port, comment, description, json, key, name, password, ping_url, privileged_user, token, uid_token].hash
206
216
  end
207
217
 
208
218
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateRabbitMQTarget
18
- # Comment about the target
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
 
@@ -43,6 +46,7 @@ module Akeyless
43
46
  def self.attribute_map
44
47
  {
45
48
  :'comment' => :'comment',
49
+ :'description' => :'description',
46
50
  :'json' => :'json',
47
51
  :'key' => :'key',
48
52
  :'name' => :'name',
@@ -63,6 +67,7 @@ module Akeyless
63
67
  def self.openapi_types
64
68
  {
65
69
  :'comment' => :'String',
70
+ :'description' => :'String',
66
71
  :'json' => :'Boolean',
67
72
  :'key' => :'String',
68
73
  :'name' => :'String',
@@ -99,6 +104,10 @@ module Akeyless
99
104
  self.comment = attributes[:'comment']
100
105
  end
101
106
 
107
+ if attributes.key?(:'description')
108
+ self.description = attributes[:'description']
109
+ end
110
+
102
111
  if attributes.key?(:'json')
103
112
  self.json = attributes[:'json']
104
113
  end
@@ -156,6 +165,7 @@ module Akeyless
156
165
  return true if self.equal?(o)
157
166
  self.class == o.class &&
158
167
  comment == o.comment &&
168
+ description == o.description &&
159
169
  json == o.json &&
160
170
  key == o.key &&
161
171
  name == o.name &&
@@ -175,7 +185,7 @@ module Akeyless
175
185
  # Calculates hash code according to all attributes.
176
186
  # @return [Integer] Hash code
177
187
  def hash
178
- [comment, json, key, name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
188
+ [comment, description, json, key, name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
179
189
  end
180
190
 
181
191
  # Builds the object from hash
@@ -21,9 +21,12 @@ 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
- # Comment about the role
24
+ # Deprecated - use description
25
25
  attr_accessor :comment
26
26
 
27
+ # Description of the object
28
+ attr_accessor :description
29
+
27
30
  # 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.
28
31
  attr_accessor :gw_analytics_access
29
32
 
@@ -48,6 +51,7 @@ module Akeyless
48
51
  :'analytics_access' => :'analytics-access',
49
52
  :'audit_access' => :'audit-access',
50
53
  :'comment' => :'comment',
54
+ :'description' => :'description',
51
55
  :'gw_analytics_access' => :'gw-analytics-access',
52
56
  :'json' => :'json',
53
57
  :'name' => :'name',
@@ -68,6 +72,7 @@ module Akeyless
68
72
  :'analytics_access' => :'String',
69
73
  :'audit_access' => :'String',
70
74
  :'comment' => :'String',
75
+ :'description' => :'String',
71
76
  :'gw_analytics_access' => :'String',
72
77
  :'json' => :'Boolean',
73
78
  :'name' => :'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?(:'gw_analytics_access')
114
123
  self.gw_analytics_access = attributes[:'gw_analytics_access']
115
124
  end
@@ -161,6 +170,7 @@ module Akeyless
161
170
  analytics_access == o.analytics_access &&
162
171
  audit_access == o.audit_access &&
163
172
  comment == o.comment &&
173
+ description == o.description &&
164
174
  gw_analytics_access == o.gw_analytics_access &&
165
175
  json == o.json &&
166
176
  name == o.name &&
@@ -178,7 +188,7 @@ module Akeyless
178
188
  # Calculates hash code according to all attributes.
179
189
  # @return [Integer] Hash code
180
190
  def hash
181
- [analytics_access, audit_access, comment, gw_analytics_access, json, name, sra_reports_access, token, uid_token].hash
191
+ [analytics_access, audit_access, comment, description, gw_analytics_access, json, name, sra_reports_access, token, uid_token].hash
182
192
  end
183
193
 
184
194
  # 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
- # Comment about the target
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
 
@@ -73,6 +76,7 @@ module Akeyless
73
76
  :'client_id' => :'client-id',
74
77
  :'client_secret' => :'client-secret',
75
78
  :'comment' => :'comment',
79
+ :'description' => :'description',
76
80
  :'email' => :'email',
77
81
  :'json' => :'json',
78
82
  :'key' => :'key',
@@ -100,6 +104,7 @@ module Akeyless
100
104
  :'client_id' => :'String',
101
105
  :'client_secret' => :'String',
102
106
  :'comment' => :'String',
107
+ :'description' => :'String',
103
108
  :'email' => :'String',
104
109
  :'json' => :'Boolean',
105
110
  :'key' => :'String',
@@ -161,6 +166,10 @@ module Akeyless
161
166
  self.comment = attributes[:'comment']
162
167
  end
163
168
 
169
+ if attributes.key?(:'description')
170
+ self.description = attributes[:'description']
171
+ end
172
+
164
173
  if attributes.key?(:'email')
165
174
  self.email = attributes[:'email']
166
175
  end
@@ -248,6 +257,7 @@ module Akeyless
248
257
  client_id == o.client_id &&
249
258
  client_secret == o.client_secret &&
250
259
  comment == o.comment &&
260
+ description == o.description &&
251
261
  email == o.email &&
252
262
  json == o.json &&
253
263
  key == o.key &&
@@ -268,7 +278,7 @@ module Akeyless
268
278
  # Calculates hash code according to all attributes.
269
279
  # @return [Integer] Hash code
270
280
  def hash
271
- [app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, comment, email, json, key, name, password, security_token, tenant_url, token, uid_token].hash
281
+ [app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, comment, description, email, json, key, name, password, security_token, tenant_url, token, uid_token].hash
272
282
  end
273
283
 
274
284
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateSSHTarget
18
- # Comment about the target
18
+ # Deprecated - use description
19
19
  attr_accessor :comment
20
20
 
21
+ # Description of the object
22
+ attr_accessor :description
23
+
21
24
  attr_accessor :host
22
25
 
23
26
  # Set output format to JSON
@@ -49,6 +52,7 @@ module Akeyless
49
52
  def self.attribute_map
50
53
  {
51
54
  :'comment' => :'comment',
55
+ :'description' => :'description',
52
56
  :'host' => :'host',
53
57
  :'json' => :'json',
54
58
  :'key' => :'key',
@@ -72,6 +76,7 @@ module Akeyless
72
76
  def self.openapi_types
73
77
  {
74
78
  :'comment' => :'String',
79
+ :'description' => :'String',
75
80
  :'host' => :'String',
76
81
  :'json' => :'Boolean',
77
82
  :'key' => :'String',
@@ -111,6 +116,10 @@ module Akeyless
111
116
  self.comment = attributes[:'comment']
112
117
  end
113
118
 
119
+ if attributes.key?(:'description')
120
+ self.description = attributes[:'description']
121
+ end
122
+
114
123
  if attributes.key?(:'host')
115
124
  self.host = attributes[:'host']
116
125
  end
@@ -180,6 +189,7 @@ module Akeyless
180
189
  return true if self.equal?(o)
181
190
  self.class == o.class &&
182
191
  comment == o.comment &&
192
+ description == o.description &&
183
193
  host == o.host &&
184
194
  json == o.json &&
185
195
  key == o.key &&
@@ -202,7 +212,7 @@ module Akeyless
202
212
  # Calculates hash code according to all attributes.
203
213
  # @return [Integer] Hash code
204
214
  def hash
205
- [comment, host, json, key, name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token].hash
215
+ [comment, description, host, json, key, name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token].hash
206
216
  end
207
217
 
208
218
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateWebTarget
18
- # Comment about the target
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
 
@@ -40,6 +43,7 @@ module Akeyless
40
43
  def self.attribute_map
41
44
  {
42
45
  :'comment' => :'comment',
46
+ :'description' => :'description',
43
47
  :'json' => :'json',
44
48
  :'key' => :'key',
45
49
  :'name' => :'name',
@@ -58,6 +62,7 @@ module Akeyless
58
62
  def self.openapi_types
59
63
  {
60
64
  :'comment' => :'String',
65
+ :'description' => :'String',
61
66
  :'json' => :'Boolean',
62
67
  :'key' => :'String',
63
68
  :'name' => :'String',
@@ -92,6 +97,10 @@ module Akeyless
92
97
  self.comment = attributes[:'comment']
93
98
  end
94
99
 
100
+ if attributes.key?(:'description')
101
+ self.description = attributes[:'description']
102
+ end
103
+
95
104
  if attributes.key?(:'json')
96
105
  self.json = attributes[:'json']
97
106
  end
@@ -141,6 +150,7 @@ module Akeyless
141
150
  return true if self.equal?(o)
142
151
  self.class == o.class &&
143
152
  comment == o.comment &&
153
+ description == o.description &&
144
154
  json == o.json &&
145
155
  key == o.key &&
146
156
  name == o.name &&
@@ -158,7 +168,7 @@ module Akeyless
158
168
  # Calculates hash code according to all attributes.
159
169
  # @return [Integer] Hash code
160
170
  def hash
161
- [comment, json, key, name, token, uid_token, url].hash
171
+ [comment, description, json, key, name, token, uid_token, url].hash
162
172
  end
163
173
 
164
174
  # Builds the object from hash
@@ -241,7 +241,7 @@ module Akeyless
241
241
  if attributes.key?(:'user_ttl')
242
242
  self.user_ttl = attributes[:'user_ttl']
243
243
  else
244
- self.user_ttl = '60m'
244
+ self.user_ttl = '15m'
245
245
  end
246
246
  end
247
247
 
@@ -250,7 +250,7 @@ module Akeyless
250
250
  if attributes.key?(:'user_ttl')
251
251
  self.user_ttl = attributes[:'user_ttl']
252
252
  else
253
- self.user_ttl = '60m'
253
+ self.user_ttl = '15m'
254
254
  end
255
255
  end
256
256