Interface PreferenceService
-
- All Implemented Interfaces:
public interface PreferenceService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePreferenceService.WithRawResponseA view of PreferenceService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract PreferenceService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract PreferenceService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
PreferenceRetrieveResponse retrieve(String userId)
Fetch all user preferences.
-
retrieve
PreferenceRetrieveResponse retrieve(String userId, PreferenceRetrieveParams params, RequestOptions requestOptions)
-
retrieve
PreferenceRetrieveResponse retrieve(String userId, PreferenceRetrieveParams params)
-
retrieve
abstract PreferenceRetrieveResponse retrieve(PreferenceRetrieveParams params, RequestOptions requestOptions)
-
retrieve
PreferenceRetrieveResponse retrieve(PreferenceRetrieveParams params)
-
retrieve
PreferenceRetrieveResponse retrieve(String userId, RequestOptions requestOptions)
-
retrieveTopic
PreferenceRetrieveTopicResponse retrieveTopic(String topicId, PreferenceRetrieveTopicParams params)
Fetch user preferences for a specific subscription topic.
-
retrieveTopic
PreferenceRetrieveTopicResponse retrieveTopic(String topicId, PreferenceRetrieveTopicParams params, RequestOptions requestOptions)
-
retrieveTopic
PreferenceRetrieveTopicResponse retrieveTopic(PreferenceRetrieveTopicParams params)
-
retrieveTopic
abstract PreferenceRetrieveTopicResponse retrieveTopic(PreferenceRetrieveTopicParams params, RequestOptions requestOptions)
-
updateOrCreateTopic
PreferenceUpdateOrCreateTopicResponse updateOrCreateTopic(String topicId, PreferenceUpdateOrCreateTopicParams params)
Update or Create user preferences for a specific subscription topic.
-
updateOrCreateTopic
PreferenceUpdateOrCreateTopicResponse updateOrCreateTopic(String topicId, PreferenceUpdateOrCreateTopicParams params, RequestOptions requestOptions)
-
updateOrCreateTopic
PreferenceUpdateOrCreateTopicResponse updateOrCreateTopic(PreferenceUpdateOrCreateTopicParams params)
-
updateOrCreateTopic
abstract PreferenceUpdateOrCreateTopicResponse updateOrCreateTopic(PreferenceUpdateOrCreateTopicParams params, RequestOptions requestOptions)
-
-
-
-