Class PropertyApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<UniqueResult>isHotelNameUnique(String key, String hotelIdentifier, String accept) Check hotel name uniqueness Check if hotel name is a unique.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UniqueResult>>isHotelNameUniqueWithHttpInfo(String key, String hotelIdentifier, String accept) reactor.core.publisher.Mono<Wizard>onboardToKYCPath(String hotelIdentifier) Begin Property Verification KYC required for properties in the U.S..reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Wizard>>onboardToKYCPathWithHttpInfo(String hotelIdentifier) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<HotelView>showHotelByManager(String hotelIdentifier, String accept) Show hotel Retrieve hotel by hotel identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>showHotelByManagerWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<HotelView>showHotelsByManager(String accept) Show hotels Retrieve a list of all your hotelsreactor.core.publisher.Mono<UpdateExternalHotelStatusRequest>showHotelStatus(String hotelIdentifier, String accept) Show hotel status Retrieve hotel statusreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpdateExternalHotelStatusRequest>>showHotelStatusWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<HotelView>updateBasics(String hotelIdentifier, UpdateBasicHotelInformationRequest updateBasicHotelInformationRequest) Update information Update basic property informationreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>updateBasicsWithHttpInfo(String hotelIdentifier, UpdateBasicHotelInformationRequest updateBasicHotelInformationRequest) reactor.core.publisher.Mono<HotelView>updateHotelStatus(String hotelIdentifier, UpdateExternalHotelStatusRequest updateExternalHotelStatusRequest) Update hotel status Update hotel statusreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>updateHotelStatusWithHttpInfo(String hotelIdentifier, UpdateExternalHotelStatusRequest updateExternalHotelStatusRequest) reactor.core.publisher.Mono<HotelView>updateServices(String hotelIdentifier, UpdatePropertyAmenitiesAndServicesRequest updatePropertyAmenitiesAndServicesRequest) Update property request Manage property amenity, accessibility and security features.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>updateServicesWithHttpInfo(String hotelIdentifier, UpdatePropertyAmenitiesAndServicesRequest updatePropertyAmenitiesAndServicesRequest)
-
Constructor Details
-
PropertyApi
public PropertyApi() -
PropertyApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
isHotelNameUnique
public reactor.core.publisher.Mono<UniqueResult> isHotelNameUnique(String key, String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Check hotel name uniqueness Check if hotel name is a unique.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
key- Search for uniqueness for this hotel name.hotelIdentifier- Optional, existing hotel identifieraccept- The accept parameter- Returns:
- UniqueResult
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
isHotelNameUniqueWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UniqueResult>> isHotelNameUniqueWithHttpInfo(String key, String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
onboardToKYCPath
public reactor.core.publisher.Mono<Wizard> onboardToKYCPath(String hotelIdentifier) throws org.springframework.web.reactive.function.client.WebClientResponseException Begin Property Verification KYC required for properties in the U.S..503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameter- Returns:
- Wizard
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
onboardToKYCPathWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Wizard>> onboardToKYCPathWithHttpInfo(String hotelIdentifier) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showHotelByManager
public reactor.core.publisher.Mono<HotelView> showHotelByManager(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotel Retrieve hotel by hotel identifier503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Retrieve property record for this hotel identifieraccept- The accept parameter- Returns:
- HotelView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showHotelByManagerWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> showHotelByManagerWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showHotelStatus
public reactor.core.publisher.Mono<UpdateExternalHotelStatusRequest> showHotelStatus(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotel status Retrieve hotel status503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show property status for this hotel identifieraccept- The accept parameter- Returns:
- UpdateExternalHotelStatusRequest
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showHotelStatusWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpdateExternalHotelStatusRequest>> showHotelStatusWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showHotelsByManager
public reactor.core.publisher.Flux<HotelView> showHotelsByManager(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotels Retrieve a list of all your hotels503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
accept- The accept parameter- Returns:
- List<HotelView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showHotelsByManagerWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<HotelView>>> showHotelsByManagerWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateBasics
public reactor.core.publisher.Mono<HotelView> updateBasics(String hotelIdentifier, UpdateBasicHotelInformationRequest updateBasicHotelInformationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update information Update basic property information503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update basic information for this hotel identifierupdateBasicHotelInformationRequest- The updateBasicHotelInformationRequest parameter- Returns:
- HotelView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateBasicsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateBasicsWithHttpInfo(String hotelIdentifier, UpdateBasicHotelInformationRequest updateBasicHotelInformationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateHotelStatus
public reactor.core.publisher.Mono<HotelView> updateHotelStatus(String hotelIdentifier, UpdateExternalHotelStatusRequest updateExternalHotelStatusRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update hotel status Update hotel status503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Change status for this hotel identifierupdateExternalHotelStatusRequest- The updateExternalHotelStatusRequest parameter- Returns:
- HotelView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateHotelStatusWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateHotelStatusWithHttpInfo(String hotelIdentifier, UpdateExternalHotelStatusRequest updateExternalHotelStatusRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateServices
public reactor.core.publisher.Mono<HotelView> updateServices(String hotelIdentifier, UpdatePropertyAmenitiesAndServicesRequest updatePropertyAmenitiesAndServicesRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update property request Manage property amenity, accessibility and security features.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Set amenities for this hotel identifierupdatePropertyAmenitiesAndServicesRequest- The updatePropertyAmenitiesAndServicesRequest parameter- Returns:
- HotelView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateServicesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateServicesWithHttpInfo(String hotelIdentifier, UpdatePropertyAmenitiesAndServicesRequest updatePropertyAmenitiesAndServicesRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-