Package com.courier.services.async.users
Interface PreferenceServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface PreferenceServiceAsync.WithRawResponseA view of PreferenceServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract PreferenceServiceAsync.WithRawResponse 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<HttpResponseFor<PreferenceRetrieveResponse>> retrieve(String userId)
Returns a raw HTTP response for
get /users/{user_id}/preferences, but is otherwise the same as PreferenceServiceAsync.retrieve.
-
retrieve
CompletableFuture<HttpResponseFor<PreferenceRetrieveResponse>> retrieve(String userId, PreferenceRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<PreferenceRetrieveResponse>> retrieve(String userId, PreferenceRetrieveParams params)
-
retrieve
abstract CompletableFuture<HttpResponseFor<PreferenceRetrieveResponse>> retrieve(PreferenceRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<PreferenceRetrieveResponse>> retrieve(PreferenceRetrieveParams params)
-
retrieve
CompletableFuture<HttpResponseFor<PreferenceRetrieveResponse>> retrieve(String userId, RequestOptions requestOptions)
-
retrieveTopic
CompletableFuture<HttpResponseFor<PreferenceRetrieveTopicResponse>> retrieveTopic(String topicId, PreferenceRetrieveTopicParams params)
Returns a raw HTTP response for
get /users/{user_id}/preferences/{topic_id}, but is otherwise the same as PreferenceServiceAsync.retrieveTopic.
-
retrieveTopic
CompletableFuture<HttpResponseFor<PreferenceRetrieveTopicResponse>> retrieveTopic(String topicId, PreferenceRetrieveTopicParams params, RequestOptions requestOptions)
-
retrieveTopic
CompletableFuture<HttpResponseFor<PreferenceRetrieveTopicResponse>> retrieveTopic(PreferenceRetrieveTopicParams params)
-
retrieveTopic
abstract CompletableFuture<HttpResponseFor<PreferenceRetrieveTopicResponse>> retrieveTopic(PreferenceRetrieveTopicParams params, RequestOptions requestOptions)
-
updateOrCreateTopic
CompletableFuture<HttpResponseFor<PreferenceUpdateOrCreateTopicResponse>> updateOrCreateTopic(String topicId, PreferenceUpdateOrCreateTopicParams params)
Returns a raw HTTP response for
put /users/{user_id}/preferences/{topic_id}, but is otherwise the same as PreferenceServiceAsync.updateOrCreateTopic.
-
updateOrCreateTopic
CompletableFuture<HttpResponseFor<PreferenceUpdateOrCreateTopicResponse>> updateOrCreateTopic(String topicId, PreferenceUpdateOrCreateTopicParams params, RequestOptions requestOptions)
-
updateOrCreateTopic
CompletableFuture<HttpResponseFor<PreferenceUpdateOrCreateTopicResponse>> updateOrCreateTopic(PreferenceUpdateOrCreateTopicParams params)
-
updateOrCreateTopic
abstract CompletableFuture<HttpResponseFor<PreferenceUpdateOrCreateTopicResponse>> updateOrCreateTopic(PreferenceUpdateOrCreateTopicParams params, RequestOptions requestOptions)
-
-
-
-