Class RestaurantApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<RestaurantView>removeMultimedia3(String hotelIdentifier, String restaurantIdentifier, String multimediaIdentifier, String accept) Delete Multimedia Remove media from an existing restaurant.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantView>>removeMultimedia3WithHttpInfo(String hotelIdentifier, String restaurantIdentifier, String multimediaIdentifier, String accept) reactor.core.publisher.Mono<RemoveEntryResponse>removeRestaurant(String hotelIdentifier, String restaurantIdentifier, String accept) Delete Restaurant Remove a restaurant by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeRestaurantWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, String accept) reactor.core.publisher.Mono<RestaurantView>saveRestaurant(String hotelIdentifier, Restaurant restaurant) Create Restaurant Create a new restaurantreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantView>>saveRestaurantWithHttpInfo(String hotelIdentifier, Restaurant restaurant) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<RestaurantView>showRestaurant(String hotelIdentifier, String restaurantIdentifier, String accept) Show Restaurant Retrieve a restaurant by its identifierreactor.core.publisher.Flux<KeyValuePair>showRestaurantPairs(String hotelIdentifier, String accept) Show Reference Pairs Retrieve list of restaurants as key/value pairs (identifier, name)reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showRestaurantPairsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<RestaurantView>showRestaurants(String hotelIdentifier, String accept) Show Restaurants Retrieve list of restaurants for property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RestaurantView>>>showRestaurantsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantView>>showRestaurantWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, String accept) reactor.core.publisher.Mono<RestaurantView>updateRestaurant(String hotelIdentifier, String restaurantIdentifier, Restaurant restaurant) Update Restaurant Update a restaurant by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantView>>updateRestaurantWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, Restaurant restaurant) reactor.core.publisher.Mono<RestaurantView>uploadRestaurantMedia(String hotelIdentifier, String restaurantIdentifier, List<File> files) Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing restaurant.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantView>>uploadRestaurantMediaWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, List<File> files)
-
Constructor Details
-
RestaurantApi
public RestaurantApi() -
RestaurantApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
removeMultimedia3
public reactor.core.publisher.Mono<RestaurantView> removeMultimedia3(String hotelIdentifier, String restaurantIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Multimedia Remove media from an existing restaurant.400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
202 - Accepted
- Parameters:
hotelIdentifier- Remove a media record from an existing restaurant owned by this hotel identifier.restaurantIdentifier- Remove a media record from an existing restaurant identified by this identifier.multimediaIdentifier- Remove a media record with this identifieraccept- The accept parameter- Returns:
- RestaurantView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeMultimedia3WithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantView>> removeMultimedia3WithHttpInfo(String hotelIdentifier, String restaurantIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeRestaurant
public reactor.core.publisher.Mono<RemoveEntryResponse> removeRestaurant(String hotelIdentifier, String restaurantIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Restaurant Remove a restaurant by its identifier400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
202 - Accepted
- Parameters:
hotelIdentifier- Remove restaurant record owned by this hotel identifierrestaurantIdentifier- Remove restaurant record identified by this identifieraccept- The accept parameter- Returns:
- RemoveEntryResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeRestaurantWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeRestaurantWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
saveRestaurant
public reactor.core.publisher.Mono<RestaurantView> saveRestaurant(String hotelIdentifier, Restaurant restaurant) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Restaurant Create a new restaurant400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
201 - Created
- Parameters:
hotelIdentifier- Create a new restaurant record owned by this hotel identifierrestaurant- The restaurant parameter- Returns:
- RestaurantView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
saveRestaurantWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantView>> saveRestaurantWithHttpInfo(String hotelIdentifier, Restaurant restaurant) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showRestaurant
public reactor.core.publisher.Mono<RestaurantView> showRestaurant(String hotelIdentifier, String restaurantIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Restaurant Retrieve a restaurant by its identifier400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show single restaurant owned by this hotel identifierrestaurantIdentifier- Show restaurant record identified by this identifieraccept- The accept parameter- Returns:
- RestaurantView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showRestaurantWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantView>> showRestaurantWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showRestaurantPairs
public reactor.core.publisher.Flux<KeyValuePair> showRestaurantPairs(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Reference Pairs Retrieve list of restaurants as key/value pairs (identifier, name)400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show restaurant pairs owned by this hotel identifieraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showRestaurantPairsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showRestaurantPairsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showRestaurants
public reactor.core.publisher.Flux<RestaurantView> showRestaurants(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Restaurants Retrieve list of restaurants for property.400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show restaurants owned by this hotel identifieraccept- The accept parameter- Returns:
- List<RestaurantView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showRestaurantsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RestaurantView>>> showRestaurantsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateRestaurant
public reactor.core.publisher.Mono<RestaurantView> updateRestaurant(String hotelIdentifier, String restaurantIdentifier, Restaurant restaurant) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Restaurant Update a restaurant by its identifier400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update an existing restaurant record owned by this hotel identifierrestaurantIdentifier- Update an existing restaurant record identified by this identifierrestaurant- The restaurant parameter- Returns:
- RestaurantView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateRestaurantWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantView>> updateRestaurantWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, Restaurant restaurant) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
uploadRestaurantMedia
public reactor.core.publisher.Mono<RestaurantView> uploadRestaurantMedia(String hotelIdentifier, String restaurantIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing restaurant.400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
207 - Multi-Status
- Parameters:
hotelIdentifier- Upload multipart files and associate them with an existing restaurant owned by this hotel identifierrestaurantIdentifier- Upload multipart files and associate them with an existing restaurant with this identifierfiles- The files parameter- Returns:
- RestaurantView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadRestaurantMediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantView>> uploadRestaurantMediaWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-