Package com.courier.services.async.users
Class TokenServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.courier.services.async.users.TokenServiceAsync
public final class TokenServiceAsyncImpl implements TokenServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTokenServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description TokenServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. TokenServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<TokenRetrieveResponse>retrieve(TokenRetrieveParams params, RequestOptions requestOptions)CompletableFuture<Void>update(TokenUpdateParams params, RequestOptions requestOptions)CompletableFuture<TokenListResponse>list(TokenListParams params, RequestOptions requestOptions)CompletableFuture<Void>delete(TokenDeleteParams params, RequestOptions requestOptions)CompletableFuture<Void>addMultiple(TokenAddMultipleParams params, RequestOptions requestOptions)CompletableFuture<Void>addSingle(TokenAddSingleParams params, RequestOptions requestOptions)-
Methods inherited from class com.courier.services.async.users.TokenServiceAsync
addMultiple, addMultiple, addMultiple, addMultiple, addMultiple, addSingle, addSingle, addSingle, delete, delete, delete, list, list, list, list, list, retrieve, retrieve, retrieve, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
TokenServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
TokenServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<TokenRetrieveResponse> retrieve(TokenRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Void> update(TokenUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<TokenListResponse> list(TokenListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(TokenDeleteParams params, RequestOptions requestOptions)
-
addMultiple
CompletableFuture<Void> addMultiple(TokenAddMultipleParams params, RequestOptions requestOptions)
-
addSingle
CompletableFuture<Void> addSingle(TokenAddSingleParams params, RequestOptions requestOptions)
-
-
-
-