Class ListServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.courier.services.async.profiles.ListServiceAsync
public final class ListServiceAsyncImpl implements ListServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classListServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ListServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. ListServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<ListRetrieveResponse>retrieve(ListRetrieveParams params, RequestOptions requestOptions)CompletableFuture<ListDeleteResponse>delete(ListDeleteParams params, RequestOptions requestOptions)CompletableFuture<ListSubscribeResponse>subscribe(ListSubscribeParams params, RequestOptions requestOptions)-
Methods inherited from class com.courier.services.async.profiles.ListServiceAsync
delete, delete, delete, delete, delete, retrieve, retrieve, retrieve, retrieve, retrieve, subscribe, subscribe, subscribe -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
ListServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ListServiceAsync 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<ListRetrieveResponse> retrieve(ListRetrieveParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<ListDeleteResponse> delete(ListDeleteParams params, RequestOptions requestOptions)
-
subscribe
CompletableFuture<ListSubscribeResponse> subscribe(ListSubscribeParams params, RequestOptions requestOptions)
-
-
-
-