Interface AiSecretServiceAsync
-
- All Implemented Interfaces:
public interface AiSecretServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAiSecretServiceAsync.WithRawResponseA view of AiSecretServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract AiSecretServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<AISecret> create(AiSecretCreateParams params)
Create a new ai_secret. If there is an existing ai_secret with the same name as the one specified in the request, will return the existing ai_secret unmodified
-
create
abstract CompletableFuture<AISecret> create(AiSecretCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<AISecret> retrieve(AiSecretRetrieveParams params)
Get an ai_secret object by its id
-
retrieve
abstract CompletableFuture<AISecret> retrieve(AiSecretRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<AISecret> update(AiSecretUpdateParams params)
Partially update an ai_secret object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.
-
update
abstract CompletableFuture<AISecret> update(AiSecretUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<AiSecretListPageAsync> list()
List out all ai_secrets. The ai_secrets are sorted by creation date, with the most recently-created ai_secrets coming first
-
list
abstract CompletableFuture<AiSecretListPageAsync> list(AiSecretListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<AiSecretListPageAsync> list(AiSecretListParams params)
-
list
CompletableFuture<AiSecretListPageAsync> list(RequestOptions requestOptions)
-
delete
CompletableFuture<AISecret> delete(AiSecretDeleteParams params)
Delete an ai_secret object by its id
-
delete
abstract CompletableFuture<AISecret> delete(AiSecretDeleteParams params, RequestOptions requestOptions)
-
findAndDelete
CompletableFuture<AISecret> findAndDelete(AiSecretFindAndDeleteParams params)
Delete a single ai_secret
-
findAndDelete
abstract CompletableFuture<AISecret> findAndDelete(AiSecretFindAndDeleteParams params, RequestOptions requestOptions)
-
replace
CompletableFuture<AISecret> replace(AiSecretReplaceParams params)
Create or replace ai_secret. If there is an existing ai_secret with the same name as the one specified in the request, will replace the existing ai_secret with the provided fields
-
replace
abstract CompletableFuture<AISecret> replace(AiSecretReplaceParams params, RequestOptions requestOptions)
-
-
-
-