Package com.courier.services.async
Class ListServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.courier.services.async.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. SubscriptionServiceAsyncsubscriptions()CompletableFuture<SubscriptionList>retrieve(ListRetrieveParams params, RequestOptions requestOptions)CompletableFuture<Void>update(ListUpdateParams params, RequestOptions requestOptions)CompletableFuture<ListListResponse>list(ListListParams params, RequestOptions requestOptions)CompletableFuture<Void>delete(ListDeleteParams params, RequestOptions requestOptions)CompletableFuture<Void>restore(ListRestoreParams params, RequestOptions requestOptions)-
Methods inherited from class com.courier.services.async.ListServiceAsync
delete, delete, delete, delete, delete, list, list, list, restore, restore, restore, retrieve, retrieve, 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
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.
-
subscriptions
SubscriptionServiceAsync subscriptions()
-
retrieve
CompletableFuture<SubscriptionList> retrieve(ListRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Void> update(ListUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ListListResponse> list(ListListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(ListDeleteParams params, RequestOptions requestOptions)
-
restore
CompletableFuture<Void> restore(ListRestoreParams params, RequestOptions requestOptions)
-
-
-
-