Class ReviewApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-10T10:48:44.479471290+07:00[Asia/Bangkok]") public class ReviewApi extends Object
  • Constructor Details

    • ReviewApi

      public ReviewApi()
    • ReviewApi

      @Autowired public ReviewApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • respondToReview

      public reactor.core.publisher.Mono<ReviewViewSupplier> respondToReview(String hotelIdentifier, String reviewIdentifier, ReviewResponseSupplier reviewResponseSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Respond to Review Respond to a unique review for a hotel identified 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

      200 - OK

      Parameters:
      hotelIdentifier - Respond to review given hotel with this identifier
      reviewIdentifier - Respond to review with this identifier
      reviewResponseSupplier - The reviewResponseSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ReviewViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • respondToReviewWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ReviewViewSupplier>> respondToReviewWithHttpInfo(String hotelIdentifier, String reviewIdentifier, ReviewResponseSupplier reviewResponseSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showReview

      public reactor.core.publisher.Mono<ReviewViewSupplier> showReview(String hotelIdentifier, String reviewIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Review Retrieve a unique review of a hotel identified 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

      200 - OK

      Parameters:
      hotelIdentifier - Show review given to hotel with this identifier
      reviewIdentifier - Show review for this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ReviewViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showReviewWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ReviewViewSupplier>> showReviewWithHttpInfo(String hotelIdentifier, String reviewIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showReviewCount

      public reactor.core.publisher.Mono<CountResponseSupplier> showReviewCount(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Review Count Retrieve a count of all reviews for a hotel identified 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

      200 - OK

      Parameters:
      hotelIdentifier - Show review count for hotel with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      CountResponseSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showReviewCountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CountResponseSupplier>> showReviewCountWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showReviews

      public reactor.core.publisher.Mono<PageReviewViewSupplier> showReviews(String hotelIdentifier, StateSupplier stateSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Reviews Retrieve a paginated list of reviews for specified property

      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:
      hotelIdentifier - Show reviews for hotel with this identifier
      stateSupplier - The stateSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      PageReviewViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showReviewsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageReviewViewSupplier>> showReviewsWithHttpInfo(String hotelIdentifier, StateSupplier stateSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException