Class PreferenceServiceImpl
-
- All Implemented Interfaces:
-
com.courier.services.blocking.users.PreferenceService
public final class PreferenceServiceImpl implements PreferenceService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPreferenceServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description PreferenceService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. PreferenceServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. PreferenceRetrieveResponseretrieve(PreferenceRetrieveParams params, RequestOptions requestOptions)PreferenceRetrieveTopicResponseretrieveTopic(PreferenceRetrieveTopicParams params, RequestOptions requestOptions)PreferenceUpdateOrCreateTopicResponseupdateOrCreateTopic(PreferenceUpdateOrCreateTopicParams params, RequestOptions requestOptions)-
Methods inherited from class com.courier.services.blocking.users.PreferenceService
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
PreferenceService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
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(PreferenceRetrieveParams params, RequestOptions requestOptions)
-
retrieveTopic
PreferenceRetrieveTopicResponse retrieveTopic(PreferenceRetrieveTopicParams params, RequestOptions requestOptions)
-
updateOrCreateTopic
PreferenceUpdateOrCreateTopicResponse updateOrCreateTopic(PreferenceUpdateOrCreateTopicParams params, RequestOptions requestOptions)
-
-
-
-