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