akeyless 4.2.0 → 4.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (478) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -1
  3. data/docs/Auth.md +4 -2
  4. data/docs/AuthMethod.md +2 -0
  5. data/docs/AuthMethodCreateApiKey.md +2 -0
  6. data/docs/AuthMethodCreateAwsIam.md +2 -0
  7. data/docs/AuthMethodCreateAzureAD.md +2 -0
  8. data/docs/AuthMethodCreateCert.md +2 -0
  9. data/docs/AuthMethodCreateEmail.md +2 -0
  10. data/docs/AuthMethodCreateGcp.md +2 -0
  11. data/docs/AuthMethodCreateK8s.md +2 -0
  12. data/docs/AuthMethodCreateLdap.md +2 -0
  13. data/docs/AuthMethodCreateOCI.md +2 -0
  14. data/docs/AuthMethodCreateOIDC.md +2 -0
  15. data/docs/AuthMethodCreateOauth2.md +2 -0
  16. data/docs/AuthMethodCreateSAML.md +2 -0
  17. data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
  18. data/docs/AuthMethodUpdateApiKey.md +2 -0
  19. data/docs/AuthMethodUpdateAwsIam.md +2 -0
  20. data/docs/AuthMethodUpdateAzureAD.md +2 -0
  21. data/docs/AuthMethodUpdateCert.md +2 -0
  22. data/docs/AuthMethodUpdateEmail.md +2 -0
  23. data/docs/AuthMethodUpdateGcp.md +2 -0
  24. data/docs/AuthMethodUpdateK8s.md +2 -0
  25. data/docs/AuthMethodUpdateLdap.md +2 -0
  26. data/docs/AuthMethodUpdateOCI.md +2 -0
  27. data/docs/AuthMethodUpdateOIDC.md +2 -0
  28. data/docs/AuthMethodUpdateOauth2.md +2 -0
  29. data/docs/AuthMethodUpdateSAML.md +2 -0
  30. data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
  31. data/docs/AuthOutput.md +2 -0
  32. data/docs/BastionListEntry.md +2 -0
  33. data/docs/BatchEncryptionRequestLine.md +24 -0
  34. data/docs/BatchEncryptionResponseLine.md +20 -0
  35. data/docs/Connect.md +2 -0
  36. data/docs/CreateAuthMethod.md +2 -0
  37. data/docs/CreateAuthMethodAWSIAM.md +2 -0
  38. data/docs/CreateAuthMethodAzureAD.md +2 -0
  39. data/docs/CreateAuthMethodCert.md +2 -0
  40. data/docs/CreateAuthMethodEmail.md +2 -0
  41. data/docs/CreateAuthMethodGCP.md +2 -0
  42. data/docs/CreateAuthMethodHuawei.md +2 -0
  43. data/docs/CreateAuthMethodK8S.md +2 -0
  44. data/docs/CreateAuthMethodLDAP.md +2 -0
  45. data/docs/CreateAuthMethodOAuth2.md +2 -0
  46. data/docs/CreateAuthMethodOCI.md +2 -0
  47. data/docs/CreateAuthMethodOIDC.md +2 -0
  48. data/docs/CreateAuthMethodSAML.md +2 -0
  49. data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
  50. data/docs/CreateCertificate.md +1 -1
  51. data/docs/CreateClassicKey.md +3 -1
  52. data/docs/CreateDFCKey.md +3 -1
  53. data/docs/CreateDynamicSecret.md +1 -1
  54. data/docs/CreateESM.md +1 -1
  55. data/docs/CreateKey.md +1 -1
  56. data/docs/CreateOidcApp.md +1 -1
  57. data/docs/CreatePKICertIssuer.md +1 -1
  58. data/docs/CreateRole.md +2 -0
  59. data/docs/CreateRotatedSecret.md +1 -1
  60. data/docs/CreateSSHCertIssuer.md +1 -1
  61. data/docs/CreateSecret.md +1 -1
  62. data/docs/CreateTokenizer.md +1 -1
  63. data/docs/CreateUSC.md +1 -1
  64. data/docs/DSProducerDetails.md +4 -0
  65. data/docs/DescribeItem.md +2 -0
  66. data/docs/DynamicSecretCreateArtifactory.md +1 -1
  67. data/docs/DynamicSecretCreateAws.md +5 -1
  68. data/docs/DynamicSecretCreateAzure.md +1 -1
  69. data/docs/DynamicSecretCreateCassandra.md +1 -1
  70. data/docs/DynamicSecretCreateChef.md +1 -1
  71. data/docs/DynamicSecretCreateCustom.md +1 -1
  72. data/docs/DynamicSecretCreateDockerhub.md +1 -1
  73. data/docs/DynamicSecretCreateEks.md +1 -1
  74. data/docs/DynamicSecretCreateGcp.md +1 -1
  75. data/docs/DynamicSecretCreateGithub.md +1 -1
  76. data/docs/DynamicSecretCreateGitlab.md +1 -1
  77. data/docs/DynamicSecretCreateGke.md +1 -1
  78. data/docs/DynamicSecretCreateGoogleWorkspace.md +1 -1
  79. data/docs/DynamicSecretCreateHanaDb.md +1 -1
  80. data/docs/DynamicSecretCreateK8s.md +1 -1
  81. data/docs/DynamicSecretCreateLdap.md +1 -1
  82. data/docs/DynamicSecretCreateMongoDb.md +1 -1
  83. data/docs/DynamicSecretCreateMsSql.md +1 -1
  84. data/docs/DynamicSecretCreateMySql.md +1 -1
  85. data/docs/DynamicSecretCreateOracleDb.md +1 -1
  86. data/docs/DynamicSecretCreatePing.md +1 -1
  87. data/docs/DynamicSecretCreatePostgreSql.md +1 -1
  88. data/docs/DynamicSecretCreateRabbitMq.md +1 -1
  89. data/docs/DynamicSecretCreateRdp.md +1 -1
  90. data/docs/DynamicSecretCreateRedis.md +1 -1
  91. data/docs/DynamicSecretCreateRedshift.md +1 -1
  92. data/docs/DynamicSecretCreateSnowflake.md +1 -1
  93. data/docs/DynamicSecretCreateVenafi.md +1 -1
  94. data/docs/DynamicSecretUpdateArtifactory.md +1 -1
  95. data/docs/DynamicSecretUpdateAws.md +5 -1
  96. data/docs/DynamicSecretUpdateAzure.md +1 -1
  97. data/docs/DynamicSecretUpdateCassandra.md +1 -1
  98. data/docs/DynamicSecretUpdateChef.md +1 -1
  99. data/docs/DynamicSecretUpdateCustom.md +1 -1
  100. data/docs/DynamicSecretUpdateDockerhub.md +1 -1
  101. data/docs/DynamicSecretUpdateEks.md +1 -1
  102. data/docs/DynamicSecretUpdateGcp.md +1 -1
  103. data/docs/DynamicSecretUpdateGithub.md +1 -1
  104. data/docs/DynamicSecretUpdateGitlab.md +1 -1
  105. data/docs/DynamicSecretUpdateGke.md +1 -1
  106. data/docs/DynamicSecretUpdateGoogleWorkspace.md +1 -1
  107. data/docs/DynamicSecretUpdateHanaDb.md +1 -1
  108. data/docs/DynamicSecretUpdateK8s.md +1 -1
  109. data/docs/DynamicSecretUpdateLdap.md +1 -1
  110. data/docs/DynamicSecretUpdateMongoDb.md +1 -1
  111. data/docs/DynamicSecretUpdateMsSql.md +1 -1
  112. data/docs/DynamicSecretUpdateMySql.md +1 -1
  113. data/docs/DynamicSecretUpdateOracleDb.md +1 -1
  114. data/docs/DynamicSecretUpdatePing.md +1 -1
  115. data/docs/DynamicSecretUpdatePostgreSql.md +1 -1
  116. data/docs/DynamicSecretUpdateRabbitMq.md +1 -1
  117. data/docs/DynamicSecretUpdateRdp.md +1 -1
  118. data/docs/DynamicSecretUpdateRedis.md +1 -1
  119. data/docs/DynamicSecretUpdateRedshift.md +1 -1
  120. data/docs/DynamicSecretUpdateSnowflake.md +1 -1
  121. data/docs/DynamicSecretUpdateVenafi.md +1 -1
  122. data/docs/GatewayCreateMigration.md +2 -0
  123. data/docs/GatewayCreateProducerArtifactory.md +1 -1
  124. data/docs/GatewayCreateProducerAws.md +5 -1
  125. data/docs/GatewayCreateProducerAzure.md +1 -1
  126. data/docs/GatewayCreateProducerCassandra.md +1 -1
  127. data/docs/GatewayCreateProducerChef.md +1 -1
  128. data/docs/GatewayCreateProducerCustom.md +1 -1
  129. data/docs/GatewayCreateProducerDockerhub.md +1 -1
  130. data/docs/GatewayCreateProducerEks.md +1 -1
  131. data/docs/GatewayCreateProducerGcp.md +1 -1
  132. data/docs/GatewayCreateProducerGithub.md +1 -1
  133. data/docs/GatewayCreateProducerGke.md +1 -1
  134. data/docs/GatewayCreateProducerHanaDb.md +1 -1
  135. data/docs/GatewayCreateProducerLdap.md +1 -1
  136. data/docs/GatewayCreateProducerMSSQL.md +1 -1
  137. data/docs/GatewayCreateProducerMongo.md +1 -1
  138. data/docs/GatewayCreateProducerMySQL.md +1 -1
  139. data/docs/GatewayCreateProducerNativeK8S.md +1 -1
  140. data/docs/GatewayCreateProducerOracleDb.md +1 -1
  141. data/docs/GatewayCreateProducerPing.md +1 -1
  142. data/docs/GatewayCreateProducerPostgreSQL.md +1 -1
  143. data/docs/GatewayCreateProducerRabbitMQ.md +1 -1
  144. data/docs/GatewayCreateProducerRdp.md +1 -1
  145. data/docs/GatewayCreateProducerRedis.md +1 -1
  146. data/docs/GatewayCreateProducerRedshift.md +1 -1
  147. data/docs/GatewayCreateProducerSnowflake.md +1 -1
  148. data/docs/GatewayCreateProducerVenafi.md +1 -1
  149. data/docs/GatewayUpdateItem.md +1 -1
  150. data/docs/GatewayUpdateMigration.md +2 -0
  151. data/docs/GatewayUpdateProducerArtifactory.md +1 -1
  152. data/docs/GatewayUpdateProducerAws.md +5 -1
  153. data/docs/GatewayUpdateProducerAzure.md +1 -1
  154. data/docs/GatewayUpdateProducerCassandra.md +1 -1
  155. data/docs/GatewayUpdateProducerChef.md +1 -1
  156. data/docs/GatewayUpdateProducerCustom.md +1 -1
  157. data/docs/GatewayUpdateProducerDockerhub.md +1 -1
  158. data/docs/GatewayUpdateProducerEks.md +1 -1
  159. data/docs/GatewayUpdateProducerGcp.md +1 -1
  160. data/docs/GatewayUpdateProducerGithub.md +1 -1
  161. data/docs/GatewayUpdateProducerGke.md +1 -1
  162. data/docs/GatewayUpdateProducerHanaDb.md +1 -1
  163. data/docs/GatewayUpdateProducerLdap.md +1 -1
  164. data/docs/GatewayUpdateProducerMSSQL.md +1 -1
  165. data/docs/GatewayUpdateProducerMongo.md +1 -1
  166. data/docs/GatewayUpdateProducerMySQL.md +1 -1
  167. data/docs/GatewayUpdateProducerNativeK8S.md +1 -1
  168. data/docs/GatewayUpdateProducerOracleDb.md +1 -1
  169. data/docs/GatewayUpdateProducerPing.md +1 -1
  170. data/docs/GatewayUpdateProducerPostgreSQL.md +1 -1
  171. data/docs/GatewayUpdateProducerRabbitMQ.md +1 -1
  172. data/docs/GatewayUpdateProducerRdp.md +1 -1
  173. data/docs/GatewayUpdateProducerRedis.md +1 -1
  174. data/docs/GatewayUpdateProducerRedshift.md +1 -1
  175. data/docs/GatewayUpdateProducerSnowflake.md +1 -1
  176. data/docs/GatewayUpdateProducerVenafi.md +1 -1
  177. data/docs/ItemGeneralInfo.md +2 -0
  178. data/docs/NotiForwarder.md +2 -0
  179. data/docs/RenewCertificate.md +2 -0
  180. data/docs/Role.md +2 -0
  181. data/docs/RotatedSecretCreateAws.md +1 -1
  182. data/docs/RotatedSecretCreateAzure.md +3 -1
  183. data/docs/RotatedSecretCreateCassandra.md +1 -1
  184. data/docs/RotatedSecretCreateCustom.md +3 -1
  185. data/docs/RotatedSecretCreateDockerhub.md +1 -1
  186. data/docs/RotatedSecretCreateGcp.md +1 -1
  187. data/docs/RotatedSecretCreateHanadb.md +1 -1
  188. data/docs/RotatedSecretCreateLdap.md +1 -1
  189. data/docs/RotatedSecretCreateMongodb.md +1 -1
  190. data/docs/RotatedSecretCreateMssql.md +1 -1
  191. data/docs/RotatedSecretCreateMysql.md +1 -1
  192. data/docs/RotatedSecretCreateOracledb.md +1 -1
  193. data/docs/RotatedSecretCreatePostgresql.md +1 -1
  194. data/docs/RotatedSecretCreateRedis.md +1 -1
  195. data/docs/RotatedSecretCreateRedshift.md +1 -1
  196. data/docs/RotatedSecretCreateSnowflake.md +1 -1
  197. data/docs/RotatedSecretCreateSsh.md +1 -1
  198. data/docs/RotatedSecretCreateWindows.md +1 -1
  199. data/docs/RotatedSecretDetailsInfo.md +3 -1
  200. data/docs/RotatedSecretUpdateAws.md +1 -1
  201. data/docs/RotatedSecretUpdateAzure.md +3 -1
  202. data/docs/RotatedSecretUpdateCassandra.md +1 -1
  203. data/docs/RotatedSecretUpdateCustom.md +3 -1
  204. data/docs/RotatedSecretUpdateDockerhub.md +1 -1
  205. data/docs/RotatedSecretUpdateGcp.md +1 -1
  206. data/docs/RotatedSecretUpdateHanadb.md +1 -1
  207. data/docs/RotatedSecretUpdateLdap.md +1 -1
  208. data/docs/RotatedSecretUpdateMongodb.md +1 -1
  209. data/docs/RotatedSecretUpdateMssql.md +1 -1
  210. data/docs/RotatedSecretUpdateMysql.md +1 -1
  211. data/docs/RotatedSecretUpdateOracledb.md +1 -1
  212. data/docs/RotatedSecretUpdatePostgresql.md +1 -1
  213. data/docs/RotatedSecretUpdateRedis.md +1 -1
  214. data/docs/RotatedSecretUpdateRedshift.md +1 -1
  215. data/docs/RotatedSecretUpdateSnowflake.md +1 -1
  216. data/docs/RotatedSecretUpdateSsh.md +1 -1
  217. data/docs/RotatedSecretUpdateWindows.md +1 -1
  218. data/docs/UpdateAuthMethod.md +2 -0
  219. data/docs/UpdateAuthMethodAWSIAM.md +2 -0
  220. data/docs/UpdateAuthMethodAzureAD.md +2 -0
  221. data/docs/UpdateAuthMethodCert.md +2 -0
  222. data/docs/UpdateAuthMethodGCP.md +2 -0
  223. data/docs/UpdateAuthMethodK8S.md +2 -0
  224. data/docs/UpdateAuthMethodLDAP.md +2 -0
  225. data/docs/UpdateAuthMethodOAuth2.md +2 -0
  226. data/docs/UpdateAuthMethodOCI.md +2 -0
  227. data/docs/UpdateAuthMethodOIDC.md +2 -0
  228. data/docs/UpdateAuthMethodSAML.md +2 -0
  229. data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
  230. data/docs/UpdateCertificateValue.md +1 -1
  231. data/docs/UpdateItem.md +1 -1
  232. data/docs/UpdatePKICertIssuer.md +1 -1
  233. data/docs/UpdateRole.md +2 -0
  234. data/docs/UpdateSSHCertIssuer.md +1 -1
  235. data/docs/UploadPKCS12.md +1 -1
  236. data/docs/UploadRSA.md +3 -1
  237. data/docs/V2Api.md +126 -0
  238. data/lib/akeyless/api/v2_api.rb +659 -531
  239. data/lib/akeyless/models/auth.rb +15 -5
  240. data/lib/akeyless/models/auth_method.rb +10 -1
  241. data/lib/akeyless/models/auth_method_create_api_key.rb +11 -1
  242. data/lib/akeyless/models/auth_method_create_aws_iam.rb +11 -1
  243. data/lib/akeyless/models/auth_method_create_azure_ad.rb +11 -1
  244. data/lib/akeyless/models/auth_method_create_cert.rb +11 -1
  245. data/lib/akeyless/models/auth_method_create_email.rb +11 -1
  246. data/lib/akeyless/models/auth_method_create_gcp.rb +11 -1
  247. data/lib/akeyless/models/auth_method_create_k8s.rb +11 -1
  248. data/lib/akeyless/models/auth_method_create_ldap.rb +11 -1
  249. data/lib/akeyless/models/auth_method_create_oauth2.rb +11 -1
  250. data/lib/akeyless/models/auth_method_create_oci.rb +11 -1
  251. data/lib/akeyless/models/auth_method_create_oidc.rb +11 -1
  252. data/lib/akeyless/models/auth_method_create_saml.rb +11 -1
  253. data/lib/akeyless/models/auth_method_create_universal_identity.rb +11 -1
  254. data/lib/akeyless/models/auth_method_update_api_key.rb +11 -1
  255. data/lib/akeyless/models/auth_method_update_aws_iam.rb +11 -1
  256. data/lib/akeyless/models/auth_method_update_azure_ad.rb +11 -1
  257. data/lib/akeyless/models/auth_method_update_cert.rb +11 -1
  258. data/lib/akeyless/models/auth_method_update_email.rb +11 -1
  259. data/lib/akeyless/models/auth_method_update_gcp.rb +11 -1
  260. data/lib/akeyless/models/auth_method_update_k8s.rb +11 -1
  261. data/lib/akeyless/models/auth_method_update_ldap.rb +11 -1
  262. data/lib/akeyless/models/auth_method_update_oauth2.rb +11 -1
  263. data/lib/akeyless/models/auth_method_update_oci.rb +11 -1
  264. data/lib/akeyless/models/auth_method_update_oidc.rb +11 -1
  265. data/lib/akeyless/models/auth_method_update_saml.rb +11 -1
  266. data/lib/akeyless/models/auth_method_update_universal_identity.rb +11 -1
  267. data/lib/akeyless/models/auth_output.rb +10 -1
  268. data/lib/akeyless/models/bastion_list_entry.rb +10 -1
  269. data/lib/akeyless/models/batch_encryption_request_line.rb +243 -0
  270. data/lib/akeyless/models/batch_encryption_response_line.rb +223 -0
  271. data/lib/akeyless/models/connect.rb +11 -1
  272. data/lib/akeyless/models/create_auth_method.rb +11 -1
  273. data/lib/akeyless/models/create_auth_method_awsiam.rb +11 -1
  274. data/lib/akeyless/models/create_auth_method_azure_ad.rb +11 -1
  275. data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
  276. data/lib/akeyless/models/create_auth_method_email.rb +11 -1
  277. data/lib/akeyless/models/create_auth_method_gcp.rb +11 -1
  278. data/lib/akeyless/models/create_auth_method_huawei.rb +11 -1
  279. data/lib/akeyless/models/create_auth_method_k8_s.rb +11 -1
  280. data/lib/akeyless/models/create_auth_method_ldap.rb +11 -1
  281. data/lib/akeyless/models/create_auth_method_o_auth2.rb +11 -1
  282. data/lib/akeyless/models/create_auth_method_oci.rb +11 -1
  283. data/lib/akeyless/models/create_auth_method_oidc.rb +11 -1
  284. data/lib/akeyless/models/create_auth_method_saml.rb +11 -1
  285. data/lib/akeyless/models/create_auth_method_universal_identity.rb +11 -1
  286. data/lib/akeyless/models/create_certificate.rb +1 -1
  287. data/lib/akeyless/models/create_classic_key.rb +11 -2
  288. data/lib/akeyless/models/create_dfc_key.rb +11 -2
  289. data/lib/akeyless/models/create_dynamic_secret.rb +1 -1
  290. data/lib/akeyless/models/create_esm.rb +1 -1
  291. data/lib/akeyless/models/create_key.rb +1 -1
  292. data/lib/akeyless/models/create_oidc_app.rb +1 -1
  293. data/lib/akeyless/models/create_pki_cert_issuer.rb +1 -1
  294. data/lib/akeyless/models/create_role.rb +11 -1
  295. data/lib/akeyless/models/create_rotated_secret.rb +1 -1
  296. data/lib/akeyless/models/create_secret.rb +1 -1
  297. data/lib/akeyless/models/create_ssh_cert_issuer.rb +1 -1
  298. data/lib/akeyless/models/create_tokenizer.rb +1 -1
  299. data/lib/akeyless/models/create_usc.rb +1 -1
  300. data/lib/akeyless/models/describe_item.rb +13 -1
  301. data/lib/akeyless/models/ds_producer_details.rb +19 -1
  302. data/lib/akeyless/models/dynamic_secret_create_artifactory.rb +1 -1
  303. data/lib/akeyless/models/dynamic_secret_create_aws.rb +22 -2
  304. data/lib/akeyless/models/dynamic_secret_create_azure.rb +1 -1
  305. data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +1 -1
  306. data/lib/akeyless/models/dynamic_secret_create_chef.rb +1 -1
  307. data/lib/akeyless/models/dynamic_secret_create_custom.rb +1 -1
  308. data/lib/akeyless/models/dynamic_secret_create_dockerhub.rb +1 -1
  309. data/lib/akeyless/models/dynamic_secret_create_eks.rb +1 -1
  310. data/lib/akeyless/models/dynamic_secret_create_gcp.rb +1 -1
  311. data/lib/akeyless/models/dynamic_secret_create_github.rb +1 -1
  312. data/lib/akeyless/models/dynamic_secret_create_gitlab.rb +1 -1
  313. data/lib/akeyless/models/dynamic_secret_create_gke.rb +1 -1
  314. data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +1 -1
  315. data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +1 -1
  316. data/lib/akeyless/models/dynamic_secret_create_k8s.rb +1 -1
  317. data/lib/akeyless/models/dynamic_secret_create_ldap.rb +1 -1
  318. data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +1 -1
  319. data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +1 -1
  320. data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +1 -1
  321. data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +1 -1
  322. data/lib/akeyless/models/dynamic_secret_create_ping.rb +1 -1
  323. data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +1 -1
  324. data/lib/akeyless/models/dynamic_secret_create_rabbit_mq.rb +1 -1
  325. data/lib/akeyless/models/dynamic_secret_create_rdp.rb +1 -1
  326. data/lib/akeyless/models/dynamic_secret_create_redis.rb +1 -1
  327. data/lib/akeyless/models/dynamic_secret_create_redshift.rb +1 -1
  328. data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +1 -1
  329. data/lib/akeyless/models/dynamic_secret_create_venafi.rb +1 -1
  330. data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +1 -1
  331. data/lib/akeyless/models/dynamic_secret_update_aws.rb +22 -2
  332. data/lib/akeyless/models/dynamic_secret_update_azure.rb +1 -1
  333. data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +1 -1
  334. data/lib/akeyless/models/dynamic_secret_update_chef.rb +1 -1
  335. data/lib/akeyless/models/dynamic_secret_update_custom.rb +1 -1
  336. data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +1 -1
  337. data/lib/akeyless/models/dynamic_secret_update_eks.rb +1 -1
  338. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +1 -1
  339. data/lib/akeyless/models/dynamic_secret_update_github.rb +1 -1
  340. data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +1 -1
  341. data/lib/akeyless/models/dynamic_secret_update_gke.rb +1 -1
  342. data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +1 -1
  343. data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +1 -1
  344. data/lib/akeyless/models/dynamic_secret_update_k8s.rb +1 -1
  345. data/lib/akeyless/models/dynamic_secret_update_ldap.rb +1 -1
  346. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +1 -1
  347. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +1 -1
  348. data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +1 -1
  349. data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +1 -1
  350. data/lib/akeyless/models/dynamic_secret_update_ping.rb +1 -1
  351. data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +1 -1
  352. data/lib/akeyless/models/dynamic_secret_update_rabbit_mq.rb +1 -1
  353. data/lib/akeyless/models/dynamic_secret_update_rdp.rb +1 -1
  354. data/lib/akeyless/models/dynamic_secret_update_redis.rb +1 -1
  355. data/lib/akeyless/models/dynamic_secret_update_redshift.rb +1 -1
  356. data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +1 -1
  357. data/lib/akeyless/models/dynamic_secret_update_venafi.rb +1 -1
  358. data/lib/akeyless/models/gateway_create_migration.rb +10 -1
  359. data/lib/akeyless/models/gateway_create_producer_artifactory.rb +1 -1
  360. data/lib/akeyless/models/gateway_create_producer_aws.rb +22 -2
  361. data/lib/akeyless/models/gateway_create_producer_azure.rb +1 -1
  362. data/lib/akeyless/models/gateway_create_producer_cassandra.rb +1 -1
  363. data/lib/akeyless/models/gateway_create_producer_chef.rb +1 -1
  364. data/lib/akeyless/models/gateway_create_producer_custom.rb +1 -1
  365. data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +1 -1
  366. data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
  367. data/lib/akeyless/models/gateway_create_producer_gcp.rb +1 -1
  368. data/lib/akeyless/models/gateway_create_producer_github.rb +1 -1
  369. data/lib/akeyless/models/gateway_create_producer_gke.rb +1 -1
  370. data/lib/akeyless/models/gateway_create_producer_hana_db.rb +1 -1
  371. data/lib/akeyless/models/gateway_create_producer_ldap.rb +1 -1
  372. data/lib/akeyless/models/gateway_create_producer_mongo.rb +1 -1
  373. data/lib/akeyless/models/gateway_create_producer_mssql.rb +1 -1
  374. data/lib/akeyless/models/gateway_create_producer_my_sql.rb +1 -1
  375. data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +1 -1
  376. data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +1 -1
  377. data/lib/akeyless/models/gateway_create_producer_ping.rb +1 -1
  378. data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +1 -1
  379. data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +1 -1
  380. data/lib/akeyless/models/gateway_create_producer_rdp.rb +1 -1
  381. data/lib/akeyless/models/gateway_create_producer_redis.rb +1 -1
  382. data/lib/akeyless/models/gateway_create_producer_redshift.rb +1 -1
  383. data/lib/akeyless/models/gateway_create_producer_snowflake.rb +1 -1
  384. data/lib/akeyless/models/gateway_create_producer_venafi.rb +1 -1
  385. data/lib/akeyless/models/gateway_update_item.rb +1 -1
  386. data/lib/akeyless/models/gateway_update_migration.rb +10 -1
  387. data/lib/akeyless/models/gateway_update_producer_artifactory.rb +1 -1
  388. data/lib/akeyless/models/gateway_update_producer_aws.rb +22 -2
  389. data/lib/akeyless/models/gateway_update_producer_azure.rb +1 -1
  390. data/lib/akeyless/models/gateway_update_producer_cassandra.rb +1 -1
  391. data/lib/akeyless/models/gateway_update_producer_chef.rb +1 -1
  392. data/lib/akeyless/models/gateway_update_producer_custom.rb +1 -1
  393. data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +1 -1
  394. data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
  395. data/lib/akeyless/models/gateway_update_producer_gcp.rb +1 -1
  396. data/lib/akeyless/models/gateway_update_producer_github.rb +1 -1
  397. data/lib/akeyless/models/gateway_update_producer_gke.rb +1 -1
  398. data/lib/akeyless/models/gateway_update_producer_hana_db.rb +1 -1
  399. data/lib/akeyless/models/gateway_update_producer_ldap.rb +1 -1
  400. data/lib/akeyless/models/gateway_update_producer_mongo.rb +1 -1
  401. data/lib/akeyless/models/gateway_update_producer_mssql.rb +1 -1
  402. data/lib/akeyless/models/gateway_update_producer_my_sql.rb +1 -1
  403. data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +1 -1
  404. data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +1 -1
  405. data/lib/akeyless/models/gateway_update_producer_ping.rb +1 -1
  406. data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +1 -1
  407. data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +1 -1
  408. data/lib/akeyless/models/gateway_update_producer_rdp.rb +1 -1
  409. data/lib/akeyless/models/gateway_update_producer_redis.rb +1 -1
  410. data/lib/akeyless/models/gateway_update_producer_redshift.rb +1 -1
  411. data/lib/akeyless/models/gateway_update_producer_snowflake.rb +1 -1
  412. data/lib/akeyless/models/gateway_update_producer_venafi.rb +1 -1
  413. data/lib/akeyless/models/get_rotated_secret_value.rb +0 -1
  414. data/lib/akeyless/models/item_general_info.rb +10 -1
  415. data/lib/akeyless/models/noti_forwarder.rb +10 -1
  416. data/lib/akeyless/models/renew_certificate.rb +11 -1
  417. data/lib/akeyless/models/role.rb +10 -1
  418. data/lib/akeyless/models/rotated_secret_create_aws.rb +1 -1
  419. data/lib/akeyless/models/rotated_secret_create_azure.rb +12 -2
  420. data/lib/akeyless/models/rotated_secret_create_cassandra.rb +1 -1
  421. data/lib/akeyless/models/rotated_secret_create_custom.rb +14 -2
  422. data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +1 -1
  423. data/lib/akeyless/models/rotated_secret_create_gcp.rb +1 -1
  424. data/lib/akeyless/models/rotated_secret_create_hanadb.rb +1 -1
  425. data/lib/akeyless/models/rotated_secret_create_ldap.rb +1 -1
  426. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +1 -1
  427. data/lib/akeyless/models/rotated_secret_create_mssql.rb +1 -1
  428. data/lib/akeyless/models/rotated_secret_create_mysql.rb +1 -1
  429. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +1 -1
  430. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +1 -1
  431. data/lib/akeyless/models/rotated_secret_create_redis.rb +1 -1
  432. data/lib/akeyless/models/rotated_secret_create_redshift.rb +1 -1
  433. data/lib/akeyless/models/rotated_secret_create_snowflake.rb +1 -1
  434. data/lib/akeyless/models/rotated_secret_create_ssh.rb +1 -1
  435. data/lib/akeyless/models/rotated_secret_create_windows.rb +1 -1
  436. data/lib/akeyless/models/rotated_secret_details_info.rb +13 -4
  437. data/lib/akeyless/models/rotated_secret_update_aws.rb +1 -1
  438. data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -2
  439. data/lib/akeyless/models/rotated_secret_update_cassandra.rb +1 -1
  440. data/lib/akeyless/models/rotated_secret_update_custom.rb +12 -2
  441. data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +1 -1
  442. data/lib/akeyless/models/rotated_secret_update_gcp.rb +1 -1
  443. data/lib/akeyless/models/rotated_secret_update_hanadb.rb +1 -1
  444. data/lib/akeyless/models/rotated_secret_update_ldap.rb +1 -1
  445. data/lib/akeyless/models/rotated_secret_update_mongodb.rb +1 -1
  446. data/lib/akeyless/models/rotated_secret_update_mssql.rb +1 -1
  447. data/lib/akeyless/models/rotated_secret_update_mysql.rb +1 -1
  448. data/lib/akeyless/models/rotated_secret_update_oracledb.rb +1 -1
  449. data/lib/akeyless/models/rotated_secret_update_postgresql.rb +1 -1
  450. data/lib/akeyless/models/rotated_secret_update_redis.rb +1 -1
  451. data/lib/akeyless/models/rotated_secret_update_redshift.rb +1 -1
  452. data/lib/akeyless/models/rotated_secret_update_snowflake.rb +1 -1
  453. data/lib/akeyless/models/rotated_secret_update_ssh.rb +1 -1
  454. data/lib/akeyless/models/rotated_secret_update_windows.rb +1 -1
  455. data/lib/akeyless/models/update_auth_method.rb +11 -1
  456. data/lib/akeyless/models/update_auth_method_awsiam.rb +11 -1
  457. data/lib/akeyless/models/update_auth_method_azure_ad.rb +11 -1
  458. data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
  459. data/lib/akeyless/models/update_auth_method_gcp.rb +11 -1
  460. data/lib/akeyless/models/update_auth_method_k8_s.rb +11 -1
  461. data/lib/akeyless/models/update_auth_method_ldap.rb +11 -1
  462. data/lib/akeyless/models/update_auth_method_o_auth2.rb +11 -1
  463. data/lib/akeyless/models/update_auth_method_oci.rb +11 -1
  464. data/lib/akeyless/models/update_auth_method_oidc.rb +11 -1
  465. data/lib/akeyless/models/update_auth_method_saml.rb +11 -1
  466. data/lib/akeyless/models/update_auth_method_universal_identity.rb +11 -1
  467. data/lib/akeyless/models/update_certificate_value.rb +1 -1
  468. data/lib/akeyless/models/update_item.rb +1 -1
  469. data/lib/akeyless/models/update_pki_cert_issuer.rb +1 -1
  470. data/lib/akeyless/models/update_role.rb +11 -1
  471. data/lib/akeyless/models/update_ssh_cert_issuer.rb +1 -1
  472. data/lib/akeyless/models/upload_pkcs12.rb +1 -1
  473. data/lib/akeyless/models/upload_rsa.rb +11 -2
  474. data/lib/akeyless/version.rb +1 -1
  475. data/lib/akeyless.rb +2 -0
  476. data/spec/models/batch_encryption_request_line_spec.rb +54 -0
  477. data/spec/models/batch_encryption_response_line_spec.rb +42 -0
  478. metadata +985 -977
@@ -25,6 +25,9 @@ module Akeyless
25
25
  # A CIDR whitelist with the IPs that the access is restricted to
26
26
  attr_accessor :bound_ips
27
27
 
28
+ # Protection from accidental deletion of this object [true/false]
29
+ attr_accessor :delete_protection
30
+
28
31
  # Auth Method description
29
32
  attr_accessor :description
30
33
 
@@ -67,6 +70,7 @@ module Akeyless
67
70
  :'access_expires' => :'access-expires',
68
71
  :'audit_logs_claims' => :'audit-logs-claims',
69
72
  :'bound_ips' => :'bound-ips',
73
+ :'delete_protection' => :'delete_protection',
70
74
  :'description' => :'description',
71
75
  :'force_sub_claims' => :'force-sub-claims',
72
76
  :'group_ocid' => :'group-ocid',
@@ -93,6 +97,7 @@ module Akeyless
93
97
  :'access_expires' => :'Integer',
94
98
  :'audit_logs_claims' => :'Array<String>',
95
99
  :'bound_ips' => :'Array<String>',
100
+ :'delete_protection' => :'String',
96
101
  :'description' => :'String',
97
102
  :'force_sub_claims' => :'Boolean',
98
103
  :'group_ocid' => :'Array<String>',
@@ -147,6 +152,10 @@ module Akeyless
147
152
  end
148
153
  end
149
154
 
155
+ if attributes.key?(:'delete_protection')
156
+ self.delete_protection = attributes[:'delete_protection']
157
+ end
158
+
150
159
  if attributes.key?(:'description')
151
160
  self.description = attributes[:'description']
152
161
  end
@@ -250,6 +259,7 @@ module Akeyless
250
259
  access_expires == o.access_expires &&
251
260
  audit_logs_claims == o.audit_logs_claims &&
252
261
  bound_ips == o.bound_ips &&
262
+ delete_protection == o.delete_protection &&
253
263
  description == o.description &&
254
264
  force_sub_claims == o.force_sub_claims &&
255
265
  group_ocid == o.group_ocid &&
@@ -273,7 +283,7 @@ module Akeyless
273
283
  # Calculates hash code according to all attributes.
274
284
  # @return [Integer] Hash code
275
285
  def hash
276
- [access_expires, audit_logs_claims, bound_ips, description, force_sub_claims, group_ocid, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, tenant_ocid, token, uid_token].hash
286
+ [access_expires, audit_logs_claims, bound_ips, delete_protection, description, force_sub_claims, group_ocid, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, tenant_ocid, token, uid_token].hash
277
287
  end
278
288
 
279
289
  # Builds the object from hash
@@ -37,6 +37,9 @@ module Akeyless
37
37
  # Client Secret
38
38
  attr_accessor :client_secret
39
39
 
40
+ # Protection from accidental deletion of this object [true/false]
41
+ attr_accessor :delete_protection
42
+
40
43
  # Auth Method description
41
44
  attr_accessor :description
42
45
 
@@ -92,6 +95,7 @@ module Akeyless
92
95
  :'bound_ips' => :'bound-ips',
93
96
  :'client_id' => :'client-id',
94
97
  :'client_secret' => :'client-secret',
98
+ :'delete_protection' => :'delete_protection',
95
99
  :'description' => :'description',
96
100
  :'force_sub_claims' => :'force-sub-claims',
97
101
  :'gw_bound_ips' => :'gw-bound-ips',
@@ -125,6 +129,7 @@ module Akeyless
125
129
  :'bound_ips' => :'Array<String>',
126
130
  :'client_id' => :'String',
127
131
  :'client_secret' => :'String',
132
+ :'delete_protection' => :'String',
128
133
  :'description' => :'String',
129
134
  :'force_sub_claims' => :'Boolean',
130
135
  :'gw_bound_ips' => :'Array<String>',
@@ -200,6 +205,10 @@ module Akeyless
200
205
  self.client_secret = attributes[:'client_secret']
201
206
  end
202
207
 
208
+ if attributes.key?(:'delete_protection')
209
+ self.delete_protection = attributes[:'delete_protection']
210
+ end
211
+
203
212
  if attributes.key?(:'description')
204
213
  self.description = attributes[:'description']
205
214
  end
@@ -314,6 +323,7 @@ module Akeyless
314
323
  bound_ips == o.bound_ips &&
315
324
  client_id == o.client_id &&
316
325
  client_secret == o.client_secret &&
326
+ delete_protection == o.delete_protection &&
317
327
  description == o.description &&
318
328
  force_sub_claims == o.force_sub_claims &&
319
329
  gw_bound_ips == o.gw_bound_ips &&
@@ -340,7 +350,7 @@ module Akeyless
340
350
  # Calculates hash code according to all attributes.
341
351
  # @return [Integer] Hash code
342
352
  def hash
343
- [access_expires, allowed_redirect_uri, audience, audit_logs_claims, bound_ips, client_id, client_secret, description, force_sub_claims, gw_bound_ips, issuer, json, jwt_ttl, name, new_name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
353
+ [access_expires, allowed_redirect_uri, audience, audit_logs_claims, bound_ips, client_id, client_secret, delete_protection, description, force_sub_claims, gw_bound_ips, issuer, json, jwt_ttl, name, new_name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
344
354
  end
345
355
 
346
356
  # Builds the object from hash
@@ -28,6 +28,9 @@ module Akeyless
28
28
  # A CIDR whitelist with the IPs that the access is restricted to
29
29
  attr_accessor :bound_ips
30
30
 
31
+ # Protection from accidental deletion of this object [true/false]
32
+ attr_accessor :delete_protection
33
+
31
34
  # Auth Method description
32
35
  attr_accessor :description
33
36
 
@@ -77,6 +80,7 @@ module Akeyless
77
80
  :'allowed_redirect_uri' => :'allowed-redirect-uri',
78
81
  :'audit_logs_claims' => :'audit-logs-claims',
79
82
  :'bound_ips' => :'bound-ips',
83
+ :'delete_protection' => :'delete_protection',
80
84
  :'description' => :'description',
81
85
  :'force_sub_claims' => :'force-sub-claims',
82
86
  :'gw_bound_ips' => :'gw-bound-ips',
@@ -106,6 +110,7 @@ module Akeyless
106
110
  :'allowed_redirect_uri' => :'Array<String>',
107
111
  :'audit_logs_claims' => :'Array<String>',
108
112
  :'bound_ips' => :'Array<String>',
113
+ :'delete_protection' => :'String',
109
114
  :'description' => :'String',
110
115
  :'force_sub_claims' => :'Boolean',
111
116
  :'gw_bound_ips' => :'Array<String>',
@@ -168,6 +173,10 @@ module Akeyless
168
173
  end
169
174
  end
170
175
 
176
+ if attributes.key?(:'delete_protection')
177
+ self.delete_protection = attributes[:'delete_protection']
178
+ end
179
+
171
180
  if attributes.key?(:'description')
172
181
  self.description = attributes[:'description']
173
182
  end
@@ -273,6 +282,7 @@ module Akeyless
273
282
  allowed_redirect_uri == o.allowed_redirect_uri &&
274
283
  audit_logs_claims == o.audit_logs_claims &&
275
284
  bound_ips == o.bound_ips &&
285
+ delete_protection == o.delete_protection &&
276
286
  description == o.description &&
277
287
  force_sub_claims == o.force_sub_claims &&
278
288
  gw_bound_ips == o.gw_bound_ips &&
@@ -298,7 +308,7 @@ module Akeyless
298
308
  # Calculates hash code according to all attributes.
299
309
  # @return [Integer] Hash code
300
310
  def hash
301
- [access_expires, allowed_redirect_uri, audit_logs_claims, bound_ips, description, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
311
+ [access_expires, allowed_redirect_uri, audit_logs_claims, bound_ips, delete_protection, description, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
302
312
  end
303
313
 
304
314
  # Builds the object from hash
@@ -25,6 +25,9 @@ module Akeyless
25
25
  # A CIDR whitelist with the IPs that the access is restricted to
26
26
  attr_accessor :bound_ips
27
27
 
28
+ # Protection from accidental deletion of this object [true/false]
29
+ attr_accessor :delete_protection
30
+
28
31
  # Deny from root to create children
29
32
  attr_accessor :deny_inheritance
30
33
 
@@ -70,6 +73,7 @@ module Akeyless
70
73
  :'access_expires' => :'access-expires',
71
74
  :'audit_logs_claims' => :'audit-logs-claims',
72
75
  :'bound_ips' => :'bound-ips',
76
+ :'delete_protection' => :'delete_protection',
73
77
  :'deny_inheritance' => :'deny-inheritance',
74
78
  :'deny_rotate' => :'deny-rotate',
75
79
  :'description' => :'description',
@@ -97,6 +101,7 @@ module Akeyless
97
101
  :'access_expires' => :'Integer',
98
102
  :'audit_logs_claims' => :'Array<String>',
99
103
  :'bound_ips' => :'Array<String>',
104
+ :'delete_protection' => :'String',
100
105
  :'deny_inheritance' => :'Boolean',
101
106
  :'deny_rotate' => :'Boolean',
102
107
  :'description' => :'String',
@@ -152,6 +157,10 @@ module Akeyless
152
157
  end
153
158
  end
154
159
 
160
+ if attributes.key?(:'delete_protection')
161
+ self.delete_protection = attributes[:'delete_protection']
162
+ end
163
+
155
164
  if attributes.key?(:'deny_inheritance')
156
165
  self.deny_inheritance = attributes[:'deny_inheritance']
157
166
  end
@@ -245,6 +254,7 @@ module Akeyless
245
254
  access_expires == o.access_expires &&
246
255
  audit_logs_claims == o.audit_logs_claims &&
247
256
  bound_ips == o.bound_ips &&
257
+ delete_protection == o.delete_protection &&
248
258
  deny_inheritance == o.deny_inheritance &&
249
259
  deny_rotate == o.deny_rotate &&
250
260
  description == o.description &&
@@ -269,7 +279,7 @@ module Akeyless
269
279
  # Calculates hash code according to all attributes.
270
280
  # @return [Integer] Hash code
271
281
  def hash
272
- [access_expires, audit_logs_claims, bound_ips, deny_inheritance, deny_rotate, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, token, ttl, uid_token].hash
282
+ [access_expires, audit_logs_claims, bound_ips, delete_protection, deny_inheritance, deny_rotate, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, token, ttl, uid_token].hash
273
283
  end
274
284
 
275
285
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class AuthOutput
18
+ attr_accessor :complete_auth_link
19
+
18
20
  attr_accessor :creds
19
21
 
20
22
  attr_accessor :token
@@ -22,6 +24,7 @@ module Akeyless
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
27
+ :'complete_auth_link' => :'complete_auth_link',
25
28
  :'creds' => :'creds',
26
29
  :'token' => :'token'
27
30
  }
@@ -35,6 +38,7 @@ module Akeyless
35
38
  # Attribute type mapping.
36
39
  def self.openapi_types
37
40
  {
41
+ :'complete_auth_link' => :'String',
38
42
  :'creds' => :'SystemAccessCredentialsReplyObj',
39
43
  :'token' => :'String'
40
44
  }
@@ -61,6 +65,10 @@ module Akeyless
61
65
  h[k.to_sym] = v
62
66
  }
63
67
 
68
+ if attributes.key?(:'complete_auth_link')
69
+ self.complete_auth_link = attributes[:'complete_auth_link']
70
+ end
71
+
64
72
  if attributes.key?(:'creds')
65
73
  self.creds = attributes[:'creds']
66
74
  end
@@ -90,6 +98,7 @@ module Akeyless
90
98
  def ==(o)
91
99
  return true if self.equal?(o)
92
100
  self.class == o.class &&
101
+ complete_auth_link == o.complete_auth_link &&
93
102
  creds == o.creds &&
94
103
  token == o.token
95
104
  end
@@ -103,7 +112,7 @@ module Akeyless
103
112
  # Calculates hash code according to all attributes.
104
113
  # @return [Integer] Hash code
105
114
  def hash
106
- [creds, token].hash
115
+ [complete_auth_link, creds, token].hash
107
116
  end
108
117
 
109
118
  # Builds the object from hash
@@ -27,6 +27,8 @@ module Akeyless
27
27
 
28
28
  attr_accessor :display_name
29
29
 
30
+ attr_accessor :has_gateway_identity
31
+
30
32
  attr_accessor :last_report
31
33
 
32
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -38,6 +40,7 @@ module Akeyless
38
40
  :'allowed_urls_per_instance' => :'allowed_urls_per_instance',
39
41
  :'cluster_name' => :'cluster_name',
40
42
  :'display_name' => :'display_name',
43
+ :'has_gateway_identity' => :'has_gateway_identity',
41
44
  :'last_report' => :'last_report'
42
45
  }
43
46
  end
@@ -56,6 +59,7 @@ module Akeyless
56
59
  :'allowed_urls_per_instance' => :'Hash<String, Array<String>>',
57
60
  :'cluster_name' => :'String',
58
61
  :'display_name' => :'String',
62
+ :'has_gateway_identity' => :'Boolean',
59
63
  :'last_report' => :'Time'
60
64
  }
61
65
  end
@@ -111,6 +115,10 @@ module Akeyless
111
115
  self.display_name = attributes[:'display_name']
112
116
  end
113
117
 
118
+ if attributes.key?(:'has_gateway_identity')
119
+ self.has_gateway_identity = attributes[:'has_gateway_identity']
120
+ end
121
+
114
122
  if attributes.key?(:'last_report')
115
123
  self.last_report = attributes[:'last_report']
116
124
  end
@@ -142,6 +150,7 @@ module Akeyless
142
150
  allowed_urls_per_instance == o.allowed_urls_per_instance &&
143
151
  cluster_name == o.cluster_name &&
144
152
  display_name == o.display_name &&
153
+ has_gateway_identity == o.has_gateway_identity &&
145
154
  last_report == o.last_report
146
155
  end
147
156
 
@@ -154,7 +163,7 @@ module Akeyless
154
163
  # Calculates hash code according to all attributes.
155
164
  # @return [Integer] Hash code
156
165
  def hash
157
- [access_id, allowed_access_ids, allowed_urls, allowed_urls_per_instance, cluster_name, display_name, last_report].hash
166
+ [access_id, allowed_access_ids, allowed_urls, allowed_urls_per_instance, cluster_name, display_name, has_gateway_identity, last_report].hash
158
167
  end
159
168
 
160
169
  # Builds the object from hash
@@ -0,0 +1,243 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 2.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.8.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ class BatchEncryptionRequestLine
18
+ attr_accessor :context
19
+
20
+ attr_accessor :data
21
+
22
+ attr_accessor :item_id
23
+
24
+ attr_accessor :item_version
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'context' => :'context',
30
+ :'data' => :'data',
31
+ :'item_id' => :'item_id',
32
+ :'item_version' => :'item_version'
33
+ }
34
+ end
35
+
36
+ # Returns all the JSON keys this model knows about
37
+ def self.acceptable_attributes
38
+ attribute_map.values
39
+ end
40
+
41
+ # Attribute type mapping.
42
+ def self.openapi_types
43
+ {
44
+ :'context' => :'Hash<String, String>',
45
+ :'data' => :'String',
46
+ :'item_id' => :'Integer',
47
+ :'item_version' => :'Integer'
48
+ }
49
+ end
50
+
51
+ # List of attributes with nullable: true
52
+ def self.openapi_nullable
53
+ Set.new([
54
+ ])
55
+ end
56
+
57
+ # Initializes the object
58
+ # @param [Hash] attributes Model attributes in the form of hash
59
+ def initialize(attributes = {})
60
+ if (!attributes.is_a?(Hash))
61
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::BatchEncryptionRequestLine` initialize method"
62
+ end
63
+
64
+ # check to see if the attribute exists and convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}) { |(k, v), h|
66
+ if (!self.class.attribute_map.key?(k.to_sym))
67
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::BatchEncryptionRequestLine`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
68
+ end
69
+ h[k.to_sym] = v
70
+ }
71
+
72
+ if attributes.key?(:'context')
73
+ if (value = attributes[:'context']).is_a?(Hash)
74
+ self.context = value
75
+ end
76
+ end
77
+
78
+ if attributes.key?(:'data')
79
+ self.data = attributes[:'data']
80
+ end
81
+
82
+ if attributes.key?(:'item_id')
83
+ self.item_id = attributes[:'item_id']
84
+ end
85
+
86
+ if attributes.key?(:'item_version')
87
+ self.item_version = attributes[:'item_version']
88
+ end
89
+ end
90
+
91
+ # Show invalid properties with the reasons. Usually used together with valid?
92
+ # @return Array for valid properties with the reasons
93
+ def list_invalid_properties
94
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
95
+ invalid_properties = Array.new
96
+ invalid_properties
97
+ end
98
+
99
+ # Check to see if the all the properties in the model are valid
100
+ # @return true if the model is valid
101
+ def valid?
102
+ warn '[DEPRECATED] the `valid?` method is obsolete'
103
+ true
104
+ end
105
+
106
+ # Checks equality by comparing each attribute.
107
+ # @param [Object] Object to be compared
108
+ def ==(o)
109
+ return true if self.equal?(o)
110
+ self.class == o.class &&
111
+ context == o.context &&
112
+ data == o.data &&
113
+ item_id == o.item_id &&
114
+ item_version == o.item_version
115
+ end
116
+
117
+ # @see the `==` method
118
+ # @param [Object] Object to be compared
119
+ def eql?(o)
120
+ self == o
121
+ end
122
+
123
+ # Calculates hash code according to all attributes.
124
+ # @return [Integer] Hash code
125
+ def hash
126
+ [context, data, item_id, item_version].hash
127
+ end
128
+
129
+ # Builds the object from hash
130
+ # @param [Hash] attributes Model attributes in the form of hash
131
+ # @return [Object] Returns the model itself
132
+ def self.build_from_hash(attributes)
133
+ return nil unless attributes.is_a?(Hash)
134
+ attributes = attributes.transform_keys(&:to_sym)
135
+ transformed_hash = {}
136
+ openapi_types.each_pair do |key, type|
137
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
138
+ transformed_hash["#{key}"] = nil
139
+ elsif type =~ /\AArray<(.*)>/i
140
+ # check to ensure the input is an array given that the attribute
141
+ # is documented as an array but the input is not
142
+ if attributes[attribute_map[key]].is_a?(Array)
143
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
144
+ end
145
+ elsif !attributes[attribute_map[key]].nil?
146
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
147
+ end
148
+ end
149
+ new(transformed_hash)
150
+ end
151
+
152
+ # Deserializes the data based on type
153
+ # @param string type Data type
154
+ # @param string value Value to be deserialized
155
+ # @return [Object] Deserialized data
156
+ def self._deserialize(type, value)
157
+ case type.to_sym
158
+ when :Time
159
+ Time.parse(value)
160
+ when :Date
161
+ Date.parse(value)
162
+ when :String
163
+ value.to_s
164
+ when :Integer
165
+ value.to_i
166
+ when :Float
167
+ value.to_f
168
+ when :Boolean
169
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
170
+ true
171
+ else
172
+ false
173
+ end
174
+ when :Object
175
+ # generic object (usually a Hash), return directly
176
+ value
177
+ when /\AArray<(?<inner_type>.+)>\z/
178
+ inner_type = Regexp.last_match[:inner_type]
179
+ value.map { |v| _deserialize(inner_type, v) }
180
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
181
+ k_type = Regexp.last_match[:k_type]
182
+ v_type = Regexp.last_match[:v_type]
183
+ {}.tap do |hash|
184
+ value.each do |k, v|
185
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
186
+ end
187
+ end
188
+ else # model
189
+ # models (e.g. Pet) or oneOf
190
+ klass = Akeyless.const_get(type)
191
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
192
+ end
193
+ end
194
+
195
+ # Returns the string representation of the object
196
+ # @return [String] String presentation of the object
197
+ def to_s
198
+ to_hash.to_s
199
+ end
200
+
201
+ # to_body is an alias to to_hash (backward compatibility)
202
+ # @return [Hash] Returns the object in the form of hash
203
+ def to_body
204
+ to_hash
205
+ end
206
+
207
+ # Returns the object in the form of hash
208
+ # @return [Hash] Returns the object in the form of hash
209
+ def to_hash
210
+ hash = {}
211
+ self.class.attribute_map.each_pair do |attr, param|
212
+ value = self.send(attr)
213
+ if value.nil?
214
+ is_nullable = self.class.openapi_nullable.include?(attr)
215
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
216
+ end
217
+
218
+ hash[param] = _to_hash(value)
219
+ end
220
+ hash
221
+ end
222
+
223
+ # Outputs non-array value in the form of hash
224
+ # For object, use to_hash. Otherwise, just return the value
225
+ # @param [Object] value Any valid value
226
+ # @return [Hash] Returns the value in the form of hash
227
+ def _to_hash(value)
228
+ if value.is_a?(Array)
229
+ value.compact.map { |v| _to_hash(v) }
230
+ elsif value.is_a?(Hash)
231
+ {}.tap do |hash|
232
+ value.each { |k, v| hash[k] = _to_hash(v) }
233
+ end
234
+ elsif value.respond_to? :to_hash
235
+ value.to_hash
236
+ else
237
+ value
238
+ end
239
+ end
240
+
241
+ end
242
+
243
+ end