Interface DraftServiceAsync
-
- All Implemented Interfaces:
public interface DraftServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceDraftServiceAsync.WithRawResponseA view of DraftServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract DraftServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract DraftServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<NotificationGetContent>retrieveContent(String id)CompletableFuture<NotificationGetContent>retrieveContent(String id, DraftRetrieveContentParams params, RequestOptions requestOptions)CompletableFuture<NotificationGetContent>retrieveContent(String id, DraftRetrieveContentParams params)abstract CompletableFuture<NotificationGetContent>retrieveContent(DraftRetrieveContentParams params, RequestOptions requestOptions)CompletableFuture<NotificationGetContent>retrieveContent(DraftRetrieveContentParams params)CompletableFuture<NotificationGetContent>retrieveContent(String id, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract DraftServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract DraftServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieveContent
CompletableFuture<NotificationGetContent> retrieveContent(String id)
-
retrieveContent
CompletableFuture<NotificationGetContent> retrieveContent(String id, DraftRetrieveContentParams params, RequestOptions requestOptions)
-
retrieveContent
CompletableFuture<NotificationGetContent> retrieveContent(String id, DraftRetrieveContentParams params)
-
retrieveContent
abstract CompletableFuture<NotificationGetContent> retrieveContent(DraftRetrieveContentParams params, RequestOptions requestOptions)
-
retrieveContent
CompletableFuture<NotificationGetContent> retrieveContent(DraftRetrieveContentParams params)
-
retrieveContent
CompletableFuture<NotificationGetContent> retrieveContent(String id, RequestOptions requestOptions)
-
-
-
-