akeyless 4.2.3 → 4.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -2
  3. data/docs/AccountGeneralSettings.md +2 -0
  4. data/docs/AwsStorage.md +28 -0
  5. data/docs/AzureStorage.md +28 -0
  6. data/docs/BastionConfigReplyObj.md +28 -0
  7. data/docs/BastionGlobalConf.md +24 -0
  8. data/docs/Configure.md +8 -0
  9. data/docs/Connect.md +2 -2
  10. data/docs/CreateClassicKey.md +8 -0
  11. data/docs/CreateDFCKey.md +8 -0
  12. data/docs/DynamicSecretUpdateArtifactory.md +1 -1
  13. data/docs/DynamicSecretUpdateAws.md +1 -1
  14. data/docs/DynamicSecretUpdateAzure.md +1 -1
  15. data/docs/DynamicSecretUpdateCassandra.md +1 -1
  16. data/docs/DynamicSecretUpdateChef.md +1 -1
  17. data/docs/DynamicSecretUpdateCustom.md +1 -1
  18. data/docs/DynamicSecretUpdateDockerhub.md +1 -1
  19. data/docs/DynamicSecretUpdateEks.md +1 -1
  20. data/docs/DynamicSecretUpdateGcp.md +1 -1
  21. data/docs/DynamicSecretUpdateGithub.md +1 -1
  22. data/docs/DynamicSecretUpdateGitlab.md +1 -1
  23. data/docs/DynamicSecretUpdateGke.md +1 -1
  24. data/docs/DynamicSecretUpdateGoogleWorkspace.md +1 -1
  25. data/docs/DynamicSecretUpdateHanaDb.md +1 -1
  26. data/docs/DynamicSecretUpdateK8s.md +1 -1
  27. data/docs/DynamicSecretUpdateLdap.md +1 -1
  28. data/docs/DynamicSecretUpdateMongoDb.md +1 -1
  29. data/docs/DynamicSecretUpdateMsSql.md +1 -1
  30. data/docs/DynamicSecretUpdateMySql.md +1 -1
  31. data/docs/DynamicSecretUpdateOracleDb.md +1 -1
  32. data/docs/DynamicSecretUpdatePing.md +1 -1
  33. data/docs/DynamicSecretUpdateVenafi.md +1 -1
  34. data/docs/EmailPassAccessRules.md +3 -1
  35. data/docs/EventForwarderCreateEmail.md +2 -2
  36. data/docs/EventForwarderCreateServiceNow.md +1 -1
  37. data/docs/EventForwarderCreateSlack.md +1 -1
  38. data/docs/EventForwarderCreateWebhook.md +1 -1
  39. data/docs/EventForwarderUpdateEmail.md +2 -2
  40. data/docs/EventForwarderUpdateServiceNow.md +1 -1
  41. data/docs/EventForwarderUpdateSlack.md +1 -1
  42. data/docs/EventForwarderUpdateWebhook.md +1 -1
  43. data/docs/GatewayGetRemoteAccess.md +22 -0
  44. data/docs/GatewayUpdateItem.md +2 -0
  45. data/docs/GatewayUpdateRemoteAccess.md +36 -0
  46. data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +46 -0
  47. data/docs/GwUpdateRemoteAccessSessionLogsAwsS3.md +42 -0
  48. data/docs/GwUpdateRemoteAccessSessionLogsAzureAnalytics.md +32 -0
  49. data/docs/GwUpdateRemoteAccessSessionLogsDatadog.md +38 -0
  50. data/docs/GwUpdateRemoteAccessSessionLogsElasticsearch.md +48 -0
  51. data/docs/GwUpdateRemoteAccessSessionLogsGoogleChronicle.md +36 -0
  52. data/docs/GwUpdateRemoteAccessSessionLogsLogstash.md +36 -0
  53. data/docs/GwUpdateRemoteAccessSessionLogsLogzIo.md +32 -0
  54. data/docs/GwUpdateRemoteAccessSessionLogsSplunk.md +42 -0
  55. data/docs/GwUpdateRemoteAccessSessionLogsStdout.md +28 -0
  56. data/docs/GwUpdateRemoteAccessSessionLogsSumologic.md +34 -0
  57. data/docs/GwUpdateRemoteAccessSessionLogsSyslog.md +40 -0
  58. data/docs/ItemGeneralInfo.md +4 -0
  59. data/docs/NextAutoRotationEvent.md +18 -0
  60. data/docs/PasswordExpirationInfo.md +24 -0
  61. data/docs/ResetAccessKey.md +24 -0
  62. data/docs/ResetAuthMethodAccessKeyOutput.md +18 -0
  63. data/docs/RollbackSecret.md +2 -0
  64. data/docs/RotatedSecretCreateAws.md +2 -0
  65. data/docs/RotatedSecretCreateAzure.md +2 -0
  66. data/docs/RotatedSecretCreateCassandra.md +2 -0
  67. data/docs/RotatedSecretCreateCustom.md +2 -0
  68. data/docs/RotatedSecretCreateDockerhub.md +2 -0
  69. data/docs/RotatedSecretCreateGcp.md +2 -0
  70. data/docs/RotatedSecretCreateHanadb.md +2 -0
  71. data/docs/RotatedSecretCreateLdap.md +2 -0
  72. data/docs/RotatedSecretCreateMongodb.md +2 -0
  73. data/docs/RotatedSecretCreateMssql.md +2 -0
  74. data/docs/RotatedSecretCreateMysql.md +2 -0
  75. data/docs/RotatedSecretCreateOracledb.md +2 -0
  76. data/docs/RotatedSecretCreatePostgresql.md +2 -0
  77. data/docs/RotatedSecretCreateRedis.md +2 -0
  78. data/docs/RotatedSecretCreateRedshift.md +2 -0
  79. data/docs/RotatedSecretCreateSnowflake.md +2 -0
  80. data/docs/RotatedSecretCreateSsh.md +2 -0
  81. data/docs/RotatedSecretCreateWindows.md +2 -0
  82. data/docs/RotatedSecretUpdateAws.md +2 -0
  83. data/docs/RotatedSecretUpdateAzure.md +2 -0
  84. data/docs/RotatedSecretUpdateCassandra.md +2 -0
  85. data/docs/RotatedSecretUpdateCustom.md +2 -0
  86. data/docs/RotatedSecretUpdateDockerhub.md +2 -0
  87. data/docs/RotatedSecretUpdateGcp.md +2 -0
  88. data/docs/RotatedSecretUpdateHanadb.md +2 -0
  89. data/docs/RotatedSecretUpdateLdap.md +2 -0
  90. data/docs/RotatedSecretUpdateMongodb.md +2 -0
  91. data/docs/RotatedSecretUpdateMssql.md +2 -0
  92. data/docs/RotatedSecretUpdateMysql.md +2 -0
  93. data/docs/RotatedSecretUpdateOracledb.md +2 -0
  94. data/docs/RotatedSecretUpdatePostgresql.md +2 -0
  95. data/docs/RotatedSecretUpdateRedis.md +2 -0
  96. data/docs/RotatedSecretUpdateRedshift.md +2 -0
  97. data/docs/RotatedSecretUpdateSnowflake.md +2 -0
  98. data/docs/RotatedSecretUpdateSsh.md +2 -0
  99. data/docs/RotatedSecretUpdateWindows.md +2 -0
  100. data/docs/SshBastionConf.md +24 -0
  101. data/docs/SshBastionSessionTermination.md +26 -0
  102. data/docs/UpdateAccountSettings.md +6 -0
  103. data/docs/UpdateItem.md +2 -0
  104. data/docs/UpdateRotationSettings.md +2 -0
  105. data/docs/UpdateTarget.md +1 -1
  106. data/docs/UploadRSA.md +2 -0
  107. data/docs/V2Api.md +880 -1
  108. data/docs/WebBastionConf.md +20 -0
  109. data/docs/WebBastionGuacamole.md +18 -0
  110. data/docs/WebBastionRdpRecord.md +22 -0
  111. data/lib/akeyless/api/v2_api.rb +886 -1
  112. data/lib/akeyless/models/account_general_settings.rb +10 -1
  113. data/lib/akeyless/models/aws_storage.rb +260 -0
  114. data/lib/akeyless/models/azure_storage.rb +260 -0
  115. data/lib/akeyless/models/bastion_config_reply_obj.rb +259 -0
  116. data/lib/akeyless/models/bastion_global_conf.rb +243 -0
  117. data/lib/akeyless/models/configure.rb +41 -1
  118. data/lib/akeyless/models/connect.rb +11 -11
  119. data/lib/akeyless/models/create_classic_key.rb +45 -1
  120. data/lib/akeyless/models/create_dfc_key.rb +45 -1
  121. data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +1 -1
  122. data/lib/akeyless/models/dynamic_secret_update_aws.rb +1 -1
  123. data/lib/akeyless/models/dynamic_secret_update_azure.rb +1 -1
  124. data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +1 -1
  125. data/lib/akeyless/models/dynamic_secret_update_chef.rb +1 -1
  126. data/lib/akeyless/models/dynamic_secret_update_custom.rb +1 -1
  127. data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +1 -1
  128. data/lib/akeyless/models/dynamic_secret_update_eks.rb +1 -1
  129. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +1 -1
  130. data/lib/akeyless/models/dynamic_secret_update_github.rb +1 -1
  131. data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +1 -1
  132. data/lib/akeyless/models/dynamic_secret_update_gke.rb +1 -1
  133. data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +1 -1
  134. data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +1 -1
  135. data/lib/akeyless/models/dynamic_secret_update_k8s.rb +1 -1
  136. data/lib/akeyless/models/dynamic_secret_update_ldap.rb +1 -1
  137. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +1 -1
  138. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +1 -1
  139. data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +1 -1
  140. data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +1 -1
  141. data/lib/akeyless/models/dynamic_secret_update_ping.rb +1 -1
  142. data/lib/akeyless/models/dynamic_secret_update_venafi.rb +1 -1
  143. data/lib/akeyless/models/email_pass_access_rules.rb +14 -4
  144. data/lib/akeyless/models/event_forwarder_create_email.rb +2 -2
  145. data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
  146. data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
  147. data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
  148. data/lib/akeyless/models/event_forwarder_update_email.rb +2 -2
  149. data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
  150. data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
  151. data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
  152. data/lib/akeyless/models/gateway_get_remote_access.rb +238 -0
  153. data/lib/akeyless/models/gateway_update_item.rb +13 -1
  154. data/lib/akeyless/models/gateway_update_remote_access.rb +318 -0
  155. data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +358 -0
  156. data/lib/akeyless/models/gw_update_remote_access_session_logs_aws_s3.rb +346 -0
  157. data/lib/akeyless/models/gw_update_remote_access_session_logs_azure_analytics.rb +294 -0
  158. data/lib/akeyless/models/gw_update_remote_access_session_logs_datadog.rb +330 -0
  159. data/lib/akeyless/models/gw_update_remote_access_session_logs_elasticsearch.rb +376 -0
  160. data/lib/akeyless/models/gw_update_remote_access_session_logs_google_chronicle.rb +314 -0
  161. data/lib/akeyless/models/gw_update_remote_access_session_logs_logstash.rb +316 -0
  162. data/lib/akeyless/models/gw_update_remote_access_session_logs_logz_io.rb +294 -0
  163. data/lib/akeyless/models/gw_update_remote_access_session_logs_splunk.rb +350 -0
  164. data/lib/akeyless/models/gw_update_remote_access_session_logs_stdout.rb +274 -0
  165. data/lib/akeyless/models/gw_update_remote_access_session_logs_sumologic.rb +308 -0
  166. data/lib/akeyless/models/gw_update_remote_access_session_logs_syslog.rb +342 -0
  167. data/lib/akeyless/models/item_general_info.rb +23 -1
  168. data/lib/akeyless/models/next_auto_rotation_event.rb +214 -0
  169. data/lib/akeyless/models/password_expiration_info.rb +242 -0
  170. data/lib/akeyless/models/reset_access_key.rb +255 -0
  171. data/lib/akeyless/models/reset_auth_method_access_key_output.rb +215 -0
  172. data/lib/akeyless/models/rollback_secret.rb +13 -1
  173. data/lib/akeyless/models/rotated_secret_create_aws.rb +13 -1
  174. data/lib/akeyless/models/rotated_secret_create_azure.rb +13 -1
  175. data/lib/akeyless/models/rotated_secret_create_cassandra.rb +13 -1
  176. data/lib/akeyless/models/rotated_secret_create_custom.rb +13 -1
  177. data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +13 -1
  178. data/lib/akeyless/models/rotated_secret_create_gcp.rb +13 -1
  179. data/lib/akeyless/models/rotated_secret_create_hanadb.rb +13 -1
  180. data/lib/akeyless/models/rotated_secret_create_ldap.rb +13 -1
  181. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +13 -1
  182. data/lib/akeyless/models/rotated_secret_create_mssql.rb +13 -1
  183. data/lib/akeyless/models/rotated_secret_create_mysql.rb +13 -1
  184. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +13 -1
  185. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +13 -1
  186. data/lib/akeyless/models/rotated_secret_create_redis.rb +13 -1
  187. data/lib/akeyless/models/rotated_secret_create_redshift.rb +13 -1
  188. data/lib/akeyless/models/rotated_secret_create_snowflake.rb +13 -1
  189. data/lib/akeyless/models/rotated_secret_create_ssh.rb +13 -1
  190. data/lib/akeyless/models/rotated_secret_create_windows.rb +13 -1
  191. data/lib/akeyless/models/rotated_secret_update_aws.rb +13 -1
  192. data/lib/akeyless/models/rotated_secret_update_azure.rb +13 -1
  193. data/lib/akeyless/models/rotated_secret_update_cassandra.rb +13 -1
  194. data/lib/akeyless/models/rotated_secret_update_custom.rb +13 -1
  195. data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +13 -1
  196. data/lib/akeyless/models/rotated_secret_update_gcp.rb +13 -1
  197. data/lib/akeyless/models/rotated_secret_update_hanadb.rb +13 -1
  198. data/lib/akeyless/models/rotated_secret_update_ldap.rb +13 -1
  199. data/lib/akeyless/models/rotated_secret_update_mongodb.rb +13 -1
  200. data/lib/akeyless/models/rotated_secret_update_mssql.rb +13 -1
  201. data/lib/akeyless/models/rotated_secret_update_mysql.rb +13 -1
  202. data/lib/akeyless/models/rotated_secret_update_oracledb.rb +13 -1
  203. data/lib/akeyless/models/rotated_secret_update_postgresql.rb +13 -1
  204. data/lib/akeyless/models/rotated_secret_update_redis.rb +13 -1
  205. data/lib/akeyless/models/rotated_secret_update_redshift.rb +13 -1
  206. data/lib/akeyless/models/rotated_secret_update_snowflake.rb +13 -1
  207. data/lib/akeyless/models/rotated_secret_update_ssh.rb +13 -1
  208. data/lib/akeyless/models/rotated_secret_update_windows.rb +13 -1
  209. data/lib/akeyless/models/ssh_bastion_conf.rb +241 -0
  210. data/lib/akeyless/models/ssh_bastion_session_termination.rb +250 -0
  211. data/lib/akeyless/models/update_account_settings.rb +31 -1
  212. data/lib/akeyless/models/update_item.rb +13 -1
  213. data/lib/akeyless/models/update_rotation_settings.rb +13 -1
  214. data/lib/akeyless/models/update_target.rb +1 -1
  215. data/lib/akeyless/models/upload_rsa.rb +13 -1
  216. data/lib/akeyless/models/web_bastion_conf.rb +223 -0
  217. data/lib/akeyless/models/web_bastion_guacamole.rb +214 -0
  218. data/lib/akeyless/models/web_bastion_rdp_record.rb +232 -0
  219. data/lib/akeyless/version.rb +1 -1
  220. data/lib/akeyless.rb +27 -0
  221. data/spec/models/aws_storage_spec.rb +66 -0
  222. data/spec/models/azure_storage_spec.rb +66 -0
  223. data/spec/models/bastion_config_reply_obj_spec.rb +66 -0
  224. data/spec/models/bastion_global_conf_spec.rb +54 -0
  225. data/spec/models/gateway_get_remote_access_spec.rb +48 -0
  226. data/spec/models/gateway_update_remote_access_rdp_recordings_spec.rb +120 -0
  227. data/spec/models/gateway_update_remote_access_spec.rb +90 -0
  228. data/spec/models/gw_update_remote_access_session_logs_aws_s3_spec.rb +108 -0
  229. data/spec/models/gw_update_remote_access_session_logs_azure_analytics_spec.rb +78 -0
  230. data/spec/models/gw_update_remote_access_session_logs_datadog_spec.rb +96 -0
  231. data/spec/models/gw_update_remote_access_session_logs_elasticsearch_spec.rb +126 -0
  232. data/spec/models/gw_update_remote_access_session_logs_google_chronicle_spec.rb +90 -0
  233. data/spec/models/gw_update_remote_access_session_logs_logstash_spec.rb +90 -0
  234. data/spec/models/gw_update_remote_access_session_logs_logz_io_spec.rb +78 -0
  235. data/spec/models/gw_update_remote_access_session_logs_splunk_spec.rb +108 -0
  236. data/spec/models/gw_update_remote_access_session_logs_stdout_spec.rb +66 -0
  237. data/spec/models/gw_update_remote_access_session_logs_sumologic_spec.rb +84 -0
  238. data/spec/models/gw_update_remote_access_session_logs_syslog_spec.rb +102 -0
  239. data/spec/models/next_auto_rotation_event_spec.rb +36 -0
  240. data/spec/models/password_expiration_info_spec.rb +54 -0
  241. data/spec/models/reset_access_key_spec.rb +54 -0
  242. data/spec/models/reset_auth_method_access_key_output_spec.rb +36 -0
  243. data/spec/models/ssh_bastion_conf_spec.rb +54 -0
  244. data/spec/models/ssh_bastion_session_termination_spec.rb +60 -0
  245. data/spec/models/web_bastion_conf_spec.rb +42 -0
  246. data/spec/models/web_bastion_guacamole_spec.rb +36 -0
  247. data/spec/models/web_bastion_rdp_record_spec.rb +48 -0
  248. metadata +1089 -981
@@ -68,6 +68,9 @@ module Akeyless
68
68
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=ldap)
69
69
  attr_accessor :rotated_username
70
70
 
71
+ # How many days before the rotation of the item would you like to be notified
72
+ attr_accessor :rotation_event_in
73
+
71
74
  # The Hour of the rotation in UTC
72
75
  attr_accessor :rotation_hour
73
76
 
@@ -131,6 +134,7 @@ module Akeyless
131
134
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
132
135
  :'rotated_password' => :'rotated-password',
133
136
  :'rotated_username' => :'rotated-username',
137
+ :'rotation_event_in' => :'rotation-event-in',
134
138
  :'rotation_hour' => :'rotation-hour',
135
139
  :'rotation_interval' => :'rotation-interval',
136
140
  :'secure_access_enable' => :'secure-access-enable',
@@ -174,6 +178,7 @@ module Akeyless
174
178
  :'rotate_after_disconnect' => :'String',
175
179
  :'rotated_password' => :'String',
176
180
  :'rotated_username' => :'String',
181
+ :'rotation_event_in' => :'Array<String>',
177
182
  :'rotation_hour' => :'Integer',
178
183
  :'rotation_interval' => :'String',
179
184
  :'secure_access_enable' => :'String',
@@ -298,6 +303,12 @@ module Akeyless
298
303
  self.rotated_username = attributes[:'rotated_username']
299
304
  end
300
305
 
306
+ if attributes.key?(:'rotation_event_in')
307
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
308
+ self.rotation_event_in = value
309
+ end
310
+ end
311
+
301
312
  if attributes.key?(:'rotation_hour')
302
313
  self.rotation_hour = attributes[:'rotation_hour']
303
314
  end
@@ -410,6 +421,7 @@ module Akeyless
410
421
  rotate_after_disconnect == o.rotate_after_disconnect &&
411
422
  rotated_password == o.rotated_password &&
412
423
  rotated_username == o.rotated_username &&
424
+ rotation_event_in == o.rotation_event_in &&
413
425
  rotation_hour == o.rotation_hour &&
414
426
  rotation_interval == o.rotation_interval &&
415
427
  secure_access_enable == o.secure_access_enable &&
@@ -435,7 +447,7 @@ module Akeyless
435
447
  # Calculates hash code according to all attributes.
436
448
  # @return [Integer] Hash code
437
449
  def hash
438
- [provider_type, add_tag, authentication_credentials, auto_rotate, delete_protection, description, host_provider, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, target, token, uid_token, user_attribute, user_dn].hash
450
+ [provider_type, add_tag, authentication_credentials, auto_rotate, delete_protection, description, host_provider, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, target, token, uid_token, user_attribute, user_dn].hash
439
451
  end
440
452
 
441
453
  # Builds the object from hash
@@ -63,6 +63,9 @@ module Akeyless
63
63
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
64
64
  attr_accessor :rotated_username
65
65
 
66
+ # How many days before the rotation of the item would you like to be notified
67
+ attr_accessor :rotation_event_in
68
+
66
69
  # The Hour of the rotation in UTC
67
70
  attr_accessor :rotation_hour
68
71
 
@@ -109,6 +112,7 @@ module Akeyless
109
112
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
110
113
  :'rotated_password' => :'rotated-password',
111
114
  :'rotated_username' => :'rotated-username',
115
+ :'rotation_event_in' => :'rotation-event-in',
112
116
  :'rotation_hour' => :'rotation-hour',
113
117
  :'rotation_interval' => :'rotation-interval',
114
118
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
@@ -145,6 +149,7 @@ module Akeyless
145
149
  :'rotate_after_disconnect' => :'String',
146
150
  :'rotated_password' => :'String',
147
151
  :'rotated_username' => :'String',
152
+ :'rotation_event_in' => :'Array<String>',
148
153
  :'rotation_hour' => :'Integer',
149
154
  :'rotation_interval' => :'String',
150
155
  :'secure_access_bastion_issuer' => :'String',
@@ -256,6 +261,12 @@ module Akeyless
256
261
  self.rotated_username = attributes[:'rotated_username']
257
262
  end
258
263
 
264
+ if attributes.key?(:'rotation_event_in')
265
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
266
+ self.rotation_event_in = value
267
+ end
268
+ end
269
+
259
270
  if attributes.key?(:'rotation_hour')
260
271
  self.rotation_hour = attributes[:'rotation_hour']
261
272
  end
@@ -338,6 +349,7 @@ module Akeyless
338
349
  rotate_after_disconnect == o.rotate_after_disconnect &&
339
350
  rotated_password == o.rotated_password &&
340
351
  rotated_username == o.rotated_username &&
352
+ rotation_event_in == o.rotation_event_in &&
341
353
  rotation_hour == o.rotation_hour &&
342
354
  rotation_interval == o.rotation_interval &&
343
355
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
@@ -358,7 +370,7 @@ module Akeyless
358
370
  # Calculates hash code according to all attributes.
359
371
  # @return [Integer] Hash code
360
372
  def hash
361
- [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
373
+ [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
362
374
  end
363
375
 
364
376
  # Builds the object from hash
@@ -63,6 +63,9 @@ module Akeyless
63
63
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
64
64
  attr_accessor :rotated_username
65
65
 
66
+ # How many days before the rotation of the item would you like to be notified
67
+ attr_accessor :rotation_event_in
68
+
66
69
  # The Hour of the rotation in UTC
67
70
  attr_accessor :rotation_hour
68
71
 
@@ -112,6 +115,7 @@ module Akeyless
112
115
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
113
116
  :'rotated_password' => :'rotated-password',
114
117
  :'rotated_username' => :'rotated-username',
118
+ :'rotation_event_in' => :'rotation-event-in',
115
119
  :'rotation_hour' => :'rotation-hour',
116
120
  :'rotation_interval' => :'rotation-interval',
117
121
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
@@ -149,6 +153,7 @@ module Akeyless
149
153
  :'rotate_after_disconnect' => :'String',
150
154
  :'rotated_password' => :'String',
151
155
  :'rotated_username' => :'String',
156
+ :'rotation_event_in' => :'Array<String>',
152
157
  :'rotation_hour' => :'Integer',
153
158
  :'rotation_interval' => :'String',
154
159
  :'secure_access_bastion_issuer' => :'String',
@@ -261,6 +266,12 @@ module Akeyless
261
266
  self.rotated_username = attributes[:'rotated_username']
262
267
  end
263
268
 
269
+ if attributes.key?(:'rotation_event_in')
270
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
271
+ self.rotation_event_in = value
272
+ end
273
+ end
274
+
264
275
  if attributes.key?(:'rotation_hour')
265
276
  self.rotation_hour = attributes[:'rotation_hour']
266
277
  end
@@ -347,6 +358,7 @@ module Akeyless
347
358
  rotate_after_disconnect == o.rotate_after_disconnect &&
348
359
  rotated_password == o.rotated_password &&
349
360
  rotated_username == o.rotated_username &&
361
+ rotation_event_in == o.rotation_event_in &&
350
362
  rotation_hour == o.rotation_hour &&
351
363
  rotation_interval == o.rotation_interval &&
352
364
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
@@ -368,7 +380,7 @@ module Akeyless
368
380
  # Calculates hash code according to all attributes.
369
381
  # @return [Integer] Hash code
370
382
  def hash
371
- [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
383
+ [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
372
384
  end
373
385
 
374
386
  # Builds the object from hash
@@ -63,6 +63,9 @@ module Akeyless
63
63
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
64
64
  attr_accessor :rotated_username
65
65
 
66
+ # How many days before the rotation of the item would you like to be notified
67
+ attr_accessor :rotation_event_in
68
+
66
69
  # The Hour of the rotation in UTC
67
70
  attr_accessor :rotation_hour
68
71
 
@@ -109,6 +112,7 @@ module Akeyless
109
112
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
110
113
  :'rotated_password' => :'rotated-password',
111
114
  :'rotated_username' => :'rotated-username',
115
+ :'rotation_event_in' => :'rotation-event-in',
112
116
  :'rotation_hour' => :'rotation-hour',
113
117
  :'rotation_interval' => :'rotation-interval',
114
118
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
@@ -145,6 +149,7 @@ module Akeyless
145
149
  :'rotate_after_disconnect' => :'String',
146
150
  :'rotated_password' => :'String',
147
151
  :'rotated_username' => :'String',
152
+ :'rotation_event_in' => :'Array<String>',
148
153
  :'rotation_hour' => :'Integer',
149
154
  :'rotation_interval' => :'String',
150
155
  :'secure_access_bastion_issuer' => :'String',
@@ -256,6 +261,12 @@ module Akeyless
256
261
  self.rotated_username = attributes[:'rotated_username']
257
262
  end
258
263
 
264
+ if attributes.key?(:'rotation_event_in')
265
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
266
+ self.rotation_event_in = value
267
+ end
268
+ end
269
+
259
270
  if attributes.key?(:'rotation_hour')
260
271
  self.rotation_hour = attributes[:'rotation_hour']
261
272
  end
@@ -338,6 +349,7 @@ module Akeyless
338
349
  rotate_after_disconnect == o.rotate_after_disconnect &&
339
350
  rotated_password == o.rotated_password &&
340
351
  rotated_username == o.rotated_username &&
352
+ rotation_event_in == o.rotation_event_in &&
341
353
  rotation_hour == o.rotation_hour &&
342
354
  rotation_interval == o.rotation_interval &&
343
355
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
@@ -358,7 +370,7 @@ module Akeyless
358
370
  # Calculates hash code according to all attributes.
359
371
  # @return [Integer] Hash code
360
372
  def hash
361
- [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
373
+ [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
362
374
  end
363
375
 
364
376
  # Builds the object from hash
@@ -63,6 +63,9 @@ module Akeyless
63
63
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
64
64
  attr_accessor :rotated_username
65
65
 
66
+ # How many days before the rotation of the item would you like to be notified
67
+ attr_accessor :rotation_event_in
68
+
66
69
  # The Hour of the rotation in UTC
67
70
  attr_accessor :rotation_hour
68
71
 
@@ -106,6 +109,7 @@ module Akeyless
106
109
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
107
110
  :'rotated_password' => :'rotated-password',
108
111
  :'rotated_username' => :'rotated-username',
112
+ :'rotation_event_in' => :'rotation-event-in',
109
113
  :'rotation_hour' => :'rotation-hour',
110
114
  :'rotation_interval' => :'rotation-interval',
111
115
  :'secure_access_db_name' => :'secure-access-db-name',
@@ -141,6 +145,7 @@ module Akeyless
141
145
  :'rotate_after_disconnect' => :'String',
142
146
  :'rotated_password' => :'String',
143
147
  :'rotated_username' => :'String',
148
+ :'rotation_event_in' => :'Array<String>',
144
149
  :'rotation_hour' => :'Integer',
145
150
  :'rotation_interval' => :'String',
146
151
  :'secure_access_db_name' => :'String',
@@ -251,6 +256,12 @@ module Akeyless
251
256
  self.rotated_username = attributes[:'rotated_username']
252
257
  end
253
258
 
259
+ if attributes.key?(:'rotation_event_in')
260
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
261
+ self.rotation_event_in = value
262
+ end
263
+ end
264
+
254
265
  if attributes.key?(:'rotation_hour')
255
266
  self.rotation_hour = attributes[:'rotation_hour']
256
267
  end
@@ -329,6 +340,7 @@ module Akeyless
329
340
  rotate_after_disconnect == o.rotate_after_disconnect &&
330
341
  rotated_password == o.rotated_password &&
331
342
  rotated_username == o.rotated_username &&
343
+ rotation_event_in == o.rotation_event_in &&
332
344
  rotation_hour == o.rotation_hour &&
333
345
  rotation_interval == o.rotation_interval &&
334
346
  secure_access_db_name == o.secure_access_db_name &&
@@ -348,7 +360,7 @@ module Akeyless
348
360
  # Calculates hash code according to all attributes.
349
361
  # @return [Integer] Hash code
350
362
  def hash
351
- [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
363
+ [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
352
364
  end
353
365
 
354
366
  # Builds the object from hash
@@ -63,6 +63,9 @@ module Akeyless
63
63
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
64
64
  attr_accessor :rotated_username
65
65
 
66
+ # How many days before the rotation of the item would you like to be notified
67
+ attr_accessor :rotation_event_in
68
+
66
69
  # The Hour of the rotation in UTC
67
70
  attr_accessor :rotation_hour
68
71
 
@@ -112,6 +115,7 @@ module Akeyless
112
115
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
113
116
  :'rotated_password' => :'rotated-password',
114
117
  :'rotated_username' => :'rotated-username',
118
+ :'rotation_event_in' => :'rotation-event-in',
115
119
  :'rotation_hour' => :'rotation-hour',
116
120
  :'rotation_interval' => :'rotation-interval',
117
121
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
@@ -149,6 +153,7 @@ module Akeyless
149
153
  :'rotate_after_disconnect' => :'String',
150
154
  :'rotated_password' => :'String',
151
155
  :'rotated_username' => :'String',
156
+ :'rotation_event_in' => :'Array<String>',
152
157
  :'rotation_hour' => :'Integer',
153
158
  :'rotation_interval' => :'String',
154
159
  :'secure_access_bastion_issuer' => :'String',
@@ -261,6 +266,12 @@ module Akeyless
261
266
  self.rotated_username = attributes[:'rotated_username']
262
267
  end
263
268
 
269
+ if attributes.key?(:'rotation_event_in')
270
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
271
+ self.rotation_event_in = value
272
+ end
273
+ end
274
+
264
275
  if attributes.key?(:'rotation_hour')
265
276
  self.rotation_hour = attributes[:'rotation_hour']
266
277
  end
@@ -347,6 +358,7 @@ module Akeyless
347
358
  rotate_after_disconnect == o.rotate_after_disconnect &&
348
359
  rotated_password == o.rotated_password &&
349
360
  rotated_username == o.rotated_username &&
361
+ rotation_event_in == o.rotation_event_in &&
350
362
  rotation_hour == o.rotation_hour &&
351
363
  rotation_interval == o.rotation_interval &&
352
364
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
@@ -368,7 +380,7 @@ module Akeyless
368
380
  # Calculates hash code according to all attributes.
369
381
  # @return [Integer] Hash code
370
382
  def hash
371
- [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
383
+ [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
372
384
  end
373
385
 
374
386
  # Builds the object from hash
@@ -60,6 +60,9 @@ module Akeyless
60
60
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
61
61
  attr_accessor :rotated_username
62
62
 
63
+ # How many days before the rotation of the item would you like to be notified
64
+ attr_accessor :rotation_event_in
65
+
63
66
  # The Hour of the rotation in UTC
64
67
  attr_accessor :rotation_hour
65
68
 
@@ -90,6 +93,7 @@ module Akeyless
90
93
  :'rm_tag' => :'rm-tag',
91
94
  :'rotated_password' => :'rotated-password',
92
95
  :'rotated_username' => :'rotated-username',
96
+ :'rotation_event_in' => :'rotation-event-in',
93
97
  :'rotation_hour' => :'rotation-hour',
94
98
  :'rotation_interval' => :'rotation-interval',
95
99
  :'token' => :'token',
@@ -120,6 +124,7 @@ module Akeyless
120
124
  :'rm_tag' => :'Array<String>',
121
125
  :'rotated_password' => :'String',
122
126
  :'rotated_username' => :'String',
127
+ :'rotation_event_in' => :'Array<String>',
123
128
  :'rotation_hour' => :'Integer',
124
129
  :'rotation_interval' => :'String',
125
130
  :'token' => :'String',
@@ -220,6 +225,12 @@ module Akeyless
220
225
  self.rotated_username = attributes[:'rotated_username']
221
226
  end
222
227
 
228
+ if attributes.key?(:'rotation_event_in')
229
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
230
+ self.rotation_event_in = value
231
+ end
232
+ end
233
+
223
234
  if attributes.key?(:'rotation_hour')
224
235
  self.rotation_hour = attributes[:'rotation_hour']
225
236
  end
@@ -277,6 +288,7 @@ module Akeyless
277
288
  rm_tag == o.rm_tag &&
278
289
  rotated_password == o.rotated_password &&
279
290
  rotated_username == o.rotated_username &&
291
+ rotation_event_in == o.rotation_event_in &&
280
292
  rotation_hour == o.rotation_hour &&
281
293
  rotation_interval == o.rotation_interval &&
282
294
  token == o.token &&
@@ -292,7 +304,7 @@ module Akeyless
292
304
  # Calculates hash code according to all attributes.
293
305
  # @return [Integer] Hash code
294
306
  def hash
295
- [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotated_password, rotated_username, rotation_hour, rotation_interval, token, uid_token].hash
307
+ [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, token, uid_token].hash
296
308
  end
297
309
 
298
310
  # Builds the object from hash
@@ -63,6 +63,9 @@ module Akeyless
63
63
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
64
64
  attr_accessor :rotated_username
65
65
 
66
+ # How many days before the rotation of the item would you like to be notified
67
+ attr_accessor :rotation_event_in
68
+
66
69
  # The Hour of the rotation in UTC
67
70
  attr_accessor :rotation_hour
68
71
 
@@ -103,6 +106,7 @@ module Akeyless
103
106
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
104
107
  :'rotated_password' => :'rotated-password',
105
108
  :'rotated_username' => :'rotated-username',
109
+ :'rotation_event_in' => :'rotation-event-in',
106
110
  :'rotation_hour' => :'rotation-hour',
107
111
  :'rotation_interval' => :'rotation-interval',
108
112
  :'secure_access_db_name' => :'secure-access-db-name',
@@ -137,6 +141,7 @@ module Akeyless
137
141
  :'rotate_after_disconnect' => :'String',
138
142
  :'rotated_password' => :'String',
139
143
  :'rotated_username' => :'String',
144
+ :'rotation_event_in' => :'Array<String>',
140
145
  :'rotation_hour' => :'Integer',
141
146
  :'rotation_interval' => :'String',
142
147
  :'secure_access_db_name' => :'String',
@@ -246,6 +251,12 @@ module Akeyless
246
251
  self.rotated_username = attributes[:'rotated_username']
247
252
  end
248
253
 
254
+ if attributes.key?(:'rotation_event_in')
255
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
256
+ self.rotation_event_in = value
257
+ end
258
+ end
259
+
249
260
  if attributes.key?(:'rotation_hour')
250
261
  self.rotation_hour = attributes[:'rotation_hour']
251
262
  end
@@ -318,6 +329,7 @@ module Akeyless
318
329
  rotate_after_disconnect == o.rotate_after_disconnect &&
319
330
  rotated_password == o.rotated_password &&
320
331
  rotated_username == o.rotated_username &&
332
+ rotation_event_in == o.rotation_event_in &&
321
333
  rotation_hour == o.rotation_hour &&
322
334
  rotation_interval == o.rotation_interval &&
323
335
  secure_access_db_name == o.secure_access_db_name &&
@@ -336,7 +348,7 @@ module Akeyless
336
348
  # Calculates hash code according to all attributes.
337
349
  # @return [Integer] Hash code
338
350
  def hash
339
- [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, secure_access_db_name, secure_access_enable, secure_access_host, token, uid_token].hash
351
+ [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_db_name, secure_access_enable, secure_access_host, token, uid_token].hash
340
352
  end
341
353
 
342
354
  # Builds the object from hash
@@ -60,6 +60,9 @@ module Akeyless
60
60
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
61
61
  attr_accessor :rotated_username
62
62
 
63
+ # How many days before the rotation of the item would you like to be notified
64
+ attr_accessor :rotation_event_in
65
+
63
66
  # The Hour of the rotation in UTC
64
67
  attr_accessor :rotation_hour
65
68
 
@@ -90,6 +93,7 @@ module Akeyless
90
93
  :'rm_tag' => :'rm-tag',
91
94
  :'rotated_password' => :'rotated-password',
92
95
  :'rotated_username' => :'rotated-username',
96
+ :'rotation_event_in' => :'rotation-event-in',
93
97
  :'rotation_hour' => :'rotation-hour',
94
98
  :'rotation_interval' => :'rotation-interval',
95
99
  :'token' => :'token',
@@ -120,6 +124,7 @@ module Akeyless
120
124
  :'rm_tag' => :'Array<String>',
121
125
  :'rotated_password' => :'String',
122
126
  :'rotated_username' => :'String',
127
+ :'rotation_event_in' => :'Array<String>',
123
128
  :'rotation_hour' => :'Integer',
124
129
  :'rotation_interval' => :'String',
125
130
  :'token' => :'String',
@@ -220,6 +225,12 @@ module Akeyless
220
225
  self.rotated_username = attributes[:'rotated_username']
221
226
  end
222
227
 
228
+ if attributes.key?(:'rotation_event_in')
229
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
230
+ self.rotation_event_in = value
231
+ end
232
+ end
233
+
223
234
  if attributes.key?(:'rotation_hour')
224
235
  self.rotation_hour = attributes[:'rotation_hour']
225
236
  end
@@ -277,6 +288,7 @@ module Akeyless
277
288
  rm_tag == o.rm_tag &&
278
289
  rotated_password == o.rotated_password &&
279
290
  rotated_username == o.rotated_username &&
291
+ rotation_event_in == o.rotation_event_in &&
280
292
  rotation_hour == o.rotation_hour &&
281
293
  rotation_interval == o.rotation_interval &&
282
294
  token == o.token &&
@@ -292,7 +304,7 @@ module Akeyless
292
304
  # Calculates hash code according to all attributes.
293
305
  # @return [Integer] Hash code
294
306
  def hash
295
- [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotated_password, rotated_username, rotation_hour, rotation_interval, token, uid_token].hash
307
+ [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, token, uid_token].hash
296
308
  end
297
309
 
298
310
  # Builds the object from hash
@@ -63,6 +63,9 @@ module Akeyless
63
63
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
64
64
  attr_accessor :rotated_username
65
65
 
66
+ # How many days before the rotation of the item would you like to be notified
67
+ attr_accessor :rotation_event_in
68
+
66
69
  # The Hour of the rotation in UTC
67
70
  attr_accessor :rotation_hour
68
71
 
@@ -124,6 +127,7 @@ module Akeyless
124
127
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
125
128
  :'rotated_password' => :'rotated-password',
126
129
  :'rotated_username' => :'rotated-username',
130
+ :'rotation_event_in' => :'rotation-event-in',
127
131
  :'rotation_hour' => :'rotation-hour',
128
132
  :'rotation_interval' => :'rotation-interval',
129
133
  :'rotator_custom_cmd' => :'rotator-custom-cmd',
@@ -165,6 +169,7 @@ module Akeyless
165
169
  :'rotate_after_disconnect' => :'String',
166
170
  :'rotated_password' => :'String',
167
171
  :'rotated_username' => :'String',
172
+ :'rotation_event_in' => :'Array<String>',
168
173
  :'rotation_hour' => :'Integer',
169
174
  :'rotation_interval' => :'String',
170
175
  :'rotator_custom_cmd' => :'String',
@@ -281,6 +286,12 @@ module Akeyless
281
286
  self.rotated_username = attributes[:'rotated_username']
282
287
  end
283
288
 
289
+ if attributes.key?(:'rotation_event_in')
290
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
291
+ self.rotation_event_in = value
292
+ end
293
+ end
294
+
284
295
  if attributes.key?(:'rotation_hour')
285
296
  self.rotation_hour = attributes[:'rotation_hour']
286
297
  end
@@ -390,6 +401,7 @@ module Akeyless
390
401
  rotate_after_disconnect == o.rotate_after_disconnect &&
391
402
  rotated_password == o.rotated_password &&
392
403
  rotated_username == o.rotated_username &&
404
+ rotation_event_in == o.rotation_event_in &&
393
405
  rotation_hour == o.rotation_hour &&
394
406
  rotation_interval == o.rotation_interval &&
395
407
  rotator_custom_cmd == o.rotator_custom_cmd &&
@@ -415,7 +427,7 @@ module Akeyless
415
427
  # Calculates hash code according to all attributes.
416
428
  # @return [Integer] Hash code
417
429
  def hash
418
- [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_custom_cmd, rotator_type, same_password, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, token, uid_token].hash
430
+ [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_custom_cmd, rotator_type, same_password, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, token, uid_token].hash
419
431
  end
420
432
 
421
433
  # Builds the object from hash
@@ -63,6 +63,9 @@ module Akeyless
63
63
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
64
64
  attr_accessor :rotated_username
65
65
 
66
+ # How many days before the rotation of the item would you like to be notified
67
+ attr_accessor :rotation_event_in
68
+
66
69
  # The Hour of the rotation in UTC
67
70
  attr_accessor :rotation_hour
68
71
 
@@ -115,6 +118,7 @@ module Akeyless
115
118
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
116
119
  :'rotated_password' => :'rotated-password',
117
120
  :'rotated_username' => :'rotated-username',
121
+ :'rotation_event_in' => :'rotation-event-in',
118
122
  :'rotation_hour' => :'rotation-hour',
119
123
  :'rotation_interval' => :'rotation-interval',
120
124
  :'rotator_type' => :'rotator-type',
@@ -153,6 +157,7 @@ module Akeyless
153
157
  :'rotate_after_disconnect' => :'String',
154
158
  :'rotated_password' => :'String',
155
159
  :'rotated_username' => :'String',
160
+ :'rotation_event_in' => :'Array<String>',
156
161
  :'rotation_hour' => :'Integer',
157
162
  :'rotation_interval' => :'String',
158
163
  :'rotator_type' => :'String',
@@ -266,6 +271,12 @@ module Akeyless
266
271
  self.rotated_username = attributes[:'rotated_username']
267
272
  end
268
273
 
274
+ if attributes.key?(:'rotation_event_in')
275
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
276
+ self.rotation_event_in = value
277
+ end
278
+ end
279
+
269
280
  if attributes.key?(:'rotation_hour')
270
281
  self.rotation_hour = attributes[:'rotation_hour']
271
282
  end
@@ -363,6 +374,7 @@ module Akeyless
363
374
  rotate_after_disconnect == o.rotate_after_disconnect &&
364
375
  rotated_password == o.rotated_password &&
365
376
  rotated_username == o.rotated_username &&
377
+ rotation_event_in == o.rotation_event_in &&
366
378
  rotation_hour == o.rotation_hour &&
367
379
  rotation_interval == o.rotation_interval &&
368
380
  rotator_type == o.rotator_type &&
@@ -385,7 +397,7 @@ module Akeyless
385
397
  # Calculates hash code according to all attributes.
386
398
  # @return [Integer] Hash code
387
399
  def hash
388
- [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, same_password, secure_access_allow_external_user, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, token, uid_token].hash
400
+ [add_tag, authentication_credentials, auto_rotate, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, same_password, secure_access_allow_external_user, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, token, uid_token].hash
389
401
  end
390
402
 
391
403
  # Builds the object from hash