Class NotificationApi

java.lang.Object
travel.wink.sdk.affiliate.api.NotificationApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-08T09:35:16.430198433+07:00[Asia/Bangkok]") public class NotificationApi extends Object
  • Constructor Details

    • NotificationApi

      public NotificationApi()
    • NotificationApi

      @Autowired public NotificationApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • markAsRead

      public reactor.core.publisher.Mono<NotificationView> markAsRead(String companyIdentifier, String identifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Mark as read Mark notification as read.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      identifier - The identifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      NotificationView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • markAsReadWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<NotificationView>> markAsReadWithHttpInfo(String companyIdentifier, String identifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeNotification

      public reactor.core.publisher.Mono<RemoveEntryResponse> removeNotification(String companyIdentifier, String identifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete notification Remove notification specified by its identifier.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      identifier - The identifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeNotificationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeNotificationWithHttpInfo(String companyIdentifier, String identifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showNotifications

      public reactor.core.publisher.Mono<NotificationView> showNotifications(String companyIdentifier, String identifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show notification Retrieve messages for a specific company by id

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      identifier - The identifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      NotificationView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotificationsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<NotificationView>> showNotificationsWithHttpInfo(String companyIdentifier, String identifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showNotifications1

      public reactor.core.publisher.Flux<NotificationView> showNotifications1(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show notifications Retrieve all the messages for this company

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<NotificationView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotifications1WithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<NotificationView>>> showNotifications1WithHttpInfo(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showUnreadMessageCount

      public reactor.core.publisher.Mono<CountResponse> showUnreadMessageCount(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unread message count Retrieve count of unread messages

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      CountResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUnreadMessageCountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CountResponse>> showUnreadMessageCountWithHttpInfo(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException