Class NotificationApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-20T21:56:24.013599+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)
    • removeHotelInternalMessageView

      public reactor.core.publisher.Mono<RemoveEntryResponse> removeHotelInternalMessageView(String hotelIdentifier, String hotelInternalMessageIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete hotel internal message Remove internal message by id

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      202 - Accepted

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      hotelInternalMessageIdentifier - The hotelInternalMessageIdentifier parameter
      accept - The accept parameter
      Returns:
      RemoveEntryResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeHotelInternalMessageViewWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeHotelInternalMessageViewWithHttpInfo(String hotelIdentifier, String hotelInternalMessageIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showHotelInternalMessage

      public reactor.core.publisher.Mono<HotelInternalMessageView> showHotelInternalMessage(String hotelIdentifier, String hotelInternalMessageIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel internal message Retrieve internal messages for a specific hotel by id

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      hotelInternalMessageIdentifier - The hotelInternalMessageIdentifier parameter
      accept - The accept parameter
      Returns:
      HotelInternalMessageView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showHotelInternalMessageWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelInternalMessageView>> showHotelInternalMessageWithHttpInfo(String hotelIdentifier, String hotelInternalMessageIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showHotelInternalMessages

      public reactor.core.publisher.Flux<HotelInternalMessageView> showHotelInternalMessages(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel internal messages Retrieve all the internal messages for this hotel

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      accept - The accept parameter
      Returns:
      List<HotelInternalMessageView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showHotelInternalMessagesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<HotelInternalMessageView>>> showHotelInternalMessagesWithHttpInfo(String hotelIdentifier, String accept) 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 hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show unread message count Retrieve count of unread messages

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      accept - The accept 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 hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateHotelInternalMessage

      public reactor.core.publisher.Mono<HotelInternalMessageView> updateHotelInternalMessage(String hotelIdentifier, String hotelInternalMessageIdentifier, HotelInternalMessage hotelInternalMessage) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update hotel internal message Update internal message by id

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      hotelInternalMessageIdentifier - The hotelInternalMessageIdentifier parameter
      hotelInternalMessage - The hotelInternalMessage parameter
      Returns:
      HotelInternalMessageView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateHotelInternalMessageWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelInternalMessageView>> updateHotelInternalMessageWithHttpInfo(String hotelIdentifier, String hotelInternalMessageIdentifier, HotelInternalMessage hotelInternalMessage) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException