akeyless 5.0.12 → 5.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +28 -1
- data/docs/AccountCustomFieldCreate.md +30 -0
- data/docs/AccountCustomFieldCreateOutput.md +18 -0
- data/docs/AccountCustomFieldDelete.md +24 -0
- data/docs/AccountCustomFieldGet.md +24 -0
- data/docs/AccountCustomFieldGetOutput.md +34 -0
- data/docs/AccountCustomFieldList.md +26 -0
- data/docs/AccountCustomFieldUpdate.md +28 -0
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/AiInsightsConfigPart.md +24 -0
- data/docs/AiInsightsSetting.md +18 -0
- data/docs/AkeylessGatewayConfig.md +2 -0
- data/docs/ConfigHash.md +2 -0
- data/docs/CreateCertificate.md +2 -0
- data/docs/CreateClassicKey.md +2 -0
- data/docs/CreateDFCKey.md +2 -0
- data/docs/CreateOidcApp.md +2 -0
- data/docs/CreatePKICertIssuer.md +2 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateSSHCertIssuer.md +2 -0
- data/docs/CreateSecret.md +2 -0
- data/docs/CreateTokenizer.md +2 -0
- data/docs/CreateUSC.md +2 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DecryptWithClassicKey.md +2 -0
- data/docs/DescribeItem.md +2 -0
- data/docs/DynamicSecretCreateArtifactory.md +2 -0
- data/docs/DynamicSecretCreateAws.md +2 -0
- data/docs/DynamicSecretCreateAzure.md +2 -0
- data/docs/DynamicSecretCreateCassandra.md +2 -0
- data/docs/DynamicSecretCreateChef.md +2 -0
- data/docs/DynamicSecretCreateCustom.md +2 -0
- data/docs/DynamicSecretCreateDockerhub.md +2 -0
- data/docs/DynamicSecretCreateEks.md +2 -0
- data/docs/DynamicSecretCreateGcp.md +2 -0
- data/docs/DynamicSecretCreateGithub.md +2 -0
- data/docs/DynamicSecretCreateGitlab.md +2 -0
- data/docs/DynamicSecretCreateGke.md +2 -0
- data/docs/DynamicSecretCreateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretCreateHanaDb.md +2 -0
- data/docs/DynamicSecretCreateK8s.md +2 -0
- data/docs/DynamicSecretCreateLdap.md +2 -0
- data/docs/DynamicSecretCreateMongoDb.md +2 -0
- data/docs/DynamicSecretCreateMsSql.md +2 -0
- data/docs/DynamicSecretCreateMySql.md +2 -0
- data/docs/DynamicSecretCreateOpenAI.md +2 -0
- data/docs/DynamicSecretCreateOracleDb.md +2 -0
- data/docs/DynamicSecretCreatePing.md +2 -0
- data/docs/DynamicSecretCreatePostgreSql.md +2 -0
- data/docs/DynamicSecretCreateRabbitMq.md +2 -0
- data/docs/DynamicSecretCreateRdp.md +2 -0
- data/docs/DynamicSecretCreateRedis.md +2 -0
- data/docs/DynamicSecretCreateRedshift.md +2 -0
- data/docs/DynamicSecretCreateSnowflake.md +2 -0
- data/docs/DynamicSecretCreateVenafi.md +2 -0
- data/docs/DynamicSecretUpdateArtifactory.md +2 -0
- data/docs/DynamicSecretUpdateAws.md +2 -0
- data/docs/DynamicSecretUpdateAzure.md +2 -0
- data/docs/DynamicSecretUpdateCassandra.md +2 -0
- data/docs/DynamicSecretUpdateChef.md +2 -0
- data/docs/DynamicSecretUpdateCustom.md +2 -0
- data/docs/DynamicSecretUpdateDockerhub.md +2 -0
- data/docs/DynamicSecretUpdateEks.md +2 -0
- data/docs/DynamicSecretUpdateGcp.md +2 -0
- data/docs/DynamicSecretUpdateGithub.md +2 -0
- data/docs/DynamicSecretUpdateGitlab.md +2 -0
- data/docs/DynamicSecretUpdateGke.md +2 -0
- data/docs/DynamicSecretUpdateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretUpdateHanaDb.md +2 -0
- data/docs/DynamicSecretUpdateK8s.md +2 -0
- data/docs/DynamicSecretUpdateLdap.md +2 -0
- data/docs/DynamicSecretUpdateMongoDb.md +2 -0
- data/docs/DynamicSecretUpdateMsSql.md +2 -0
- data/docs/DynamicSecretUpdateMySql.md +2 -0
- data/docs/DynamicSecretUpdateOpenAI.md +2 -0
- data/docs/DynamicSecretUpdateOracleDb.md +2 -0
- data/docs/DynamicSecretUpdatePing.md +2 -0
- data/docs/DynamicSecretUpdatePostgreSql.md +2 -0
- data/docs/DynamicSecretUpdateRabbitMq.md +2 -0
- data/docs/DynamicSecretUpdateRdp.md +2 -0
- data/docs/DynamicSecretUpdateRedis.md +2 -0
- data/docs/DynamicSecretUpdateRedshift.md +2 -0
- data/docs/DynamicSecretUpdateSnowflake.md +2 -0
- data/docs/DynamicSecretUpdateVenafi.md +2 -0
- data/docs/EncryptWithClassicKey.md +2 -0
- data/docs/FolderCreate.md +34 -0
- data/docs/FolderCreateOutput.md +18 -0
- data/docs/FolderDelete.md +28 -0
- data/docs/FolderGet.md +28 -0
- data/docs/FolderGetOutput.md +18 -0
- data/docs/FolderUpdate.md +36 -0
- data/docs/GatewayCreateProducerArtifactory.md +2 -0
- data/docs/GatewayCreateProducerAws.md +2 -0
- data/docs/GatewayCreateProducerAzure.md +2 -0
- data/docs/GatewayCreateProducerCassandra.md +2 -0
- data/docs/GatewayCreateProducerChef.md +2 -0
- data/docs/GatewayCreateProducerCustom.md +2 -0
- data/docs/GatewayCreateProducerDockerhub.md +2 -0
- data/docs/GatewayCreateProducerEks.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +2 -0
- data/docs/GatewayCreateProducerGithub.md +2 -0
- data/docs/GatewayCreateProducerGke.md +2 -0
- data/docs/GatewayCreateProducerHanaDb.md +2 -0
- data/docs/GatewayCreateProducerLdap.md +2 -0
- data/docs/GatewayCreateProducerMSSQL.md +2 -0
- data/docs/GatewayCreateProducerMongo.md +2 -0
- data/docs/GatewayCreateProducerMySQL.md +2 -0
- data/docs/GatewayCreateProducerNativeK8S.md +2 -0
- data/docs/GatewayCreateProducerOracleDb.md +2 -0
- data/docs/GatewayCreateProducerPing.md +2 -0
- data/docs/GatewayCreateProducerPostgreSQL.md +2 -0
- data/docs/GatewayCreateProducerRabbitMQ.md +2 -0
- data/docs/GatewayCreateProducerRdp.md +2 -0
- data/docs/GatewayCreateProducerRedis.md +2 -0
- data/docs/GatewayCreateProducerRedshift.md +2 -0
- data/docs/GatewayCreateProducerSnowflake.md +2 -0
- data/docs/GatewayCreateProducerVenafi.md +2 -0
- data/docs/GatewayUpdateProducerArtifactory.md +2 -0
- data/docs/GatewayUpdateProducerAws.md +2 -0
- data/docs/GatewayUpdateProducerAzure.md +2 -0
- data/docs/GatewayUpdateProducerCassandra.md +2 -0
- data/docs/GatewayUpdateProducerChef.md +2 -0
- data/docs/GatewayUpdateProducerCustom.md +2 -0
- data/docs/GatewayUpdateProducerDockerhub.md +2 -0
- data/docs/GatewayUpdateProducerEks.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +2 -0
- data/docs/GatewayUpdateProducerGithub.md +2 -0
- data/docs/GatewayUpdateProducerGke.md +2 -0
- data/docs/GatewayUpdateProducerHanaDb.md +2 -0
- data/docs/GatewayUpdateProducerLdap.md +2 -0
- data/docs/GatewayUpdateProducerMSSQL.md +2 -0
- data/docs/GatewayUpdateProducerMongo.md +2 -0
- data/docs/GatewayUpdateProducerMySQL.md +2 -0
- data/docs/GatewayUpdateProducerNativeK8S.md +2 -0
- data/docs/GatewayUpdateProducerOracleDb.md +2 -0
- data/docs/GatewayUpdateProducerPing.md +2 -0
- data/docs/GatewayUpdateProducerPostgreSQL.md +2 -0
- data/docs/GatewayUpdateProducerRabbitMQ.md +2 -0
- data/docs/GatewayUpdateProducerRdp.md +2 -0
- data/docs/GatewayUpdateProducerRedis.md +2 -0
- data/docs/GatewayUpdateProducerRedshift.md +2 -0
- data/docs/GatewayUpdateProducerSnowflake.md +2 -0
- data/docs/GatewayUpdateProducerVenafi.md +2 -0
- data/docs/GeminiTargetDetails.md +1 -3
- data/docs/GetFolderOutput.md +36 -0
- data/docs/Item.md +2 -0
- data/docs/ItemCustomFieldsDetails.md +26 -0
- data/docs/NullTime.md +20 -0
- data/docs/RotatedSecretCreateAws.md +2 -0
- data/docs/RotatedSecretCreateAzure.md +2 -0
- data/docs/RotatedSecretCreateCassandra.md +2 -0
- data/docs/RotatedSecretCreateCustom.md +2 -0
- data/docs/RotatedSecretCreateDockerhub.md +2 -0
- data/docs/RotatedSecretCreateGcp.md +2 -0
- data/docs/RotatedSecretCreateHanadb.md +2 -0
- data/docs/RotatedSecretCreateLdap.md +2 -0
- data/docs/RotatedSecretCreateMongodb.md +2 -0
- data/docs/RotatedSecretCreateMssql.md +2 -0
- data/docs/RotatedSecretCreateMysql.md +2 -0
- data/docs/RotatedSecretCreateOracledb.md +2 -0
- data/docs/RotatedSecretCreatePostgresql.md +2 -0
- data/docs/RotatedSecretCreateRedis.md +2 -0
- data/docs/RotatedSecretCreateRedshift.md +2 -0
- data/docs/RotatedSecretCreateSnowflake.md +2 -0
- data/docs/RotatedSecretCreateSsh.md +2 -0
- data/docs/RotatedSecretCreateWindows.md +2 -0
- data/docs/RotatedSecretUpdateAws.md +2 -0
- data/docs/RotatedSecretUpdateAzure.md +2 -0
- data/docs/RotatedSecretUpdateCassandra.md +2 -0
- data/docs/RotatedSecretUpdateCustom.md +2 -0
- data/docs/RotatedSecretUpdateDockerhub.md +2 -0
- data/docs/RotatedSecretUpdateGcp.md +2 -0
- data/docs/RotatedSecretUpdateHanadb.md +2 -0
- data/docs/RotatedSecretUpdateLdap.md +2 -0
- data/docs/RotatedSecretUpdateMongodb.md +2 -0
- data/docs/RotatedSecretUpdateMssql.md +2 -0
- data/docs/RotatedSecretUpdateMysql.md +2 -0
- data/docs/RotatedSecretUpdateOracledb.md +2 -0
- data/docs/RotatedSecretUpdatePostgresql.md +2 -0
- data/docs/RotatedSecretUpdateRedis.md +2 -0
- data/docs/RotatedSecretUpdateRedshift.md +2 -0
- data/docs/RotatedSecretUpdateSnowflake.md +2 -0
- data/docs/RotatedSecretUpdateSsh.md +2 -0
- data/docs/RotatedSecretUpdateWindows.md +2 -0
- data/docs/SharingPolicyInfo.md +2 -0
- data/docs/TargetCreateGemini.md +0 -2
- data/docs/TargetUpdateGemini.md +0 -2
- data/docs/UpdateAccountSettings.md +4 -0
- data/docs/UpdateItem.md +2 -0
- data/docs/UpdatePKICertIssuer.md +2 -0
- data/docs/UpdateSSHCertIssuer.md +2 -0
- data/docs/UploadPKCS12.md +2 -0
- data/docs/UploadRSA.md +2 -0
- data/docs/V2Api.md +569 -0
- data/lib/akeyless/api/v2_api.rb +588 -0
- data/lib/akeyless/models/account_custom_field_create.rb +301 -0
- data/lib/akeyless/models/account_custom_field_create_output.rb +214 -0
- data/lib/akeyless/models/account_custom_field_delete.rb +255 -0
- data/lib/akeyless/models/account_custom_field_get.rb +255 -0
- data/lib/akeyless/models/account_custom_field_get_output.rb +286 -0
- data/lib/akeyless/models/account_custom_field_list.rb +258 -0
- data/lib/akeyless/models/account_custom_field_update.rb +277 -0
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/ai_insights_config_part.rb +241 -0
- data/lib/akeyless/models/ai_insights_setting.rb +214 -0
- data/lib/akeyless/models/akeyless_gateway_config.rb +10 -1
- data/lib/akeyless/models/config_hash.rb +10 -1
- data/lib/akeyless/models/create_certificate.rb +13 -1
- data/lib/akeyless/models/create_classic_key.rb +13 -1
- data/lib/akeyless/models/create_dfc_key.rb +13 -1
- data/lib/akeyless/models/create_oidc_app.rb +13 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +13 -1
- data/lib/akeyless/models/create_role.rb +13 -1
- data/lib/akeyless/models/create_secret.rb +13 -1
- data/lib/akeyless/models/create_ssh_cert_issuer.rb +13 -1
- data/lib/akeyless/models/create_tokenizer.rb +13 -1
- data/lib/akeyless/models/create_usc.rb +13 -1
- data/lib/akeyless/models/decrypt_with_classic_key.rb +13 -1
- data/lib/akeyless/models/describe_item.rb +13 -1
- data/lib/akeyless/models/ds_producer_details.rb +12 -1
- data/lib/akeyless/models/dynamic_secret_create_artifactory.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_aws.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_azure.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_chef.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_custom.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_dockerhub.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_eks.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_github.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_gitlab.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_gke.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_k8s.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_ldap.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_open_ai.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_ping.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_rabbit_mq.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_rdp.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_redis.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_redshift.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_create_venafi.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_aws.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_azure.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_chef.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_custom.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_eks.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_github.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_gke.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_ldap.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_open_ai.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_ping.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_rabbit_mq.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_rdp.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_redis.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_redshift.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +13 -1
- data/lib/akeyless/models/dynamic_secret_update_venafi.rb +13 -1
- data/lib/akeyless/models/encrypt_with_classic_key.rb +13 -1
- data/lib/akeyless/models/folder_create.rb +308 -0
- data/lib/akeyless/models/folder_create_output.rb +214 -0
- data/lib/akeyless/models/folder_delete.rb +276 -0
- data/lib/akeyless/models/folder_get.rb +276 -0
- data/lib/akeyless/models/folder_get_output.rb +214 -0
- data/lib/akeyless/models/folder_update.rb +320 -0
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_aws.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_azure.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_chef.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_custom.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_eks.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_github.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_gke.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_ping.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_redis.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_venafi.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_aws.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_azure.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_chef.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_custom.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_eks.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_github.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_gke.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_ping.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_redis.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_venafi.rb +13 -1
- data/lib/akeyless/models/gemini_target_details.rb +4 -13
- data/lib/akeyless/models/get_folder_output.rb +298 -0
- data/lib/akeyless/models/item.rb +12 -1
- data/lib/akeyless/models/item_custom_fields_details.rb +251 -0
- data/lib/akeyless/models/null_time.rb +224 -0
- data/lib/akeyless/models/rotated_secret_create_aws.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_azure.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_custom.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_redis.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_windows.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_azure.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_cassandra.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_custom.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_hanadb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_redis.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_windows.rb +13 -1
- data/lib/akeyless/models/sharing_policy_info.rb +13 -1
- data/lib/akeyless/models/target_create_gemini.rb +1 -11
- data/lib/akeyless/models/target_update_gemini.rb +1 -11
- data/lib/akeyless/models/update_account_settings.rb +23 -1
- data/lib/akeyless/models/update_item.rb +13 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +13 -1
- data/lib/akeyless/models/update_ssh_cert_issuer.rb +13 -1
- data/lib/akeyless/models/upload_pkcs12.rb +13 -1
- data/lib/akeyless/models/upload_rsa.rb +13 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +18 -0
- data/spec/models/account_custom_field_create_output_spec.rb +36 -0
- data/spec/models/account_custom_field_create_spec.rb +72 -0
- data/spec/models/account_custom_field_delete_spec.rb +54 -0
- data/spec/models/account_custom_field_get_output_spec.rb +84 -0
- data/spec/models/account_custom_field_get_spec.rb +54 -0
- data/spec/models/account_custom_field_list_spec.rb +60 -0
- data/spec/models/account_custom_field_update_spec.rb +66 -0
- data/spec/models/ai_insights_config_part_spec.rb +54 -0
- data/spec/models/ai_insights_setting_spec.rb +36 -0
- data/spec/models/folder_create_output_spec.rb +36 -0
- data/spec/models/folder_create_spec.rb +84 -0
- data/spec/models/folder_delete_spec.rb +66 -0
- data/spec/models/folder_get_output_spec.rb +36 -0
- data/spec/models/folder_get_spec.rb +66 -0
- data/spec/models/folder_update_spec.rb +90 -0
- data/spec/models/get_folder_output_spec.rb +90 -0
- data/spec/models/item_custom_fields_details_spec.rb +60 -0
- data/spec/models/null_time_spec.rb +42 -0
- metadata +73 -1
|
@@ -0,0 +1,214 @@
|
|
|
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: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class FolderGetOutput
|
|
18
|
+
attr_accessor :folder
|
|
19
|
+
|
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
|
+
def self.attribute_map
|
|
22
|
+
{
|
|
23
|
+
:'folder' => :'folder'
|
|
24
|
+
}
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Returns all the JSON keys this model knows about
|
|
28
|
+
def self.acceptable_attributes
|
|
29
|
+
attribute_map.values
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Attribute type mapping.
|
|
33
|
+
def self.openapi_types
|
|
34
|
+
{
|
|
35
|
+
:'folder' => :'GetFolderOutput'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# List of attributes with nullable: true
|
|
40
|
+
def self.openapi_nullable
|
|
41
|
+
Set.new([
|
|
42
|
+
])
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Initializes the object
|
|
46
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
47
|
+
def initialize(attributes = {})
|
|
48
|
+
if (!attributes.is_a?(Hash))
|
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::FolderGetOutput` initialize method"
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
53
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
54
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::FolderGetOutput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
56
|
+
end
|
|
57
|
+
h[k.to_sym] = v
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if attributes.key?(:'folder')
|
|
61
|
+
self.folder = attributes[:'folder']
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
66
|
+
# @return Array for valid properties with the reasons
|
|
67
|
+
def list_invalid_properties
|
|
68
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
69
|
+
invalid_properties = Array.new
|
|
70
|
+
invalid_properties
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Check to see if the all the properties in the model are valid
|
|
74
|
+
# @return true if the model is valid
|
|
75
|
+
def valid?
|
|
76
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
77
|
+
true
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Checks equality by comparing each attribute.
|
|
81
|
+
# @param [Object] Object to be compared
|
|
82
|
+
def ==(o)
|
|
83
|
+
return true if self.equal?(o)
|
|
84
|
+
self.class == o.class &&
|
|
85
|
+
folder == o.folder
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# @see the `==` method
|
|
89
|
+
# @param [Object] Object to be compared
|
|
90
|
+
def eql?(o)
|
|
91
|
+
self == o
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Calculates hash code according to all attributes.
|
|
95
|
+
# @return [Integer] Hash code
|
|
96
|
+
def hash
|
|
97
|
+
[folder].hash
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Builds the object from hash
|
|
101
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
102
|
+
# @return [Object] Returns the model itself
|
|
103
|
+
def self.build_from_hash(attributes)
|
|
104
|
+
return nil unless attributes.is_a?(Hash)
|
|
105
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
106
|
+
transformed_hash = {}
|
|
107
|
+
openapi_types.each_pair do |key, type|
|
|
108
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
109
|
+
transformed_hash["#{key}"] = nil
|
|
110
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
111
|
+
# check to ensure the input is an array given that the attribute
|
|
112
|
+
# is documented as an array but the input is not
|
|
113
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
114
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
115
|
+
end
|
|
116
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
117
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
new(transformed_hash)
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Deserializes the data based on type
|
|
124
|
+
# @param string type Data type
|
|
125
|
+
# @param string value Value to be deserialized
|
|
126
|
+
# @return [Object] Deserialized data
|
|
127
|
+
def self._deserialize(type, value)
|
|
128
|
+
case type.to_sym
|
|
129
|
+
when :Time
|
|
130
|
+
Time.parse(value)
|
|
131
|
+
when :Date
|
|
132
|
+
Date.parse(value)
|
|
133
|
+
when :String
|
|
134
|
+
value.to_s
|
|
135
|
+
when :Integer
|
|
136
|
+
value.to_i
|
|
137
|
+
when :Float
|
|
138
|
+
value.to_f
|
|
139
|
+
when :Boolean
|
|
140
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
141
|
+
true
|
|
142
|
+
else
|
|
143
|
+
false
|
|
144
|
+
end
|
|
145
|
+
when :Object
|
|
146
|
+
# generic object (usually a Hash), return directly
|
|
147
|
+
value
|
|
148
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
149
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
150
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
151
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
152
|
+
k_type = Regexp.last_match[:k_type]
|
|
153
|
+
v_type = Regexp.last_match[:v_type]
|
|
154
|
+
{}.tap do |hash|
|
|
155
|
+
value.each do |k, v|
|
|
156
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
else # model
|
|
160
|
+
# models (e.g. Pet) or oneOf
|
|
161
|
+
klass = Akeyless.const_get(type)
|
|
162
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Returns the string representation of the object
|
|
167
|
+
# @return [String] String presentation of the object
|
|
168
|
+
def to_s
|
|
169
|
+
to_hash.to_s
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
173
|
+
# @return [Hash] Returns the object in the form of hash
|
|
174
|
+
def to_body
|
|
175
|
+
to_hash
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# Returns the object in the form of hash
|
|
179
|
+
# @return [Hash] Returns the object in the form of hash
|
|
180
|
+
def to_hash
|
|
181
|
+
hash = {}
|
|
182
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
183
|
+
value = self.send(attr)
|
|
184
|
+
if value.nil?
|
|
185
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
186
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
hash[param] = _to_hash(value)
|
|
190
|
+
end
|
|
191
|
+
hash
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Outputs non-array value in the form of hash
|
|
195
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
196
|
+
# @param [Object] value Any valid value
|
|
197
|
+
# @return [Hash] Returns the value in the form of hash
|
|
198
|
+
def _to_hash(value)
|
|
199
|
+
if value.is_a?(Array)
|
|
200
|
+
value.compact.map { |v| _to_hash(v) }
|
|
201
|
+
elsif value.is_a?(Hash)
|
|
202
|
+
{}.tap do |hash|
|
|
203
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
204
|
+
end
|
|
205
|
+
elsif value.respond_to? :to_hash
|
|
206
|
+
value.to_hash
|
|
207
|
+
else
|
|
208
|
+
value
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
end
|
|
@@ -0,0 +1,320 @@
|
|
|
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: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
# folderUpdate is a command that updates folder
|
|
18
|
+
class FolderUpdate
|
|
19
|
+
# for personal password manager
|
|
20
|
+
attr_accessor :accessibility
|
|
21
|
+
|
|
22
|
+
# List of the new tags that will be attached to this folder
|
|
23
|
+
attr_accessor :add_tag
|
|
24
|
+
|
|
25
|
+
# Protection from accidental deletion of this object [true/false]
|
|
26
|
+
attr_accessor :delete_protection
|
|
27
|
+
|
|
28
|
+
# Description of the object
|
|
29
|
+
attr_accessor :description
|
|
30
|
+
|
|
31
|
+
# Set output format to JSON
|
|
32
|
+
attr_accessor :json
|
|
33
|
+
|
|
34
|
+
# Folder name
|
|
35
|
+
attr_accessor :name
|
|
36
|
+
|
|
37
|
+
# List of the existent tags that will be removed from this folder
|
|
38
|
+
attr_accessor :rm_tag
|
|
39
|
+
|
|
40
|
+
# Authentication token (see `/auth` and `/configure`)
|
|
41
|
+
attr_accessor :token
|
|
42
|
+
|
|
43
|
+
attr_accessor :type
|
|
44
|
+
|
|
45
|
+
# The universal identity token, Required only for universal_identity authentication
|
|
46
|
+
attr_accessor :uid_token
|
|
47
|
+
|
|
48
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
|
+
def self.attribute_map
|
|
50
|
+
{
|
|
51
|
+
:'accessibility' => :'accessibility',
|
|
52
|
+
:'add_tag' => :'add-tag',
|
|
53
|
+
:'delete_protection' => :'delete_protection',
|
|
54
|
+
:'description' => :'description',
|
|
55
|
+
:'json' => :'json',
|
|
56
|
+
:'name' => :'name',
|
|
57
|
+
:'rm_tag' => :'rm-tag',
|
|
58
|
+
:'token' => :'token',
|
|
59
|
+
:'type' => :'type',
|
|
60
|
+
:'uid_token' => :'uid-token'
|
|
61
|
+
}
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Returns all the JSON keys this model knows about
|
|
65
|
+
def self.acceptable_attributes
|
|
66
|
+
attribute_map.values
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Attribute type mapping.
|
|
70
|
+
def self.openapi_types
|
|
71
|
+
{
|
|
72
|
+
:'accessibility' => :'String',
|
|
73
|
+
:'add_tag' => :'Array<String>',
|
|
74
|
+
:'delete_protection' => :'String',
|
|
75
|
+
:'description' => :'String',
|
|
76
|
+
:'json' => :'Boolean',
|
|
77
|
+
:'name' => :'String',
|
|
78
|
+
:'rm_tag' => :'Array<String>',
|
|
79
|
+
:'token' => :'String',
|
|
80
|
+
:'type' => :'String',
|
|
81
|
+
:'uid_token' => :'String'
|
|
82
|
+
}
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# List of attributes with nullable: true
|
|
86
|
+
def self.openapi_nullable
|
|
87
|
+
Set.new([
|
|
88
|
+
])
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Initializes the object
|
|
92
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
93
|
+
def initialize(attributes = {})
|
|
94
|
+
if (!attributes.is_a?(Hash))
|
|
95
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::FolderUpdate` initialize method"
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
99
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
100
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
101
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::FolderUpdate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
102
|
+
end
|
|
103
|
+
h[k.to_sym] = v
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
if attributes.key?(:'accessibility')
|
|
107
|
+
self.accessibility = attributes[:'accessibility']
|
|
108
|
+
else
|
|
109
|
+
self.accessibility = 'regular'
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
if attributes.key?(:'add_tag')
|
|
113
|
+
if (value = attributes[:'add_tag']).is_a?(Array)
|
|
114
|
+
self.add_tag = value
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'delete_protection')
|
|
119
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
if attributes.key?(:'description')
|
|
123
|
+
self.description = attributes[:'description']
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
if attributes.key?(:'json')
|
|
127
|
+
self.json = attributes[:'json']
|
|
128
|
+
else
|
|
129
|
+
self.json = false
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
if attributes.key?(:'name')
|
|
133
|
+
self.name = attributes[:'name']
|
|
134
|
+
else
|
|
135
|
+
self.name = nil
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
if attributes.key?(:'rm_tag')
|
|
139
|
+
if (value = attributes[:'rm_tag']).is_a?(Array)
|
|
140
|
+
self.rm_tag = value
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
if attributes.key?(:'token')
|
|
145
|
+
self.token = attributes[:'token']
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
if attributes.key?(:'type')
|
|
149
|
+
self.type = attributes[:'type']
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
if attributes.key?(:'uid_token')
|
|
153
|
+
self.uid_token = attributes[:'uid_token']
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
158
|
+
# @return Array for valid properties with the reasons
|
|
159
|
+
def list_invalid_properties
|
|
160
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
161
|
+
invalid_properties = Array.new
|
|
162
|
+
if @name.nil?
|
|
163
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
invalid_properties
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# Check to see if the all the properties in the model are valid
|
|
170
|
+
# @return true if the model is valid
|
|
171
|
+
def valid?
|
|
172
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
173
|
+
return false if @name.nil?
|
|
174
|
+
true
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Checks equality by comparing each attribute.
|
|
178
|
+
# @param [Object] Object to be compared
|
|
179
|
+
def ==(o)
|
|
180
|
+
return true if self.equal?(o)
|
|
181
|
+
self.class == o.class &&
|
|
182
|
+
accessibility == o.accessibility &&
|
|
183
|
+
add_tag == o.add_tag &&
|
|
184
|
+
delete_protection == o.delete_protection &&
|
|
185
|
+
description == o.description &&
|
|
186
|
+
json == o.json &&
|
|
187
|
+
name == o.name &&
|
|
188
|
+
rm_tag == o.rm_tag &&
|
|
189
|
+
token == o.token &&
|
|
190
|
+
type == o.type &&
|
|
191
|
+
uid_token == o.uid_token
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# @see the `==` method
|
|
195
|
+
# @param [Object] Object to be compared
|
|
196
|
+
def eql?(o)
|
|
197
|
+
self == o
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# Calculates hash code according to all attributes.
|
|
201
|
+
# @return [Integer] Hash code
|
|
202
|
+
def hash
|
|
203
|
+
[accessibility, add_tag, delete_protection, description, json, name, rm_tag, token, type, uid_token].hash
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# Builds the object from hash
|
|
207
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
208
|
+
# @return [Object] Returns the model itself
|
|
209
|
+
def self.build_from_hash(attributes)
|
|
210
|
+
return nil unless attributes.is_a?(Hash)
|
|
211
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
212
|
+
transformed_hash = {}
|
|
213
|
+
openapi_types.each_pair do |key, type|
|
|
214
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
215
|
+
transformed_hash["#{key}"] = nil
|
|
216
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
217
|
+
# check to ensure the input is an array given that the attribute
|
|
218
|
+
# is documented as an array but the input is not
|
|
219
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
220
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
221
|
+
end
|
|
222
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
223
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
224
|
+
end
|
|
225
|
+
end
|
|
226
|
+
new(transformed_hash)
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
# Deserializes the data based on type
|
|
230
|
+
# @param string type Data type
|
|
231
|
+
# @param string value Value to be deserialized
|
|
232
|
+
# @return [Object] Deserialized data
|
|
233
|
+
def self._deserialize(type, value)
|
|
234
|
+
case type.to_sym
|
|
235
|
+
when :Time
|
|
236
|
+
Time.parse(value)
|
|
237
|
+
when :Date
|
|
238
|
+
Date.parse(value)
|
|
239
|
+
when :String
|
|
240
|
+
value.to_s
|
|
241
|
+
when :Integer
|
|
242
|
+
value.to_i
|
|
243
|
+
when :Float
|
|
244
|
+
value.to_f
|
|
245
|
+
when :Boolean
|
|
246
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
247
|
+
true
|
|
248
|
+
else
|
|
249
|
+
false
|
|
250
|
+
end
|
|
251
|
+
when :Object
|
|
252
|
+
# generic object (usually a Hash), return directly
|
|
253
|
+
value
|
|
254
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
255
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
256
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
257
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
258
|
+
k_type = Regexp.last_match[:k_type]
|
|
259
|
+
v_type = Regexp.last_match[:v_type]
|
|
260
|
+
{}.tap do |hash|
|
|
261
|
+
value.each do |k, v|
|
|
262
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
263
|
+
end
|
|
264
|
+
end
|
|
265
|
+
else # model
|
|
266
|
+
# models (e.g. Pet) or oneOf
|
|
267
|
+
klass = Akeyless.const_get(type)
|
|
268
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
269
|
+
end
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
# Returns the string representation of the object
|
|
273
|
+
# @return [String] String presentation of the object
|
|
274
|
+
def to_s
|
|
275
|
+
to_hash.to_s
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
279
|
+
# @return [Hash] Returns the object in the form of hash
|
|
280
|
+
def to_body
|
|
281
|
+
to_hash
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# Returns the object in the form of hash
|
|
285
|
+
# @return [Hash] Returns the object in the form of hash
|
|
286
|
+
def to_hash
|
|
287
|
+
hash = {}
|
|
288
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
289
|
+
value = self.send(attr)
|
|
290
|
+
if value.nil?
|
|
291
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
292
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
hash[param] = _to_hash(value)
|
|
296
|
+
end
|
|
297
|
+
hash
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
# Outputs non-array value in the form of hash
|
|
301
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
302
|
+
# @param [Object] value Any valid value
|
|
303
|
+
# @return [Hash] Returns the value in the form of hash
|
|
304
|
+
def _to_hash(value)
|
|
305
|
+
if value.is_a?(Array)
|
|
306
|
+
value.compact.map { |v| _to_hash(v) }
|
|
307
|
+
elsif value.is_a?(Hash)
|
|
308
|
+
{}.tap do |hash|
|
|
309
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
310
|
+
end
|
|
311
|
+
elsif value.respond_to? :to_hash
|
|
312
|
+
value.to_hash
|
|
313
|
+
else
|
|
314
|
+
value
|
|
315
|
+
end
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
end
|
|
@@ -37,6 +37,9 @@ module Akeyless
|
|
|
37
37
|
# Protection from accidental deletion of this object [true/false]
|
|
38
38
|
attr_accessor :delete_protection
|
|
39
39
|
|
|
40
|
+
# Additional custom fields to associate with the item
|
|
41
|
+
attr_accessor :item_custom_fields
|
|
42
|
+
|
|
40
43
|
# Set output format to JSON
|
|
41
44
|
attr_accessor :json
|
|
42
45
|
|
|
@@ -71,6 +74,7 @@ module Akeyless
|
|
|
71
74
|
:'base_url' => :'base-url',
|
|
72
75
|
:'custom_username_template' => :'custom-username-template',
|
|
73
76
|
:'delete_protection' => :'delete_protection',
|
|
77
|
+
:'item_custom_fields' => :'item-custom-fields',
|
|
74
78
|
:'json' => :'json',
|
|
75
79
|
:'name' => :'name',
|
|
76
80
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
|
@@ -97,6 +101,7 @@ module Akeyless
|
|
|
97
101
|
:'base_url' => :'String',
|
|
98
102
|
:'custom_username_template' => :'String',
|
|
99
103
|
:'delete_protection' => :'String',
|
|
104
|
+
:'item_custom_fields' => :'Hash<String, String>',
|
|
100
105
|
:'json' => :'Boolean',
|
|
101
106
|
:'name' => :'String',
|
|
102
107
|
:'producer_encryption_key_name' => :'String',
|
|
@@ -161,6 +166,12 @@ module Akeyless
|
|
|
161
166
|
self.delete_protection = attributes[:'delete_protection']
|
|
162
167
|
end
|
|
163
168
|
|
|
169
|
+
if attributes.key?(:'item_custom_fields')
|
|
170
|
+
if (value = attributes[:'item_custom_fields']).is_a?(Hash)
|
|
171
|
+
self.item_custom_fields = value
|
|
172
|
+
end
|
|
173
|
+
end
|
|
174
|
+
|
|
164
175
|
if attributes.key?(:'json')
|
|
165
176
|
self.json = attributes[:'json']
|
|
166
177
|
else
|
|
@@ -244,6 +255,7 @@ module Akeyless
|
|
|
244
255
|
base_url == o.base_url &&
|
|
245
256
|
custom_username_template == o.custom_username_template &&
|
|
246
257
|
delete_protection == o.delete_protection &&
|
|
258
|
+
item_custom_fields == o.item_custom_fields &&
|
|
247
259
|
json == o.json &&
|
|
248
260
|
name == o.name &&
|
|
249
261
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
|
@@ -263,7 +275,7 @@ module Akeyless
|
|
|
263
275
|
# Calculates hash code according to all attributes.
|
|
264
276
|
# @return [Integer] Hash code
|
|
265
277
|
def hash
|
|
266
|
-
[artifactory_admin_name, artifactory_admin_pwd, artifactory_token_audience, artifactory_token_scope, base_url, custom_username_template, delete_protection, json, name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
278
|
+
[artifactory_admin_name, artifactory_admin_pwd, artifactory_token_audience, artifactory_token_scope, base_url, custom_username_template, delete_protection, item_custom_fields, json, name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
267
279
|
end
|
|
268
280
|
|
|
269
281
|
# Builds the object from hash
|
|
@@ -54,6 +54,9 @@ module Akeyless
|
|
|
54
54
|
# Automatic admin credentials rotation
|
|
55
55
|
attr_accessor :enable_admin_rotation
|
|
56
56
|
|
|
57
|
+
# Additional custom fields to associate with the item
|
|
58
|
+
attr_accessor :item_custom_fields
|
|
59
|
+
|
|
57
60
|
# Set output format to JSON
|
|
58
61
|
attr_accessor :json
|
|
59
62
|
|
|
@@ -133,6 +136,7 @@ module Akeyless
|
|
|
133
136
|
:'custom_username_template' => :'custom-username-template',
|
|
134
137
|
:'delete_protection' => :'delete_protection',
|
|
135
138
|
:'enable_admin_rotation' => :'enable-admin-rotation',
|
|
139
|
+
:'item_custom_fields' => :'item-custom-fields',
|
|
136
140
|
:'json' => :'json',
|
|
137
141
|
:'name' => :'name',
|
|
138
142
|
:'password_length' => :'password-length',
|
|
@@ -178,6 +182,7 @@ module Akeyless
|
|
|
178
182
|
:'custom_username_template' => :'String',
|
|
179
183
|
:'delete_protection' => :'String',
|
|
180
184
|
:'enable_admin_rotation' => :'Boolean',
|
|
185
|
+
:'item_custom_fields' => :'Hash<String, String>',
|
|
181
186
|
:'json' => :'Boolean',
|
|
182
187
|
:'name' => :'String',
|
|
183
188
|
:'password_length' => :'String',
|
|
@@ -283,6 +288,12 @@ module Akeyless
|
|
|
283
288
|
self.enable_admin_rotation = false
|
|
284
289
|
end
|
|
285
290
|
|
|
291
|
+
if attributes.key?(:'item_custom_fields')
|
|
292
|
+
if (value = attributes[:'item_custom_fields']).is_a?(Hash)
|
|
293
|
+
self.item_custom_fields = value
|
|
294
|
+
end
|
|
295
|
+
end
|
|
296
|
+
|
|
286
297
|
if attributes.key?(:'json')
|
|
287
298
|
self.json = attributes[:'json']
|
|
288
299
|
else
|
|
@@ -422,6 +433,7 @@ module Akeyless
|
|
|
422
433
|
custom_username_template == o.custom_username_template &&
|
|
423
434
|
delete_protection == o.delete_protection &&
|
|
424
435
|
enable_admin_rotation == o.enable_admin_rotation &&
|
|
436
|
+
item_custom_fields == o.item_custom_fields &&
|
|
425
437
|
json == o.json &&
|
|
426
438
|
name == o.name &&
|
|
427
439
|
password_length == o.password_length &&
|
|
@@ -454,7 +466,7 @@ module Akeyless
|
|
|
454
466
|
# Calculates hash code according to all attributes.
|
|
455
467
|
# @return [Integer] Hash code
|
|
456
468
|
def hash
|
|
457
|
-
[access_mode, admin_rotation_interval_days, aws_access_key_id, aws_access_secret_key, aws_external_id, aws_role_arns, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, custom_username_template, delete_protection, enable_admin_rotation, json, name, password_length, producer_encryption_key_name, region, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, session_tags, tags, target_name, token, transitive_tag_keys, uid_token, user_ttl].hash
|
|
469
|
+
[access_mode, admin_rotation_interval_days, aws_access_key_id, aws_access_secret_key, aws_external_id, aws_role_arns, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, custom_username_template, delete_protection, enable_admin_rotation, item_custom_fields, json, name, password_length, producer_encryption_key_name, region, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, session_tags, tags, target_name, token, transitive_tag_keys, uid_token, user_ttl].hash
|
|
458
470
|
end
|
|
459
471
|
|
|
460
472
|
# Builds the object from hash
|
|
@@ -43,6 +43,9 @@ module Akeyless
|
|
|
43
43
|
# Fixed user
|
|
44
44
|
attr_accessor :fixed_user_only
|
|
45
45
|
|
|
46
|
+
# Additional custom fields to associate with the item
|
|
47
|
+
attr_accessor :item_custom_fields
|
|
48
|
+
|
|
46
49
|
# Set output format to JSON
|
|
47
50
|
attr_accessor :json
|
|
48
51
|
|
|
@@ -112,6 +115,7 @@ module Akeyless
|
|
|
112
115
|
:'delete_protection' => :'delete_protection',
|
|
113
116
|
:'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
|
|
114
117
|
:'fixed_user_only' => :'fixed-user-only',
|
|
118
|
+
:'item_custom_fields' => :'item-custom-fields',
|
|
115
119
|
:'json' => :'json',
|
|
116
120
|
:'name' => :'name',
|
|
117
121
|
:'password_length' => :'password-length',
|
|
@@ -151,6 +155,7 @@ module Akeyless
|
|
|
151
155
|
:'delete_protection' => :'String',
|
|
152
156
|
:'fixed_user_claim_keyname' => :'String',
|
|
153
157
|
:'fixed_user_only' => :'Boolean',
|
|
158
|
+
:'item_custom_fields' => :'Hash<String, String>',
|
|
154
159
|
:'json' => :'Boolean',
|
|
155
160
|
:'name' => :'String',
|
|
156
161
|
:'password_length' => :'String',
|
|
@@ -234,6 +239,12 @@ module Akeyless
|
|
|
234
239
|
self.fixed_user_only = false
|
|
235
240
|
end
|
|
236
241
|
|
|
242
|
+
if attributes.key?(:'item_custom_fields')
|
|
243
|
+
if (value = attributes[:'item_custom_fields']).is_a?(Hash)
|
|
244
|
+
self.item_custom_fields = value
|
|
245
|
+
end
|
|
246
|
+
end
|
|
247
|
+
|
|
237
248
|
if attributes.key?(:'json')
|
|
238
249
|
self.json = attributes[:'json']
|
|
239
250
|
else
|
|
@@ -363,6 +374,7 @@ module Akeyless
|
|
|
363
374
|
delete_protection == o.delete_protection &&
|
|
364
375
|
fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
|
|
365
376
|
fixed_user_only == o.fixed_user_only &&
|
|
377
|
+
item_custom_fields == o.item_custom_fields &&
|
|
366
378
|
json == o.json &&
|
|
367
379
|
name == o.name &&
|
|
368
380
|
password_length == o.password_length &&
|
|
@@ -393,7 +405,7 @@ module Akeyless
|
|
|
393
405
|
# Calculates hash code according to all attributes.
|
|
394
406
|
# @return [Integer] Hash code
|
|
395
407
|
def hash
|
|
396
|
-
[app_obj_id, azure_administrative_unit, azure_client_id, azure_client_secret, azure_tenant_id, custom_username_template, delete_protection, fixed_user_claim_keyname, fixed_user_only, json, name, password_length, producer_encryption_key_name, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_group_obj_id, user_portal_access, user_principal_name, user_programmatic_access, user_role_template_id, user_ttl].hash
|
|
408
|
+
[app_obj_id, azure_administrative_unit, azure_client_id, azure_client_secret, azure_tenant_id, custom_username_template, delete_protection, fixed_user_claim_keyname, fixed_user_only, item_custom_fields, json, name, password_length, producer_encryption_key_name, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_group_obj_id, user_portal_access, user_principal_name, user_programmatic_access, user_role_template_id, user_ttl].hash
|
|
397
409
|
end
|
|
398
410
|
|
|
399
411
|
# Builds the object from hash
|