Class RawCourierClient
- java.lang.Object
-
- com.chrt.api.resources.notifications.courier.RawCourierClient
-
public class RawCourierClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawCourierClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChrtApiHttpResponse<CourierNotificationPreferences1>getPreferencesV1()Retrieves notification preferences for the caller's courier organization.ChrtApiHttpResponse<CourierNotificationPreferences1>getPreferencesV1(RequestOptions requestOptions)Retrieves notification preferences for the caller's courier organization.ChrtApiHttpResponse<java.lang.String>upsertPreferencesV1(CourierNotificationPreferencesClientCreate1 request)Creates or updates notification preferences for the caller's courier organization.ChrtApiHttpResponse<java.lang.String>upsertPreferencesV1(CourierNotificationPreferencesClientCreate1 request, RequestOptions requestOptions)Creates or updates notification preferences for the caller's courier organization.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawCourierClient
public RawCourierClient(ClientOptions clientOptions)
-
-
Method Detail
-
getPreferencesV1
public ChrtApiHttpResponse<CourierNotificationPreferences1> getPreferencesV1()
Retrieves notification preferences for the caller's courier organization. | () -> (CourierNotificationPreferences1)
-
getPreferencesV1
public ChrtApiHttpResponse<CourierNotificationPreferences1> getPreferencesV1(RequestOptions requestOptions)
Retrieves notification preferences for the caller's courier organization. | () -> (CourierNotificationPreferences1)
-
upsertPreferencesV1
public ChrtApiHttpResponse<java.lang.String> upsertPreferencesV1(CourierNotificationPreferencesClientCreate1 request)
Creates or updates notification preferences for the caller's courier organization. | (CourierNotificationPreferencesClientCreate1) -> (PydanticObjectId)
-
upsertPreferencesV1
public ChrtApiHttpResponse<java.lang.String> upsertPreferencesV1(CourierNotificationPreferencesClientCreate1 request, RequestOptions requestOptions)
Creates or updates notification preferences for the caller's courier organization. | (CourierNotificationPreferencesClientCreate1) -> (PydanticObjectId)
-
-