Interface ApiKeyService
-
- All Implemented Interfaces:
public interface ApiKeyService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceApiKeyService.WithRawResponseA view of ApiKeyService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract ApiKeyService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. CreateApiKeyOutputcreate(ApiKeyCreateParams params)Create a new api_key. abstract CreateApiKeyOutputcreate(ApiKeyCreateParams params, RequestOptions requestOptions)ApiKeyretrieve(ApiKeyRetrieveParams params)Get an api_key object by its id abstract ApiKeyretrieve(ApiKeyRetrieveParams params, RequestOptions requestOptions)ApiKeyListPagelist()List out all api_keys. abstract ApiKeyListPagelist(ApiKeyListParams params, RequestOptions requestOptions)ApiKeyListPagelist(ApiKeyListParams params)ApiKeyListPagelist(RequestOptions requestOptions)ApiKeydelete(ApiKeyDeleteParams params)Delete an api_key object by its id abstract ApiKeydelete(ApiKeyDeleteParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract ApiKeyService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CreateApiKeyOutput create(ApiKeyCreateParams params)
Create a new api_key. It is possible to have multiple API keys with the same name. There is no de-duplication
-
create
abstract CreateApiKeyOutput create(ApiKeyCreateParams params, RequestOptions requestOptions)
-
retrieve
ApiKey retrieve(ApiKeyRetrieveParams params)
Get an api_key object by its id
-
retrieve
abstract ApiKey retrieve(ApiKeyRetrieveParams params, RequestOptions requestOptions)
-
list
ApiKeyListPage list()
List out all api_keys. The api_keys are sorted by creation date, with the most recently-created api_keys coming first
-
list
abstract ApiKeyListPage list(ApiKeyListParams params, RequestOptions requestOptions)
-
list
ApiKeyListPage list(ApiKeyListParams params)
-
list
ApiKeyListPage list(RequestOptions requestOptions)
-
delete
ApiKey delete(ApiKeyDeleteParams params)
Delete an api_key object by its id
-
delete
abstract ApiKey delete(ApiKeyDeleteParams params, RequestOptions requestOptions)
-
-
-
-