Class GuestRoomApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<GuestRoomView>createGuestRoom(String hotelIdentifier, UpsertGuestRoomRequest upsertGuestRoomRequest) Create Guest Room create a new room typereactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>>createGuestRoomWithHttpInfo(String hotelIdentifier, UpsertGuestRoomRequest upsertGuestRoomRequest) reactor.core.publisher.Mono<GuestRoomView>duplicateGuestRoom(String hotelIdentifier, String guestRoomIdentifier) Duplicate Guest Room Create a new duplicate of a room by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>>duplicateGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier) reactor.core.publisher.Mono<GuestRoomRemovableResponse>removableGuestRoom(String hotelIdentifier, String guestRoomIdentifier, String accept) Show Guest Room is Removable Check if a room is removable by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomRemovableResponse>>removableGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String accept) reactor.core.publisher.Mono<RemoveEntryResponse>removeGuestRoom(String hotelIdentifier, String guestRoomIdentifier, String accept) Delete Guest Room Remove a room by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String accept) reactor.core.publisher.Mono<GuestRoomView>removeMultimedia2(String hotelIdentifier, String guestRoomIdentifier, String multimediaIdentifier, String accept) Delete Guest Room's Multimedia Remove a room's video or image by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>>removeMultimedia2WithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String multimediaIdentifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<GuestRoomView>showGuestRoom(String hotelIdentifier, String guestRoomIdentifier, String accept) Show Guest Room Retrieve a room type by its identifierreactor.core.publisher.Flux<GuestRoomView>showGuestRooms(String hotelIdentifier, String accept) Show Guest Rooms Retrieve list of roomsreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<GuestRoomView>>>showGuestRoomsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>>showGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String accept) reactor.core.publisher.Mono<GuestRoomView>updateGuestRoom(String hotelIdentifier, String guestRoomIdentifier, UpsertGuestRoomRequest upsertGuestRoomRequest) Update Guest Room Update a room by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>>updateGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, UpsertGuestRoomRequest upsertGuestRoomRequest) reactor.core.publisher.Mono<GuestRoomView>uploadGuestRoomMedia(String hotelIdentifier, String guestRoomIdentifier, List<File> files) Add Multimedia to Room Uploads a videos and/or images to a room identified by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>>uploadGuestRoomMediaWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, List<File> files)
-
Constructor Details
-
GuestRoomApi
public GuestRoomApi() -
GuestRoomApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createGuestRoom
public reactor.core.publisher.Mono<GuestRoomView> createGuestRoom(String hotelIdentifier, UpsertGuestRoomRequest upsertGuestRoomRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Guest Room create a new room type405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
201 - Created
- Parameters:
hotelIdentifier- Create room type owned by this hotel identifierupsertGuestRoomRequest- The upsertGuestRoomRequest parameter- Returns:
- GuestRoomView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createGuestRoomWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>> createGuestRoomWithHttpInfo(String hotelIdentifier, UpsertGuestRoomRequest upsertGuestRoomRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
duplicateGuestRoom
public reactor.core.publisher.Mono<GuestRoomView> duplicateGuestRoom(String hotelIdentifier, String guestRoomIdentifier) throws org.springframework.web.reactive.function.client.WebClientResponseException Duplicate Guest Room Create a new duplicate of a room by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
201 - Created
- Parameters:
hotelIdentifier- Duplicate room type owned by this hotel identifierguestRoomIdentifier- Duplicate room type with this identifier- Returns:
- GuestRoomView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
duplicateGuestRoomWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>> duplicateGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removableGuestRoom
public reactor.core.publisher.Mono<GuestRoomRemovableResponse> removableGuestRoom(String hotelIdentifier, String guestRoomIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Guest Room is Removable Check if a room is removable by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Verify if room type owned by this hotel identifier is removableguestRoomIdentifier- Verify if room type with this identifier is removableaccept- The accept parameter- Returns:
- GuestRoomRemovableResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removableGuestRoomWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomRemovableResponse>> removableGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeGuestRoom
public reactor.core.publisher.Mono<RemoveEntryResponse> removeGuestRoom(String hotelIdentifier, String guestRoomIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Guest Room Remove a room by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
202 - Accepted
- Parameters:
hotelIdentifier- Remove room type owned by this hotel identifierguestRoomIdentifier- Remove room type with 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
-
removeGuestRoomWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeMultimedia2
public reactor.core.publisher.Mono<GuestRoomView> removeMultimedia2(String hotelIdentifier, String guestRoomIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Guest Room's Multimedia Remove a room's video or image by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
202 - Accepted
- Parameters:
hotelIdentifier- Remove room type media owned by this hotel identifierguestRoomIdentifier- Remove room type media with this identifiermultimediaIdentifier- Remove media with this identifieraccept- The accept parameter- Returns:
- GuestRoomView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeMultimedia2WithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>> removeMultimedia2WithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showGuestRoom
public reactor.core.publisher.Mono<GuestRoomView> showGuestRoom(String hotelIdentifier, String guestRoomIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Guest Room Retrieve a room type by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Show room type owned by this hotel identifierguestRoomIdentifier- Show room type identified by this identifieraccept- The accept parameter- Returns:
- GuestRoomView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showGuestRoomWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>> showGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showGuestRooms
public reactor.core.publisher.Flux<GuestRoomView> showGuestRooms(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Guest Rooms Retrieve list of rooms405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Show list of room types owned by this hotel identifieraccept- The accept parameter- Returns:
- List<GuestRoomView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showGuestRoomsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<GuestRoomView>>> showGuestRoomsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateGuestRoom
public reactor.core.publisher.Mono<GuestRoomView> updateGuestRoom(String hotelIdentifier, String guestRoomIdentifier, UpsertGuestRoomRequest upsertGuestRoomRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Guest Room Update a room by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Update room type owned by this hotel identifierguestRoomIdentifier- Update room type with this identifierupsertGuestRoomRequest- The upsertGuestRoomRequest parameter- Returns:
- GuestRoomView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateGuestRoomWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>> updateGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, UpsertGuestRoomRequest upsertGuestRoomRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
uploadGuestRoomMedia
public reactor.core.publisher.Mono<GuestRoomView> uploadGuestRoomMedia(String hotelIdentifier, String guestRoomIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException Add Multimedia to Room Uploads a videos and/or images to a room identified by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
207 - Multi-Status
- Parameters:
hotelIdentifier- Upload media for room type owned by this hotel identifierguestRoomIdentifier- Upload media for room type with this identifierfiles- The files parameter- Returns:
- GuestRoomView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadGuestRoomMediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>> uploadGuestRoomMediaWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-