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
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **comment** | **String** | Comment about the target | [optional] |
7
+ | **comment** | **String** | Deprecated - use description | [optional] |
8
+ | **description** | **String** | Description of the object | [optional] |
8
9
  | **gcp_key** | **String** | Base64-encoded service account private key text | [optional] |
9
10
  | **json** | **Boolean** | Set output format to JSON | [optional] |
10
11
  | **keep_prev_version** | **String** | | [optional] |
@@ -23,6 +24,7 @@ require 'akeyless'
23
24
 
24
25
  instance = Akeyless::UpdateGcpTarget.new(
25
26
  comment: null,
27
+ description: null,
26
28
  gcp_key: null,
27
29
  json: null,
28
30
  keep_prev_version: null,
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **comment** | **String** | Comment about the target | [optional] |
7
+ | **comment** | **String** | Deprecated - use description | [optional] |
8
+ | **description** | **String** | Description of the object | [optional] |
8
9
  | **github_app_id** | **Integer** | Github app id | [optional] |
9
10
  | **github_app_private_key** | **String** | App private key | [optional] |
10
11
  | **github_base_url** | **String** | Base URL | [optional] |
@@ -24,6 +25,7 @@ require 'akeyless'
24
25
 
25
26
  instance = Akeyless::UpdateGithubTarget.new(
26
27
  comment: null,
28
+ description: null,
27
29
  github_app_id: null,
28
30
  github_app_private_key: null,
29
31
  github_base_url: null,
@@ -6,7 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **bind_dn** | **String** | | [optional] |
8
8
  | **bind_dn_password** | **String** | | [optional] |
9
- | **comment** | **String** | Comment about the target | [optional] |
9
+ | **comment** | **String** | Deprecated - use description | [optional] |
10
+ | **description** | **String** | Description of the object | [optional] |
10
11
  | **json** | **Boolean** | Set output format to JSON | [optional] |
11
12
  | **keep_prev_version** | **String** | | [optional] |
12
13
  | **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
@@ -29,6 +30,7 @@ instance = Akeyless::UpdateLdapTarget.new(
29
30
  bind_dn: null,
30
31
  bind_dn_password: null,
31
32
  comment: null,
33
+ description: null,
32
34
  json: null,
33
35
  keep_prev_version: null,
34
36
  key: null,
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **comment** | **String** | Comment about the target | [optional] |
7
+ | **comment** | **String** | Deprecated - use description | [optional] |
8
+ | **description** | **String** | Description of the object | [optional] |
8
9
  | **json** | **Boolean** | Set output format to JSON | [optional] |
9
10
  | **k8s_cluster_ca_cert** | **String** | K8S cluster CA certificate | |
10
11
  | **k8s_cluster_endpoint** | **String** | K8S cluster URL endpoint | |
@@ -24,6 +25,7 @@ require 'akeyless'
24
25
 
25
26
  instance = Akeyless::UpdateNativeK8STarget.new(
26
27
  comment: null,
28
+ description: null,
27
29
  json: null,
28
30
  k8s_cluster_ca_cert: null,
29
31
  k8s_cluster_endpoint: null,
@@ -6,7 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **administrative_port** | **String** | Ping Federate administrative port | [optional][default to '9999'] |
8
8
  | **authorization_port** | **String** | Ping Federate authorization port | [optional][default to '9031'] |
9
- | **comment** | **String** | Comment about the target | [optional] |
9
+ | **comment** | **String** | Deprecated - use description | [optional] |
10
+ | **description** | **String** | Description of the object | [optional] |
10
11
  | **json** | **Boolean** | Set output format to JSON | [optional] |
11
12
  | **keep_prev_version** | **String** | | [optional] |
12
13
  | **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
@@ -28,6 +29,7 @@ instance = Akeyless::UpdatePingTarget.new(
28
29
  administrative_port: null,
29
30
  authorization_port: null,
30
31
  comment: null,
32
+ description: null,
31
33
  json: null,
32
34
  keep_prev_version: null,
33
35
  key: null,
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **comment** | **String** | Comment about the target | [optional] |
7
+ | **comment** | **String** | Deprecated - use description | [optional] |
8
+ | **description** | **String** | Description of the object | [optional] |
8
9
  | **json** | **Boolean** | Set output format to JSON | [optional] |
9
10
  | **keep_prev_version** | **String** | | [optional] |
10
11
  | **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
@@ -24,6 +25,7 @@ require 'akeyless'
24
25
 
25
26
  instance = Akeyless::UpdateRabbitMQTarget.new(
26
27
  comment: null,
28
+ description: null,
27
29
  json: null,
28
30
  keep_prev_version: null,
29
31
  key: null,
data/docs/UpdateRole.md CHANGED
@@ -6,10 +6,11 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **analytics_access** | **String** | Allow this role to view analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods. | [optional] |
8
8
  | **audit_access** | **String** | 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. | [optional] |
9
+ | **description** | **String** | Description of the object | [optional][default to 'default_comment'] |
9
10
  | **gw_analytics_access** | **String** | 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. | [optional] |
10
11
  | **json** | **Boolean** | Set output format to JSON | [optional] |
11
12
  | **name** | **String** | Role name | |
12
- | **new_comment** | **String** | New comment about the role | [optional][default to 'default_comment'] |
13
+ | **new_comment** | **String** | Deprecated - use description | [optional][default to 'default_comment'] |
13
14
  | **new_name** | **String** | New Role name | [optional] |
14
15
  | **sra_reports_access** | **String** | Allow this role to view SRA Clusters. Currently only 'none', 'own', 'all' values are supported. | [optional] |
15
16
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
@@ -23,6 +24,7 @@ require 'akeyless'
23
24
  instance = Akeyless::UpdateRole.new(
24
25
  analytics_access: null,
25
26
  audit_access: null,
27
+ description: null,
26
28
  gw_analytics_access: null,
27
29
  json: null,
28
30
  name: null,
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **comment** | **String** | Comment about the target | [optional] |
7
+ | **comment** | **String** | Deprecated - use description | [optional] |
8
+ | **description** | **String** | Description of the object | [optional] |
8
9
  | **host** | **String** | | [optional] |
9
10
  | **json** | **Boolean** | Set output format to JSON | [optional] |
10
11
  | **keep_prev_version** | **String** | | [optional] |
@@ -27,6 +28,7 @@ require 'akeyless'
27
28
 
28
29
  instance = Akeyless::UpdateSSHTarget.new(
29
30
  comment: null,
31
+ description: null,
30
32
  host: null,
31
33
  json: null,
32
34
  keep_prev_version: null,
@@ -10,7 +10,8 @@
10
10
  | **ca_cert_name** | **String** | name of the certificate in Salesforce tenant to use when uploading new key | [optional] |
11
11
  | **client_id** | **String** | Client ID of the oauth2 app to use for connecting to Salesforce | |
12
12
  | **client_secret** | **String** | Client secret of the oauth2 app to use for connecting to Salesforce (required for password flow) | [optional] |
13
- | **comment** | **String** | Comment about the target | [optional] |
13
+ | **comment** | **String** | Deprecated - use description | [optional] |
14
+ | **description** | **String** | Description of the object | [optional] |
14
15
  | **email** | **String** | The email of the user attached to the oauth2 app used for connecting to Salesforce | |
15
16
  | **json** | **Boolean** | Set output format to JSON | [optional] |
16
17
  | **keep_prev_version** | **String** | | [optional] |
@@ -37,6 +38,7 @@ instance = Akeyless::UpdateSalesforceTarget.new(
37
38
  client_id: null,
38
39
  client_secret: null,
39
40
  comment: null,
41
+ description: null,
40
42
  email: null,
41
43
  json: null,
42
44
  keep_prev_version: null,
data/docs/UpdateTarget.md CHANGED
@@ -4,9 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **description** | **String** | Description of the object | [optional][default to 'default_comment'] |
7
8
  | **json** | **Boolean** | Set output format to JSON | [optional] |
8
9
  | **name** | **String** | Target name | |
9
- | **new_comment** | **String** | New comment about the target | [optional][default to 'default_comment'] |
10
+ | **new_comment** | **String** | Deprecated - use description | [optional][default to 'default_comment'] |
10
11
  | **new_name** | **String** | New Target name | [optional] |
11
12
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
12
13
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -17,6 +18,7 @@
17
18
  require 'akeyless'
18
19
 
19
20
  instance = Akeyless::UpdateTarget.new(
21
+ description: null,
20
22
  json: null,
21
23
  name: null,
22
24
  new_comment: null,
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **comment** | **String** | Comment about the target | [optional] |
7
+ | **comment** | **String** | Deprecated - use description | [optional] |
8
+ | **description** | **String** | Description of the object | [optional] |
8
9
  | **json** | **Boolean** | Set output format to JSON | [optional] |
9
10
  | **keep_prev_version** | **String** | | [optional] |
10
11
  | **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
@@ -22,6 +23,7 @@ require 'akeyless'
22
23
 
23
24
  instance = Akeyless::UpdateWebTarget.new(
24
25
  comment: null,
26
+ description: null,
25
27
  json: null,
26
28
  keep_prev_version: null,
27
29
  key: null,
@@ -24,9 +24,12 @@ module Akeyless
24
24
  # Base URL
25
25
  attr_accessor :base_url
26
26
 
27
- # Comment about the target
27
+ # Deprecated - use description
28
28
  attr_accessor :comment
29
29
 
30
+ # Description of the object
31
+ attr_accessor :description
32
+
30
33
  # Set output format to JSON
31
34
  attr_accessor :json
32
35
 
@@ -49,6 +52,7 @@ module Akeyless
49
52
  :'artifactory_admin_pwd' => :'artifactory-admin-pwd',
50
53
  :'base_url' => :'base-url',
51
54
  :'comment' => :'comment',
55
+ :'description' => :'description',
52
56
  :'json' => :'json',
53
57
  :'key' => :'key',
54
58
  :'name' => :'name',
@@ -69,6 +73,7 @@ module Akeyless
69
73
  :'artifactory_admin_pwd' => :'String',
70
74
  :'base_url' => :'String',
71
75
  :'comment' => :'String',
76
+ :'description' => :'String',
72
77
  :'json' => :'Boolean',
73
78
  :'key' => :'String',
74
79
  :'name' => :'String',
@@ -114,6 +119,10 @@ module Akeyless
114
119
  self.comment = attributes[:'comment']
115
120
  end
116
121
 
122
+ if attributes.key?(:'description')
123
+ self.description = attributes[:'description']
124
+ end
125
+
117
126
  if attributes.key?(:'json')
118
127
  self.json = attributes[:'json']
119
128
  end
@@ -177,6 +186,7 @@ module Akeyless
177
186
  artifactory_admin_pwd == o.artifactory_admin_pwd &&
178
187
  base_url == o.base_url &&
179
188
  comment == o.comment &&
189
+ description == o.description &&
180
190
  json == o.json &&
181
191
  key == o.key &&
182
192
  name == o.name &&
@@ -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
- [artifactory_admin_name, artifactory_admin_pwd, base_url, comment, json, key, name, token, uid_token].hash
206
+ [artifactory_admin_name, artifactory_admin_pwd, base_url, comment, description, json, key, name, token, uid_token].hash
197
207
  end
198
208
 
199
209
  # Builds the object from hash
@@ -19,9 +19,12 @@ module Akeyless
19
19
 
20
20
  attr_accessor :access_key_id
21
21
 
22
- # Comment about the target
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
 
@@ -49,6 +52,7 @@ module Akeyless
49
52
  :'access_key' => :'access-key',
50
53
  :'access_key_id' => :'access-key-id',
51
54
  :'comment' => :'comment',
55
+ :'description' => :'description',
52
56
  :'json' => :'json',
53
57
  :'key' => :'key',
54
58
  :'name' => :'name',
@@ -71,6 +75,7 @@ module Akeyless
71
75
  :'access_key' => :'String',
72
76
  :'access_key_id' => :'String',
73
77
  :'comment' => :'String',
78
+ :'description' => :'String',
74
79
  :'json' => :'Boolean',
75
80
  :'key' => :'String',
76
81
  :'name' => :'String',
@@ -115,6 +120,10 @@ module Akeyless
115
120
  self.comment = attributes[:'comment']
116
121
  end
117
122
 
123
+ if attributes.key?(:'description')
124
+ self.description = attributes[:'description']
125
+ end
126
+
118
127
  if attributes.key?(:'json')
119
128
  self.json = attributes[:'json']
120
129
  end
@@ -174,6 +183,7 @@ module Akeyless
174
183
  access_key == o.access_key &&
175
184
  access_key_id == o.access_key_id &&
176
185
  comment == o.comment &&
186
+ description == o.description &&
177
187
  json == o.json &&
178
188
  key == o.key &&
179
189
  name == o.name &&
@@ -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
- [access_key, access_key_id, comment, json, key, name, region, session_token, token, uid_token, use_gw_cloud_identity].hash
206
+ [access_key, access_key_id, comment, description, json, key, name, region, session_token, token, uid_token, use_gw_cloud_identity].hash
197
207
  end
198
208
 
199
209
  # Builds the object from hash
@@ -19,9 +19,12 @@ module Akeyless
19
19
 
20
20
  attr_accessor :client_secret
21
21
 
22
- # Comment about the target
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
 
@@ -56,6 +59,7 @@ module Akeyless
56
59
  :'client_id' => :'client-id',
57
60
  :'client_secret' => :'client-secret',
58
61
  :'comment' => :'comment',
62
+ :'description' => :'description',
59
63
  :'json' => :'json',
60
64
  :'key' => :'key',
61
65
  :'name' => :'name',
@@ -80,6 +84,7 @@ module Akeyless
80
84
  :'client_id' => :'String',
81
85
  :'client_secret' => :'String',
82
86
  :'comment' => :'String',
87
+ :'description' => :'String',
83
88
  :'json' => :'Boolean',
84
89
  :'key' => :'String',
85
90
  :'name' => :'String',
@@ -126,6 +131,10 @@ module Akeyless
126
131
  self.comment = attributes[:'comment']
127
132
  end
128
133
 
134
+ if attributes.key?(:'description')
135
+ self.description = attributes[:'description']
136
+ end
137
+
129
138
  if attributes.key?(:'json')
130
139
  self.json = attributes[:'json']
131
140
  end
@@ -193,6 +202,7 @@ module Akeyless
193
202
  client_id == o.client_id &&
194
203
  client_secret == o.client_secret &&
195
204
  comment == o.comment &&
205
+ description == o.description &&
196
206
  json == o.json &&
197
207
  key == o.key &&
198
208
  name == o.name &&
@@ -214,7 +224,7 @@ module Akeyless
214
224
  # Calculates hash code according to all attributes.
215
225
  # @return [Integer] Hash code
216
226
  def hash
217
- [client_id, client_secret, comment, json, key, name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
227
+ [client_id, client_secret, comment, description, json, key, name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
218
228
  end
219
229
 
220
230
  # Builds the object from hash
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateDBTarget
18
- # Comment about the target
18
+ # Deprecated - use description
19
19
  attr_accessor :comment
20
20
 
21
21
  attr_accessor :db_name
@@ -28,6 +28,9 @@ module Akeyless
28
28
 
29
29
  attr_accessor :db_type
30
30
 
31
+ # Description of the object
32
+ attr_accessor :description
33
+
31
34
  attr_accessor :host
32
35
 
33
36
  # Set output format to JSON
@@ -92,6 +95,7 @@ module Akeyless
92
95
  :'db_server_certificates' => :'db-server-certificates',
93
96
  :'db_server_name' => :'db-server-name',
94
97
  :'db_type' => :'db-type',
98
+ :'description' => :'description',
95
99
  :'host' => :'host',
96
100
  :'json' => :'json',
97
101
  :'key' => :'key',
@@ -129,6 +133,7 @@ module Akeyless
129
133
  :'db_server_certificates' => :'String',
130
134
  :'db_server_name' => :'String',
131
135
  :'db_type' => :'String',
136
+ :'description' => :'String',
132
137
  :'host' => :'String',
133
138
  :'json' => :'Boolean',
134
139
  :'key' => :'String',
@@ -194,6 +199,10 @@ module Akeyless
194
199
  self.db_type = attributes[:'db_type']
195
200
  end
196
201
 
202
+ if attributes.key?(:'description')
203
+ self.description = attributes[:'description']
204
+ end
205
+
197
206
  if attributes.key?(:'host')
198
207
  self.host = attributes[:'host']
199
208
  end
@@ -312,6 +321,7 @@ module Akeyless
312
321
  db_server_certificates == o.db_server_certificates &&
313
322
  db_server_name == o.db_server_name &&
314
323
  db_type == o.db_type &&
324
+ description == o.description &&
315
325
  host == o.host &&
316
326
  json == o.json &&
317
327
  key == o.key &&
@@ -344,7 +354,7 @@ module Akeyless
344
354
  # Calculates hash code according to all attributes.
345
355
  # @return [Integer] Hash code
346
356
  def hash
347
- [comment, db_name, db_server_certificates, db_server_name, db_type, host, json, key, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, oracle_service_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
357
+ [comment, db_name, db_server_certificates, db_server_name, db_type, description, host, json, key, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, oracle_service_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
348
358
  end
349
359
 
350
360
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateDockerhubTarget
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
  # DockerhubPassword is either the user's password to manage the repository
22
25
  attr_accessor :dockerhub_password
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
  :'dockerhub_password' => :'dockerhub-password',
47
51
  :'dockerhub_username' => :'dockerhub-username',
48
52
  :'json' => :'json',
@@ -62,6 +66,7 @@ module Akeyless
62
66
  def self.openapi_types
63
67
  {
64
68
  :'comment' => :'String',
69
+ :'description' => :'String',
65
70
  :'dockerhub_password' => :'String',
66
71
  :'dockerhub_username' => :'String',
67
72
  :'json' => :'Boolean',
@@ -97,6 +102,10 @@ module Akeyless
97
102
  self.comment = attributes[:'comment']
98
103
  end
99
104
 
105
+ if attributes.key?(:'description')
106
+ self.description = attributes[:'description']
107
+ end
108
+
100
109
  if attributes.key?(:'dockerhub_password')
101
110
  self.dockerhub_password = attributes[:'dockerhub_password']
102
111
  end
@@ -150,6 +159,7 @@ module Akeyless
150
159
  return true if self.equal?(o)
151
160
  self.class == o.class &&
152
161
  comment == o.comment &&
162
+ description == o.description &&
153
163
  dockerhub_password == o.dockerhub_password &&
154
164
  dockerhub_username == o.dockerhub_username &&
155
165
  json == o.json &&
@@ -168,7 +178,7 @@ module Akeyless
168
178
  # Calculates hash code according to all attributes.
169
179
  # @return [Integer] Hash code
170
180
  def hash
171
- [comment, dockerhub_password, dockerhub_username, json, key, name, token, uid_token].hash
181
+ [comment, description, dockerhub_password, dockerhub_username, json, key, name, token, uid_token].hash
172
182
  end
173
183
 
174
184
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateEKSTarget
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
  # Access Key ID
22
25
  attr_accessor :eks_access_key_id
23
26
 
@@ -57,6 +60,7 @@ module Akeyless
57
60
  def self.attribute_map
58
61
  {
59
62
  :'comment' => :'comment',
63
+ :'description' => :'description',
60
64
  :'eks_access_key_id' => :'eks-access-key-id',
61
65
  :'eks_cluster_ca_cert' => :'eks-cluster-ca-cert',
62
66
  :'eks_cluster_endpoint' => :'eks-cluster-endpoint',
@@ -81,6 +85,7 @@ module Akeyless
81
85
  def self.openapi_types
82
86
  {
83
87
  :'comment' => :'String',
88
+ :'description' => :'String',
84
89
  :'eks_access_key_id' => :'String',
85
90
  :'eks_cluster_ca_cert' => :'String',
86
91
  :'eks_cluster_endpoint' => :'String',
@@ -121,6 +126,10 @@ module Akeyless
121
126
  self.comment = attributes[:'comment']
122
127
  end
123
128
 
129
+ if attributes.key?(:'description')
130
+ self.description = attributes[:'description']
131
+ end
132
+
124
133
  if attributes.key?(:'eks_access_key_id')
125
134
  self.eks_access_key_id = attributes[:'eks_access_key_id']
126
135
  end
@@ -221,6 +230,7 @@ module Akeyless
221
230
  return true if self.equal?(o)
222
231
  self.class == o.class &&
223
232
  comment == o.comment &&
233
+ description == o.description &&
224
234
  eks_access_key_id == o.eks_access_key_id &&
225
235
  eks_cluster_ca_cert == o.eks_cluster_ca_cert &&
226
236
  eks_cluster_endpoint == o.eks_cluster_endpoint &&
@@ -244,7 +254,7 @@ module Akeyless
244
254
  # Calculates hash code according to all attributes.
245
255
  # @return [Integer] Hash code
246
256
  def hash
247
- [comment, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, key, name, token, uid_token, use_gw_cloud_identity].hash
257
+ [comment, description, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, key, name, token, uid_token, use_gw_cloud_identity].hash
248
258
  end
249
259
 
250
260
  # Builds the object from hash
@@ -21,9 +21,12 @@ module Akeyless
21
21
  # Workstation Admin password
22
22
  attr_accessor :admin_pwd
23
23
 
24
- # Comment about the EventForwarder
24
+ # Deprecated - use description
25
25
  attr_accessor :comment
26
26
 
27
+ # Description of the object
28
+ attr_accessor :description
29
+
27
30
  # A comma seperated list of email addresses to send event to (relevant only for \\\"email\\\" Event Forwarder)
28
31
  attr_accessor :email_to
29
32
 
@@ -67,6 +70,7 @@ module Akeyless
67
70
  :'admin_name' => :'admin-name',
68
71
  :'admin_pwd' => :'admin-pwd',
69
72
  :'comment' => :'comment',
73
+ :'description' => :'description',
70
74
  :'email_to' => :'email-to',
71
75
  :'event_source_locations' => :'event-source-locations',
72
76
  :'event_source_type' => :'event-source-type',
@@ -94,6 +98,7 @@ module Akeyless
94
98
  :'admin_name' => :'String',
95
99
  :'admin_pwd' => :'String',
96
100
  :'comment' => :'String',
101
+ :'description' => :'String',
97
102
  :'email_to' => :'String',
98
103
  :'event_source_locations' => :'Array<String>',
99
104
  :'event_source_type' => :'String',
@@ -143,6 +148,10 @@ module Akeyless
143
148
  self.comment = attributes[:'comment']
144
149
  end
145
150
 
151
+ if attributes.key?(:'description')
152
+ self.description = attributes[:'description']
153
+ end
154
+
146
155
  if attributes.key?(:'email_to')
147
156
  self.email_to = attributes[:'email_to']
148
157
  end
@@ -243,6 +252,7 @@ module Akeyless
243
252
  admin_name == o.admin_name &&
244
253
  admin_pwd == o.admin_pwd &&
245
254
  comment == o.comment &&
255
+ description == o.description &&
246
256
  email_to == o.email_to &&
247
257
  event_source_locations == o.event_source_locations &&
248
258
  event_source_type == o.event_source_type &&
@@ -267,7 +277,7 @@ module Akeyless
267
277
  # Calculates hash code according to all attributes.
268
278
  # @return [Integer] Hash code
269
279
  def hash
270
- [admin_name, admin_pwd, comment, email_to, event_source_locations, event_source_type, event_types, every, forwarder_type, host, json, key, name, runner_type, token, uid_token].hash
280
+ [admin_name, admin_pwd, comment, description, email_to, event_source_locations, event_source_type, event_types, every, forwarder_type, host, json, key, name, runner_type, token, uid_token].hash
271
281
  end
272
282
 
273
283
  # Builds the object from hash