Package com.courier.services.async.users
Class PreferenceServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.courier.services.async.users.PreferenceServiceAsync
public final class PreferenceServiceAsyncImpl implements PreferenceServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPreferenceServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description PreferenceServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. PreferenceServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<PreferenceRetrieveResponse>retrieve(PreferenceRetrieveParams params, RequestOptions requestOptions)CompletableFuture<PreferenceRetrieveTopicResponse>retrieveTopic(PreferenceRetrieveTopicParams params, RequestOptions requestOptions)CompletableFuture<PreferenceUpdateOrCreateTopicResponse>updateOrCreateTopic(PreferenceUpdateOrCreateTopicParams params, RequestOptions requestOptions)-
Methods inherited from class com.courier.services.async.users.PreferenceServiceAsync
retrieve, retrieve, retrieve, retrieve, retrieve, retrieveTopic, retrieveTopic, retrieveTopic, updateOrCreateTopic, updateOrCreateTopic, updateOrCreateTopic -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
PreferenceServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
PreferenceServiceAsync 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<PreferenceRetrieveResponse> retrieve(PreferenceRetrieveParams params, RequestOptions requestOptions)
-
retrieveTopic
CompletableFuture<PreferenceRetrieveTopicResponse> retrieveTopic(PreferenceRetrieveTopicParams params, RequestOptions requestOptions)
-
updateOrCreateTopic
CompletableFuture<PreferenceUpdateOrCreateTopicResponse> updateOrCreateTopic(PreferenceUpdateOrCreateTopicParams params, RequestOptions requestOptions)
-
-
-
-