Class SpaApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<SpaView>deleteMultimedia(String hotelIdentifier, String spaIdentifier, String multimediaIdentifier, String accept) Delete Multimedia Remove media from an existing spa.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaView>>deleteMultimediaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String multimediaIdentifier, String accept) reactor.core.publisher.Mono<RemoveEntryResponse>Delete Spa Delete a spa by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String accept) reactor.core.publisher.Mono<SpaView>Create Spa Create a new spareactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaView>>saveSpaWithHttpInfo(String hotelIdentifier, Spa spa) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<SpaView>Show Spa Retrieve a spa by its identifierreactor.core.publisher.Flux<KeyValuePair>showSpaPairs(String hotelIdentifier, String accept) Show Reference Pairs Retrieve list of spas as key/value pairs (identifier, name)reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showSpaPairsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<SpaView>Show Spas Retrieve list of spas for property.showSpasWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaView>>showSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String accept) reactor.core.publisher.Mono<SpaView>Update Spa Update a spa by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaView>>updateSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, Spa spa) reactor.core.publisher.Mono<SpaView>uploadSpaMedia(String hotelIdentifier, String spaIdentifier, List<File> files) Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing spa.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaView>>uploadSpaMediaWithHttpInfo(String hotelIdentifier, String spaIdentifier, List<File> files)
-
Constructor Details
-
SpaApi
public SpaApi() -
SpaApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
deleteMultimedia
public reactor.core.publisher.Mono<SpaView> deleteMultimedia(String hotelIdentifier, String spaIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Multimedia Remove media from an existing spa.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 spa owned by this hotel identifier.spaIdentifier- Remove a media record from an existing spa identified by this identifier.multimediaIdentifier- Remove a media record with this identifieraccept- The accept parameter- Returns:
- SpaView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
deleteMultimediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaView>> deleteMultimediaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeSpa
public reactor.core.publisher.Mono<RemoveEntryResponse> removeSpa(String hotelIdentifier, String spaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Spa Delete a spa 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 spa record owned by this hotel identifierspaIdentifier- 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
-
removeSpaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
saveSpa
public reactor.core.publisher.Mono<SpaView> saveSpa(String hotelIdentifier, Spa spa) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Spa Create a new spa400 - 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 spa record owned by this hotel identifierspa- The spa parameter- Returns:
- SpaView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
saveSpaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaView>> saveSpaWithHttpInfo(String hotelIdentifier, Spa spa) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showSpa
public reactor.core.publisher.Mono<SpaView> showSpa(String hotelIdentifier, String spaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Spa Retrieve a spa 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 spa owned by this hotel identifierspaIdentifier- Show spa record identified by this identifieraccept- The accept parameter- Returns:
- SpaView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showSpaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaView>> showSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showSpaPairs
public reactor.core.publisher.Flux<KeyValuePair> showSpaPairs(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Reference Pairs Retrieve list of spas 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 spa 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
-
showSpaPairsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showSpaPairsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showSpas
public reactor.core.publisher.Flux<SpaView> showSpas(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Spas Retrieve list of spas 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 spas owned by this hotel identifieraccept- The accept parameter- Returns:
- List<SpaView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showSpasWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SpaView>>> showSpasWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateSpa
public reactor.core.publisher.Mono<SpaView> updateSpa(String hotelIdentifier, String spaIdentifier, Spa spa) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Spa Update a spa 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 spa record owned by this hotel identifierspaIdentifier- Update an existing spa record identified by this identifierspa- The spa parameter- Returns:
- SpaView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateSpaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaView>> updateSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, Spa spa) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
uploadSpaMedia
public reactor.core.publisher.Mono<SpaView> uploadSpaMedia(String hotelIdentifier, String spaIdentifier, 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 spa.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 spa owned by this hotel identifierspaIdentifier- Upload multipart files and associate them with an existing spa with this identifierfiles- The files parameter- Returns:
- SpaView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadSpaMediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaView>> uploadSpaMediaWithHttpInfo(String hotelIdentifier, String spaIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-