Interface AiSecretService
-
- All Implemented Interfaces:
public interface AiSecretService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAiSecretService.WithRawResponseA view of AiSecretService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract AiSecretService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
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 AISecret create(AiSecretCreateParams params, RequestOptions requestOptions)
-
retrieve
AISecret retrieve(AiSecretRetrieveParams params)
Get an ai_secret object by its id
-
retrieve
abstract AISecret retrieve(AiSecretRetrieveParams params, RequestOptions requestOptions)
-
update
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 AISecret update(AiSecretUpdateParams params, RequestOptions requestOptions)
-
list
AiSecretListPage 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 AiSecretListPage list(AiSecretListParams params, RequestOptions requestOptions)
-
list
AiSecretListPage list(AiSecretListParams params)
-
list
AiSecretListPage list(RequestOptions requestOptions)
-
delete
AISecret delete(AiSecretDeleteParams params)
Delete an ai_secret object by its id
-
delete
abstract AISecret delete(AiSecretDeleteParams params, RequestOptions requestOptions)
-
findAndDelete
AISecret findAndDelete(AiSecretFindAndDeleteParams params)
Delete a single ai_secret
-
findAndDelete
abstract AISecret findAndDelete(AiSecretFindAndDeleteParams params, RequestOptions requestOptions)
-
replace
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 AISecret replace(AiSecretReplaceParams params, RequestOptions requestOptions)
-
-
-
-