Package com.courier.services.async
Interface ListServiceAsync
-
- All Implemented Interfaces:
public interface ListServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceListServiceAsync.WithRawResponseA view of ListServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ListServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract 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
abstract SubscriptionServiceAsync subscriptions()
-
retrieve
CompletableFuture<SubscriptionList> retrieve(String listId)
Returns a list based on the list ID provided.
-
retrieve
CompletableFuture<SubscriptionList> retrieve(String listId, ListRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<SubscriptionList> retrieve(String listId, ListRetrieveParams params)
-
retrieve
abstract CompletableFuture<SubscriptionList> retrieve(ListRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<SubscriptionList> retrieve(ListRetrieveParams params)
-
retrieve
CompletableFuture<SubscriptionList> retrieve(String listId, RequestOptions requestOptions)
-
update
CompletableFuture<Void> update(String listId, ListUpdateParams params)
Create or replace an existing list with the supplied values.
-
update
CompletableFuture<Void> update(String listId, ListUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Void> update(ListUpdateParams params)
-
update
abstract CompletableFuture<Void> update(ListUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ListListResponse> list()
Returns all of the lists, with the ability to filter based on a pattern.
-
list
abstract CompletableFuture<ListListResponse> list(ListListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ListListResponse> list(ListListParams params)
-
list
CompletableFuture<ListListResponse> list(RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(String listId)
Delete a list by list ID.
-
delete
CompletableFuture<Void> delete(String listId, ListDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(String listId, ListDeleteParams params)
-
delete
abstract CompletableFuture<Void> delete(ListDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(ListDeleteParams params)
-
delete
CompletableFuture<Void> delete(String listId, RequestOptions requestOptions)
-
restore
CompletableFuture<Void> restore(String listId, ListRestoreParams params)
Restore a previously deleted list.
-
restore
CompletableFuture<Void> restore(String listId, ListRestoreParams params, RequestOptions requestOptions)
-
restore
CompletableFuture<Void> restore(ListRestoreParams params)
-
restore
abstract CompletableFuture<Void> restore(ListRestoreParams params, RequestOptions requestOptions)
-
-
-
-