Class AsyncUserPreferencesClient
- java.lang.Object
-
- com.chrt.api.resources.notifications.userpreferences.AsyncUserPreferencesClient
-
public class AsyncUserPreferencesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncUserPreferencesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<NotificationUserPreferences1>createV1()Creates a new notification preferences record for the caller.java.util.concurrent.CompletableFuture<NotificationUserPreferences1>createV1(RequestOptions requestOptions)Creates a new notification preferences record for the caller.java.util.concurrent.CompletableFuture<NotificationUserPreferences1>getV1()Retrieves the caller's notification preferences.java.util.concurrent.CompletableFuture<NotificationUserPreferences1>getV1(RequestOptions requestOptions)Retrieves the caller's notification preferences.java.util.concurrent.CompletableFuture<NotificationUserPreferences1>updateV1()Updates notification preferences with explicit events, opt-in, or opt-out operations.java.util.concurrent.CompletableFuture<NotificationUserPreferences1>updateV1(UserNotificationPreferencesUpdateRequest request)Updates notification preferences with explicit events, opt-in, or opt-out operations.java.util.concurrent.CompletableFuture<NotificationUserPreferences1>updateV1(UserNotificationPreferencesUpdateRequest request, RequestOptions requestOptions)Updates notification preferences with explicit events, opt-in, or opt-out operations.AsyncRawUserPreferencesClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncUserPreferencesClient
public AsyncUserPreferencesClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawUserPreferencesClient withRawResponse()
Get responses with HTTP metadata like headers
-
getV1
public java.util.concurrent.CompletableFuture<NotificationUserPreferences1> getV1()
Retrieves the caller's notification preferences. | () -> (NotificationUserPreferences1)
-
getV1
public java.util.concurrent.CompletableFuture<NotificationUserPreferences1> getV1(RequestOptions requestOptions)
Retrieves the caller's notification preferences. | () -> (NotificationUserPreferences1)
-
createV1
public java.util.concurrent.CompletableFuture<NotificationUserPreferences1> createV1()
Creates a new notification preferences record for the caller. Returns existing preferences if already created. | () -> (NotificationUserPreferences1)
-
createV1
public java.util.concurrent.CompletableFuture<NotificationUserPreferences1> createV1(RequestOptions requestOptions)
Creates a new notification preferences record for the caller. Returns existing preferences if already created. | () -> (NotificationUserPreferences1)
-
updateV1
public java.util.concurrent.CompletableFuture<NotificationUserPreferences1> updateV1()
Updates notification preferences with explicit events, opt-in, or opt-out operations. | (UserNotificationPreferencesUpdateRequest) -> (NotificationUserPreferences1)
-
updateV1
public java.util.concurrent.CompletableFuture<NotificationUserPreferences1> updateV1(UserNotificationPreferencesUpdateRequest request)
Updates notification preferences with explicit events, opt-in, or opt-out operations. | (UserNotificationPreferencesUpdateRequest) -> (NotificationUserPreferences1)
-
updateV1
public java.util.concurrent.CompletableFuture<NotificationUserPreferences1> updateV1(UserNotificationPreferencesUpdateRequest request, RequestOptions requestOptions)
Updates notification preferences with explicit events, opt-in, or opt-out operations. | (UserNotificationPreferencesUpdateRequest) -> (NotificationUserPreferences1)
-
-