Class AsyncCourierClient


  • public class AsyncCourierClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncCourierClient

        public AsyncCourierClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public AsyncRawCourierClient withRawResponse()
        Get responses with HTTP metadata like headers
      • getPreferencesV1

        public java.util.concurrent.CompletableFuture<CourierNotificationPreferences1> getPreferencesV1()
        Retrieves notification preferences for the caller's courier organization. | () -> (CourierNotificationPreferences1)
      • getPreferencesV1

        public java.util.concurrent.CompletableFuture<CourierNotificationPreferences1> getPreferencesV1​(RequestOptions requestOptions)
        Retrieves notification preferences for the caller's courier organization. | () -> (CourierNotificationPreferences1)
      • upsertPreferencesV1

        public java.util.concurrent.CompletableFuture<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<java.lang.String> upsertPreferencesV1​(CourierNotificationPreferencesClientCreate1 request,
                                                                                            RequestOptions requestOptions)
        Creates or updates notification preferences for the caller's courier organization. | (CourierNotificationPreferencesClientCreate1) -> (PydanticObjectId)