Class ReviewApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<ReviewView>respondToReview(String hotelIdentifier, String reviewIdentifier, ReviewResponse reviewResponse) Respond to Review Respond to a unique review for a hotel identified by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ReviewView>>respondToReviewWithHttpInfo(String hotelIdentifier, String reviewIdentifier, ReviewResponse reviewResponse) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<ReviewView>showReview(String hotelIdentifier, String reviewIdentifier, String accept) Show Review Retrieve a unique review of a hotel identified by its identifierreactor.core.publisher.Mono<CountResponse>showReviewCount(String hotelIdentifier, String accept) Show Review Count Retrieve a count of all reviews for a hotel identified by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CountResponse>>showReviewCountWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<PageReviewView>showReviews(String hotelIdentifier, State state) Show Reviews Retrieve a paginated list of reviews for specified propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageReviewView>>showReviewsWithHttpInfo(String hotelIdentifier, State state) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ReviewView>>showReviewWithHttpInfo(String hotelIdentifier, String reviewIdentifier, String accept)
-
Constructor Details
-
ReviewApi
public ReviewApi() -
ReviewApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
respondToReview
public reactor.core.publisher.Mono<ReviewView> respondToReview(String hotelIdentifier, String reviewIdentifier, ReviewResponse reviewResponse) throws org.springframework.web.reactive.function.client.WebClientResponseException Respond to Review Respond to a unique review for a hotel identified by its identifier503 - 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 identifierreviewIdentifier- Respond to review with this identifierreviewResponse- The reviewResponse parameter- Returns:
- ReviewView
- 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<ReviewView>> respondToReviewWithHttpInfo(String hotelIdentifier, String reviewIdentifier, ReviewResponse reviewResponse) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showReview
public reactor.core.publisher.Mono<ReviewView> showReview(String hotelIdentifier, String reviewIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Review Retrieve a unique review of a hotel identified by its identifier503 - 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 identifierreviewIdentifier- Show review for this identifieraccept- The accept parameter- Returns:
- ReviewView
- 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<ReviewView>> showReviewWithHttpInfo(String hotelIdentifier, String reviewIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showReviewCount
public reactor.core.publisher.Mono<CountResponse> showReviewCount(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Review Count Retrieve a count of all reviews for a hotel identified by its identifier503 - 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 identifieraccept- The accept parameter- Returns:
- CountResponse
- 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<CountResponse>> showReviewCountWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showReviews
public reactor.core.publisher.Mono<PageReviewView> showReviews(String hotelIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Reviews Retrieve a paginated list of reviews for specified property503 - 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 identifierstate- The state parameter- Returns:
- PageReviewView
- 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<PageReviewView>> showReviewsWithHttpInfo(String hotelIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-