Class NotificationApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-12-21T14:56:12.826510019+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<NotificationViewAffiliate> 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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      identifier - The identifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      NotificationViewAffiliate
      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<NotificationViewAffiliate>> markAsReadWithHttpInfo(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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec markAsReadWithResponseSpec(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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public reactor.core.publisher.Mono<RemoveEntryResponseAffiliate> 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

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      identifier - The identifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponseAffiliate
      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<RemoveEntryResponseAffiliate>> removeNotificationWithHttpInfo(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

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeNotificationWithResponseSpec(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

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

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

      public reactor.core.publisher.Mono<NotificationViewAffiliate> 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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      identifier - The identifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      NotificationViewAffiliate
      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<NotificationViewAffiliate>> showNotificationsWithHttpInfo(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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showNotificationsWithResponseSpec(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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public reactor.core.publisher.Flux<NotificationViewAffiliate> 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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<NotificationViewAffiliate>
      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<NotificationViewAffiliate>>> showNotifications1WithHttpInfo(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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showNotifications1WithResponseSpec(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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public reactor.core.publisher.Mono<CountResponseAffiliate> 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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      companyIdentifier - The companyIdentifier parameter
      winkVersion - The winkVersion parameter
      Returns:
      CountResponseAffiliate
      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<CountResponseAffiliate>> showUnreadMessageCountWithHttpInfo(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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showUnreadMessageCountWithResponseSpec(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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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