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