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