akeyless 4.2.3 → 4.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (291) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +54 -2
  3. data/docs/AccountGeneralSettings.md +2 -0
  4. data/docs/AcmeAccount.md +22 -0
  5. data/docs/AuthMethodRoleAssociation.md +2 -0
  6. data/docs/AwsStorage.md +28 -0
  7. data/docs/AzureStorage.md +28 -0
  8. data/docs/BastionConfigReplyObj.md +28 -0
  9. data/docs/BastionGlobalConf.md +24 -0
  10. data/docs/ChangeAdminAccountPassword.md +26 -0
  11. data/docs/Configure.md +8 -0
  12. data/docs/Connect.md +2 -2
  13. data/docs/CreateClassicKey.md +8 -0
  14. data/docs/CreateDFCKey.md +8 -0
  15. data/docs/CreatePKICertIssuer.md +5 -1
  16. data/docs/DeactivateAcmeAccount.md +28 -0
  17. data/docs/DynamicSecretUpdateArtifactory.md +1 -1
  18. data/docs/DynamicSecretUpdateAws.md +1 -1
  19. data/docs/DynamicSecretUpdateAzure.md +1 -1
  20. data/docs/DynamicSecretUpdateCassandra.md +1 -1
  21. data/docs/DynamicSecretUpdateChef.md +1 -1
  22. data/docs/DynamicSecretUpdateCustom.md +1 -1
  23. data/docs/DynamicSecretUpdateDockerhub.md +1 -1
  24. data/docs/DynamicSecretUpdateEks.md +1 -1
  25. data/docs/DynamicSecretUpdateGcp.md +1 -1
  26. data/docs/DynamicSecretUpdateGithub.md +1 -1
  27. data/docs/DynamicSecretUpdateGitlab.md +1 -1
  28. data/docs/DynamicSecretUpdateGke.md +1 -1
  29. data/docs/DynamicSecretUpdateGoogleWorkspace.md +1 -1
  30. data/docs/DynamicSecretUpdateHanaDb.md +1 -1
  31. data/docs/DynamicSecretUpdateK8s.md +1 -1
  32. data/docs/DynamicSecretUpdateLdap.md +1 -1
  33. data/docs/DynamicSecretUpdateMongoDb.md +1 -1
  34. data/docs/DynamicSecretUpdateMsSql.md +1 -1
  35. data/docs/DynamicSecretUpdateMySql.md +1 -1
  36. data/docs/DynamicSecretUpdateOracleDb.md +1 -1
  37. data/docs/DynamicSecretUpdatePing.md +1 -1
  38. data/docs/DynamicSecretUpdateVenafi.md +1 -1
  39. data/docs/EmailPassAccessRules.md +3 -1
  40. data/docs/EventForwarderCreateEmail.md +2 -2
  41. data/docs/EventForwarderCreateServiceNow.md +1 -1
  42. data/docs/EventForwarderCreateSlack.md +1 -1
  43. data/docs/EventForwarderCreateWebhook.md +1 -1
  44. data/docs/EventForwarderUpdateEmail.md +2 -2
  45. data/docs/EventForwarderUpdateServiceNow.md +1 -1
  46. data/docs/EventForwarderUpdateSlack.md +1 -1
  47. data/docs/EventForwarderUpdateWebhook.md +1 -1
  48. data/docs/GatewayGetRemoteAccess.md +22 -0
  49. data/docs/GatewayUpdateItem.md +2 -0
  50. data/docs/GatewayUpdateRemoteAccess.md +36 -0
  51. data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +46 -0
  52. data/docs/GenerateAcmeEab.md +24 -0
  53. data/docs/GenerateAcmeEabOutput.md +22 -0
  54. data/docs/GetGroupOutput.md +2 -0
  55. data/docs/GetKubeExecCreds.md +1 -1
  56. data/docs/GetPKICertificate.md +1 -1
  57. data/docs/Group.md +2 -0
  58. data/docs/GwUpdateRemoteAccessSessionLogsAwsS3.md +42 -0
  59. data/docs/GwUpdateRemoteAccessSessionLogsAzureAnalytics.md +32 -0
  60. data/docs/GwUpdateRemoteAccessSessionLogsDatadog.md +38 -0
  61. data/docs/GwUpdateRemoteAccessSessionLogsElasticsearch.md +48 -0
  62. data/docs/GwUpdateRemoteAccessSessionLogsGoogleChronicle.md +36 -0
  63. data/docs/GwUpdateRemoteAccessSessionLogsLogstash.md +36 -0
  64. data/docs/GwUpdateRemoteAccessSessionLogsLogzIo.md +32 -0
  65. data/docs/GwUpdateRemoteAccessSessionLogsSplunk.md +42 -0
  66. data/docs/GwUpdateRemoteAccessSessionLogsStdout.md +28 -0
  67. data/docs/GwUpdateRemoteAccessSessionLogsSumologic.md +34 -0
  68. data/docs/GwUpdateRemoteAccessSessionLogsSyslog.md +40 -0
  69. data/docs/ItemGeneralInfo.md +4 -0
  70. data/docs/ListAcmeAccounts.md +24 -0
  71. data/docs/ListAcmeAccountsOutput.md +18 -0
  72. data/docs/NextAutoRotationEvent.md +18 -0
  73. data/docs/PKICertificateIssueDetails.md +4 -0
  74. data/docs/PasswordExpirationInfo.md +24 -0
  75. data/docs/ResetAccessKey.md +24 -0
  76. data/docs/ResetAuthMethodAccessKeyOutput.md +18 -0
  77. data/docs/RoleAssociationDetails.md +2 -0
  78. data/docs/RoleAuthMethodAssociation.md +2 -0
  79. data/docs/RollbackSecret.md +2 -0
  80. data/docs/RotatedSecretCreateAws.md +2 -0
  81. data/docs/RotatedSecretCreateAzure.md +2 -0
  82. data/docs/RotatedSecretCreateCassandra.md +2 -0
  83. data/docs/RotatedSecretCreateCustom.md +2 -0
  84. data/docs/RotatedSecretCreateDockerhub.md +2 -0
  85. data/docs/RotatedSecretCreateGcp.md +2 -0
  86. data/docs/RotatedSecretCreateHanadb.md +2 -0
  87. data/docs/RotatedSecretCreateLdap.md +2 -0
  88. data/docs/RotatedSecretCreateMongodb.md +2 -0
  89. data/docs/RotatedSecretCreateMssql.md +2 -0
  90. data/docs/RotatedSecretCreateMysql.md +2 -0
  91. data/docs/RotatedSecretCreateOracledb.md +2 -0
  92. data/docs/RotatedSecretCreatePostgresql.md +2 -0
  93. data/docs/RotatedSecretCreateRedis.md +2 -0
  94. data/docs/RotatedSecretCreateRedshift.md +2 -0
  95. data/docs/RotatedSecretCreateSnowflake.md +2 -0
  96. data/docs/RotatedSecretCreateSsh.md +2 -0
  97. data/docs/RotatedSecretCreateWindows.md +2 -0
  98. data/docs/RotatedSecretUpdateAws.md +2 -0
  99. data/docs/RotatedSecretUpdateAzure.md +2 -0
  100. data/docs/RotatedSecretUpdateCassandra.md +2 -0
  101. data/docs/RotatedSecretUpdateCustom.md +2 -0
  102. data/docs/RotatedSecretUpdateDockerhub.md +2 -0
  103. data/docs/RotatedSecretUpdateGcp.md +2 -0
  104. data/docs/RotatedSecretUpdateHanadb.md +2 -0
  105. data/docs/RotatedSecretUpdateLdap.md +2 -0
  106. data/docs/RotatedSecretUpdateMongodb.md +2 -0
  107. data/docs/RotatedSecretUpdateMssql.md +2 -0
  108. data/docs/RotatedSecretUpdateMysql.md +2 -0
  109. data/docs/RotatedSecretUpdateOracledb.md +2 -0
  110. data/docs/RotatedSecretUpdatePostgresql.md +2 -0
  111. data/docs/RotatedSecretUpdateRedis.md +2 -0
  112. data/docs/RotatedSecretUpdateRedshift.md +2 -0
  113. data/docs/RotatedSecretUpdateSnowflake.md +2 -0
  114. data/docs/RotatedSecretUpdateSsh.md +2 -0
  115. data/docs/RotatedSecretUpdateWindows.md +2 -0
  116. data/docs/SshBastionConf.md +24 -0
  117. data/docs/SshBastionSessionTermination.md +26 -0
  118. data/docs/UpdateAccountSettings.md +6 -0
  119. data/docs/UpdateClassicKeyCertificate.md +2 -0
  120. data/docs/UpdateItem.md +4 -0
  121. data/docs/UpdatePKICertIssuer.md +5 -1
  122. data/docs/UpdateRotationSettings.md +2 -0
  123. data/docs/UpdateTarget.md +1 -1
  124. data/docs/UploadRSA.md +2 -0
  125. data/docs/V2Api.md +1356 -225
  126. data/docs/WebBastionConf.md +20 -0
  127. data/docs/WebBastionGuacamole.md +18 -0
  128. data/docs/WebBastionRdpRecord.md +22 -0
  129. data/lib/akeyless/api/v2_api.rb +1360 -219
  130. data/lib/akeyless/models/account_general_settings.rb +10 -1
  131. data/lib/akeyless/models/acme_account.rb +234 -0
  132. data/lib/akeyless/models/auth_method_role_association.rb +10 -1
  133. data/lib/akeyless/models/aws_storage.rb +260 -0
  134. data/lib/akeyless/models/azure_storage.rb +260 -0
  135. data/lib/akeyless/models/bastion_config_reply_obj.rb +259 -0
  136. data/lib/akeyless/models/bastion_global_conf.rb +243 -0
  137. data/lib/akeyless/models/change_admin_account_password.rb +271 -0
  138. data/lib/akeyless/models/configure.rb +41 -1
  139. data/lib/akeyless/models/connect.rb +11 -11
  140. data/lib/akeyless/models/create_classic_key.rb +45 -1
  141. data/lib/akeyless/models/create_dfc_key.rb +45 -1
  142. data/lib/akeyless/models/create_pki_cert_issuer.rb +24 -2
  143. data/lib/akeyless/models/deactivate_acme_account.rb +282 -0
  144. data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +1 -1
  145. data/lib/akeyless/models/dynamic_secret_update_aws.rb +1 -1
  146. data/lib/akeyless/models/dynamic_secret_update_azure.rb +1 -1
  147. data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +1 -1
  148. data/lib/akeyless/models/dynamic_secret_update_chef.rb +1 -1
  149. data/lib/akeyless/models/dynamic_secret_update_custom.rb +1 -1
  150. data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +1 -1
  151. data/lib/akeyless/models/dynamic_secret_update_eks.rb +1 -1
  152. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +1 -1
  153. data/lib/akeyless/models/dynamic_secret_update_github.rb +1 -1
  154. data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +1 -1
  155. data/lib/akeyless/models/dynamic_secret_update_gke.rb +1 -1
  156. data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +1 -1
  157. data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +1 -1
  158. data/lib/akeyless/models/dynamic_secret_update_k8s.rb +1 -1
  159. data/lib/akeyless/models/dynamic_secret_update_ldap.rb +1 -1
  160. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +1 -1
  161. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +1 -1
  162. data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +1 -1
  163. data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +1 -1
  164. data/lib/akeyless/models/dynamic_secret_update_ping.rb +1 -1
  165. data/lib/akeyless/models/dynamic_secret_update_venafi.rb +1 -1
  166. data/lib/akeyless/models/email_pass_access_rules.rb +14 -4
  167. data/lib/akeyless/models/event_forwarder_create_email.rb +2 -2
  168. data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
  169. data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
  170. data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
  171. data/lib/akeyless/models/event_forwarder_update_email.rb +2 -2
  172. data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
  173. data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
  174. data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
  175. data/lib/akeyless/models/gateway_get_remote_access.rb +238 -0
  176. data/lib/akeyless/models/gateway_update_item.rb +13 -1
  177. data/lib/akeyless/models/gateway_update_remote_access.rb +318 -0
  178. data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +358 -0
  179. data/lib/akeyless/models/generate_acme_eab.rb +254 -0
  180. data/lib/akeyless/models/generate_acme_eab_output.rb +232 -0
  181. data/lib/akeyless/models/get_group_output.rb +10 -1
  182. data/lib/akeyless/models/get_kube_exec_creds.rb +1 -1
  183. data/lib/akeyless/models/get_pki_certificate.rb +1 -1
  184. data/lib/akeyless/models/group.rb +10 -1
  185. data/lib/akeyless/models/gw_update_remote_access_session_logs_aws_s3.rb +346 -0
  186. data/lib/akeyless/models/gw_update_remote_access_session_logs_azure_analytics.rb +294 -0
  187. data/lib/akeyless/models/gw_update_remote_access_session_logs_datadog.rb +330 -0
  188. data/lib/akeyless/models/gw_update_remote_access_session_logs_elasticsearch.rb +376 -0
  189. data/lib/akeyless/models/gw_update_remote_access_session_logs_google_chronicle.rb +314 -0
  190. data/lib/akeyless/models/gw_update_remote_access_session_logs_logstash.rb +316 -0
  191. data/lib/akeyless/models/gw_update_remote_access_session_logs_logz_io.rb +294 -0
  192. data/lib/akeyless/models/gw_update_remote_access_session_logs_splunk.rb +350 -0
  193. data/lib/akeyless/models/gw_update_remote_access_session_logs_stdout.rb +274 -0
  194. data/lib/akeyless/models/gw_update_remote_access_session_logs_sumologic.rb +308 -0
  195. data/lib/akeyless/models/gw_update_remote_access_session_logs_syslog.rb +342 -0
  196. data/lib/akeyless/models/item_general_info.rb +23 -1
  197. data/lib/akeyless/models/list_acme_accounts.rb +255 -0
  198. data/lib/akeyless/models/list_acme_accounts_output.rb +216 -0
  199. data/lib/akeyless/models/next_auto_rotation_event.rb +214 -0
  200. data/lib/akeyless/models/password_expiration_info.rb +242 -0
  201. data/lib/akeyless/models/pki_certificate_issue_details.rb +19 -1
  202. data/lib/akeyless/models/reset_access_key.rb +255 -0
  203. data/lib/akeyless/models/reset_auth_method_access_key_output.rb +215 -0
  204. data/lib/akeyless/models/role_association_details.rb +10 -1
  205. data/lib/akeyless/models/role_auth_method_association.rb +10 -1
  206. data/lib/akeyless/models/rollback_secret.rb +13 -1
  207. data/lib/akeyless/models/rotated_secret_create_aws.rb +13 -1
  208. data/lib/akeyless/models/rotated_secret_create_azure.rb +13 -1
  209. data/lib/akeyless/models/rotated_secret_create_cassandra.rb +13 -1
  210. data/lib/akeyless/models/rotated_secret_create_custom.rb +13 -1
  211. data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +13 -1
  212. data/lib/akeyless/models/rotated_secret_create_gcp.rb +13 -1
  213. data/lib/akeyless/models/rotated_secret_create_hanadb.rb +13 -1
  214. data/lib/akeyless/models/rotated_secret_create_ldap.rb +13 -1
  215. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +13 -1
  216. data/lib/akeyless/models/rotated_secret_create_mssql.rb +13 -1
  217. data/lib/akeyless/models/rotated_secret_create_mysql.rb +13 -1
  218. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +13 -1
  219. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +13 -1
  220. data/lib/akeyless/models/rotated_secret_create_redis.rb +13 -1
  221. data/lib/akeyless/models/rotated_secret_create_redshift.rb +13 -1
  222. data/lib/akeyless/models/rotated_secret_create_snowflake.rb +13 -1
  223. data/lib/akeyless/models/rotated_secret_create_ssh.rb +13 -1
  224. data/lib/akeyless/models/rotated_secret_create_windows.rb +13 -1
  225. data/lib/akeyless/models/rotated_secret_update_aws.rb +13 -1
  226. data/lib/akeyless/models/rotated_secret_update_azure.rb +13 -1
  227. data/lib/akeyless/models/rotated_secret_update_cassandra.rb +13 -1
  228. data/lib/akeyless/models/rotated_secret_update_custom.rb +13 -1
  229. data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +13 -1
  230. data/lib/akeyless/models/rotated_secret_update_gcp.rb +13 -1
  231. data/lib/akeyless/models/rotated_secret_update_hanadb.rb +13 -1
  232. data/lib/akeyless/models/rotated_secret_update_ldap.rb +13 -1
  233. data/lib/akeyless/models/rotated_secret_update_mongodb.rb +13 -1
  234. data/lib/akeyless/models/rotated_secret_update_mssql.rb +13 -1
  235. data/lib/akeyless/models/rotated_secret_update_mysql.rb +13 -1
  236. data/lib/akeyless/models/rotated_secret_update_oracledb.rb +13 -1
  237. data/lib/akeyless/models/rotated_secret_update_postgresql.rb +13 -1
  238. data/lib/akeyless/models/rotated_secret_update_redis.rb +13 -1
  239. data/lib/akeyless/models/rotated_secret_update_redshift.rb +13 -1
  240. data/lib/akeyless/models/rotated_secret_update_snowflake.rb +13 -1
  241. data/lib/akeyless/models/rotated_secret_update_ssh.rb +13 -1
  242. data/lib/akeyless/models/rotated_secret_update_windows.rb +13 -1
  243. data/lib/akeyless/models/ssh_bastion_conf.rb +241 -0
  244. data/lib/akeyless/models/ssh_bastion_session_termination.rb +250 -0
  245. data/lib/akeyless/models/update_account_settings.rb +31 -1
  246. data/lib/akeyless/models/update_classic_key_certificate.rb +10 -1
  247. data/lib/akeyless/models/update_item.rb +22 -1
  248. data/lib/akeyless/models/update_pki_cert_issuer.rb +24 -2
  249. data/lib/akeyless/models/update_rotation_settings.rb +13 -1
  250. data/lib/akeyless/models/update_target.rb +1 -1
  251. data/lib/akeyless/models/upload_rsa.rb +13 -1
  252. data/lib/akeyless/models/web_bastion_conf.rb +223 -0
  253. data/lib/akeyless/models/web_bastion_guacamole.rb +214 -0
  254. data/lib/akeyless/models/web_bastion_rdp_record.rb +232 -0
  255. data/lib/akeyless/version.rb +1 -1
  256. data/lib/akeyless.rb +34 -0
  257. data/spec/models/acme_account_spec.rb +48 -0
  258. data/spec/models/aws_storage_spec.rb +66 -0
  259. data/spec/models/azure_storage_spec.rb +66 -0
  260. data/spec/models/bastion_config_reply_obj_spec.rb +66 -0
  261. data/spec/models/bastion_global_conf_spec.rb +54 -0
  262. data/spec/models/change_admin_account_password_spec.rb +60 -0
  263. data/spec/models/deactivate_acme_account_spec.rb +66 -0
  264. data/spec/models/gateway_get_remote_access_spec.rb +48 -0
  265. data/spec/models/gateway_update_remote_access_rdp_recordings_spec.rb +120 -0
  266. data/spec/models/gateway_update_remote_access_spec.rb +90 -0
  267. data/spec/models/generate_acme_eab_output_spec.rb +48 -0
  268. data/spec/models/generate_acme_eab_spec.rb +54 -0
  269. data/spec/models/gw_update_remote_access_session_logs_aws_s3_spec.rb +108 -0
  270. data/spec/models/gw_update_remote_access_session_logs_azure_analytics_spec.rb +78 -0
  271. data/spec/models/gw_update_remote_access_session_logs_datadog_spec.rb +96 -0
  272. data/spec/models/gw_update_remote_access_session_logs_elasticsearch_spec.rb +126 -0
  273. data/spec/models/gw_update_remote_access_session_logs_google_chronicle_spec.rb +90 -0
  274. data/spec/models/gw_update_remote_access_session_logs_logstash_spec.rb +90 -0
  275. data/spec/models/gw_update_remote_access_session_logs_logz_io_spec.rb +78 -0
  276. data/spec/models/gw_update_remote_access_session_logs_splunk_spec.rb +108 -0
  277. data/spec/models/gw_update_remote_access_session_logs_stdout_spec.rb +66 -0
  278. data/spec/models/gw_update_remote_access_session_logs_sumologic_spec.rb +84 -0
  279. data/spec/models/gw_update_remote_access_session_logs_syslog_spec.rb +102 -0
  280. data/spec/models/list_acme_accounts_output_spec.rb +36 -0
  281. data/spec/models/list_acme_accounts_spec.rb +54 -0
  282. data/spec/models/next_auto_rotation_event_spec.rb +36 -0
  283. data/spec/models/password_expiration_info_spec.rb +54 -0
  284. data/spec/models/reset_access_key_spec.rb +54 -0
  285. data/spec/models/reset_auth_method_access_key_output_spec.rb +36 -0
  286. data/spec/models/ssh_bastion_conf_spec.rb +54 -0
  287. data/spec/models/ssh_bastion_session_termination_spec.rb +60 -0
  288. data/spec/models/web_bastion_conf_spec.rb +42 -0
  289. data/spec/models/web_bastion_guacamole_spec.rb +36 -0
  290. data/spec/models/web_bastion_rdp_record_spec.rb +48 -0
  291. metadata +1117 -981
@@ -63,6 +63,9 @@ module Akeyless
63
63
  # List of the existent tags that will be removed from this item
64
64
  attr_accessor :rm_tag
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
 
@@ -97,6 +100,7 @@ module Akeyless
97
100
  :'new_name' => :'new-name',
98
101
  :'password_length' => :'password-length',
99
102
  :'rm_tag' => :'rm-tag',
103
+ :'rotation_event_in' => :'rotation-event-in',
100
104
  :'rotation_hour' => :'rotation-hour',
101
105
  :'rotation_interval' => :'rotation-interval',
102
106
  :'rotator_type' => :'rotator-type',
@@ -129,6 +133,7 @@ module Akeyless
129
133
  :'new_name' => :'String',
130
134
  :'password_length' => :'String',
131
135
  :'rm_tag' => :'Array<String>',
136
+ :'rotation_event_in' => :'Array<String>',
132
137
  :'rotation_hour' => :'Integer',
133
138
  :'rotation_interval' => :'String',
134
139
  :'rotator_type' => :'String',
@@ -234,6 +239,12 @@ module Akeyless
234
239
  end
235
240
  end
236
241
 
242
+ if attributes.key?(:'rotation_event_in')
243
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
244
+ self.rotation_event_in = value
245
+ end
246
+ end
247
+
237
248
  if attributes.key?(:'rotation_hour')
238
249
  self.rotation_hour = attributes[:'rotation_hour']
239
250
  end
@@ -303,6 +314,7 @@ module Akeyless
303
314
  new_name == o.new_name &&
304
315
  password_length == o.password_length &&
305
316
  rm_tag == o.rm_tag &&
317
+ rotation_event_in == o.rotation_event_in &&
306
318
  rotation_hour == o.rotation_hour &&
307
319
  rotation_interval == o.rotation_interval &&
308
320
  rotator_type == o.rotator_type &&
@@ -319,7 +331,7 @@ module Akeyless
319
331
  # Calculates hash code according to all attributes.
320
332
  # @return [Integer] Hash code
321
333
  def hash
322
- [add_tag, authentication_credentials, auto_rotate, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotation_hour, rotation_interval, rotator_type, token, uid_token].hash
334
+ [add_tag, authentication_credentials, auto_rotate, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotation_event_in, rotation_hour, rotation_interval, rotator_type, token, uid_token].hash
323
335
  end
324
336
 
325
337
  # 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
@@ -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