Class PlaceApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<RefPointView>createPlace(String hotelIdentifier, UpsertPlaceRequest upsertPlaceRequest) Create Place Create a new place.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>>createPlaceWithHttpInfo(String hotelIdentifier, UpsertPlaceRequest upsertPlaceRequest) reactor.core.publisher.Mono<RemoveEntryResponse>removePlace(String hotelIdentifier, String placeIdentifier, String accept) Delete Place Delete a place by its identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removePlaceWithHttpInfo(String hotelIdentifier, String placeIdentifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<RefPointView>Show Place Retrieve a place by its identifier.reactor.core.publisher.Flux<KeyValuePair>showPlacePairs(String hotelIdentifier, String accept) Show Reference Pairs Retrieve list of places as key/value pairs (identifier, name)reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showPlacePairsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<RefPointView>showPlaces(String hotelIdentifier, String accept) Show Places Retrieve list of places for property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RefPointView>>>showPlacesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>>showPlaceWithHttpInfo(String hotelIdentifier, String placeIdentifier, String accept) reactor.core.publisher.Mono<RefPointView>updatePlace(String hotelIdentifier, String placeIdentifier, UpsertPlaceRequest upsertPlaceRequest) Update Place Update a place by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>>updatePlaceWithHttpInfo(String hotelIdentifier, String placeIdentifier, UpsertPlaceRequest upsertPlaceRequest) reactor.core.publisher.Mono<RefPointView>uploadPlaceMedia(String hotelIdentifier, String placeIdentifier, List<File> files) Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing place.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>>uploadPlaceMediaWithHttpInfo(String hotelIdentifier, String placeIdentifier, List<File> files)
-
Constructor Details
-
PlaceApi
public PlaceApi() -
PlaceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createPlace
public reactor.core.publisher.Mono<RefPointView> createPlace(String hotelIdentifier, UpsertPlaceRequest upsertPlaceRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Place Create a new place.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
201 - Created
- Parameters:
hotelIdentifier- Create a new place record owned by this hotel identifierupsertPlaceRequest- The upsertPlaceRequest parameter- Returns:
- RefPointView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createPlaceWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>> createPlaceWithHttpInfo(String hotelIdentifier, UpsertPlaceRequest upsertPlaceRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removePlace
public reactor.core.publisher.Mono<RemoveEntryResponse> removePlace(String hotelIdentifier, String placeIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Place Delete a place 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
202 - Accepted
- Parameters:
hotelIdentifier- Remove place record owned by this hotel identifierplaceIdentifier- Remove place 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
-
removePlaceWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removePlaceWithHttpInfo(String hotelIdentifier, String placeIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showPlace
public reactor.core.publisher.Mono<RefPointView> showPlace(String hotelIdentifier, String placeIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Place Retrieve a place 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 single place owned by this hotel identifierplaceIdentifier- Show place record identified by this identifieraccept- The accept parameter- Returns:
- RefPointView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPlaceWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>> showPlaceWithHttpInfo(String hotelIdentifier, String placeIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showPlacePairs
public reactor.core.publisher.Flux<KeyValuePair> showPlacePairs(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Reference Pairs Retrieve list of places as key/value pairs (identifier, name)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 place 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
-
showPlacePairsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showPlacePairsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showPlaces
public reactor.core.publisher.Flux<RefPointView> showPlaces(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Places Retrieve list of places for 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 places owned by this hotel identifieraccept- The accept parameter- Returns:
- List<RefPointView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPlacesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RefPointView>>> showPlacesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updatePlace
public reactor.core.publisher.Mono<RefPointView> updatePlace(String hotelIdentifier, String placeIdentifier, UpsertPlaceRequest upsertPlaceRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Place Update a place 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- Update an existing place record owned by this hotel identifierplaceIdentifier- Update an existing place record identified by this identifierupsertPlaceRequest- The upsertPlaceRequest parameter- Returns:
- RefPointView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updatePlaceWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>> updatePlaceWithHttpInfo(String hotelIdentifier, String placeIdentifier, UpsertPlaceRequest upsertPlaceRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
uploadPlaceMedia
public reactor.core.publisher.Mono<RefPointView> uploadPlaceMedia(String hotelIdentifier, String placeIdentifier, 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 place.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
207 - Multi-Status
- Parameters:
hotelIdentifier- Upload multipart files and associate them with an existing place owned by this hotel identifierplaceIdentifier- Upload multipart files and associate them with an existing place with this identifierfiles- The files parameter- Returns:
- RefPointView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadPlaceMediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>> uploadPlaceMediaWithHttpInfo(String hotelIdentifier, String placeIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-