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