Package com.courier.services.async.users
Interface PreferenceServiceAsync
-
- All Implemented Interfaces:
public interface PreferenceServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePreferenceServiceAsync.WithRawResponseA view of PreferenceServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract PreferenceServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract 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(String userId)
Fetch all user preferences.
-
retrieve
CompletableFuture<PreferenceRetrieveResponse> retrieve(String userId, PreferenceRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<PreferenceRetrieveResponse> retrieve(String userId, PreferenceRetrieveParams params)
-
retrieve
abstract CompletableFuture<PreferenceRetrieveResponse> retrieve(PreferenceRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<PreferenceRetrieveResponse> retrieve(PreferenceRetrieveParams params)
-
retrieve
CompletableFuture<PreferenceRetrieveResponse> retrieve(String userId, RequestOptions requestOptions)
-
retrieveTopic
CompletableFuture<PreferenceRetrieveTopicResponse> retrieveTopic(String topicId, PreferenceRetrieveTopicParams params)
Fetch user preferences for a specific subscription topic.
-
retrieveTopic
CompletableFuture<PreferenceRetrieveTopicResponse> retrieveTopic(String topicId, PreferenceRetrieveTopicParams params, RequestOptions requestOptions)
-
retrieveTopic
CompletableFuture<PreferenceRetrieveTopicResponse> retrieveTopic(PreferenceRetrieveTopicParams params)
-
retrieveTopic
abstract CompletableFuture<PreferenceRetrieveTopicResponse> retrieveTopic(PreferenceRetrieveTopicParams params, RequestOptions requestOptions)
-
updateOrCreateTopic
CompletableFuture<PreferenceUpdateOrCreateTopicResponse> updateOrCreateTopic(String topicId, PreferenceUpdateOrCreateTopicParams params)
Update or Create user preferences for a specific subscription topic.
-
updateOrCreateTopic
CompletableFuture<PreferenceUpdateOrCreateTopicResponse> updateOrCreateTopic(String topicId, PreferenceUpdateOrCreateTopicParams params, RequestOptions requestOptions)
-
updateOrCreateTopic
CompletableFuture<PreferenceUpdateOrCreateTopicResponse> updateOrCreateTopic(PreferenceUpdateOrCreateTopicParams params)
-
updateOrCreateTopic
abstract CompletableFuture<PreferenceUpdateOrCreateTopicResponse> updateOrCreateTopic(PreferenceUpdateOrCreateTopicParams params, RequestOptions requestOptions)
-
-
-
-