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<HotelStatus>showHotelStatus(String hotelIdentifier, String accept) Show hotel status Retrieve hotel statusreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelStatus>>showHotelStatusWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<BasicHotelInformation>updateBasics(String hotelIdentifier, BasicHotelInformation basicHotelInformation) Update information Update basic property informationreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BasicHotelInformation>>updateBasicsWithHttpInfo(String hotelIdentifier, BasicHotelInformation basicHotelInformation) reactor.core.publisher.Mono<HotelStatus>updateHotelStatus(String hotelIdentifier, HotelStatus hotelStatus) Update hotel status Update hotel statusreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelStatus>>updateHotelStatusWithHttpInfo(String hotelIdentifier, HotelStatus hotelStatus) reactor.core.publisher.Mono<PropertyAmenities>updateServices(String hotelIdentifier, PropertyAmenities propertyAmenities) Update property services Manage property amenity, accessibility and security features.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyAmenities>>updateServicesWithHttpInfo(String hotelIdentifier, PropertyAmenities propertyAmenities)
-
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.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
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..405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
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 identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
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<HotelStatus> showHotelStatus(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotel status Retrieve hotel status405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show property status for this hotel identifieraccept- The accept parameter- Returns:
- HotelStatus
- 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<HotelStatus>> 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 hotels405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
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<BasicHotelInformation> updateBasics(String hotelIdentifier, BasicHotelInformation basicHotelInformation) throws org.springframework.web.reactive.function.client.WebClientResponseException Update information Update basic property information405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Update basic information for this hotel identifierbasicHotelInformation- The basicHotelInformation parameter- Returns:
- BasicHotelInformation
- 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<BasicHotelInformation>> updateBasicsWithHttpInfo(String hotelIdentifier, BasicHotelInformation basicHotelInformation) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateHotelStatus
public reactor.core.publisher.Mono<HotelStatus> updateHotelStatus(String hotelIdentifier, HotelStatus hotelStatus) throws org.springframework.web.reactive.function.client.WebClientResponseException Update hotel status Update hotel status405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Change status for this hotel identifierhotelStatus- The hotelStatus parameter- Returns:
- HotelStatus
- 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<HotelStatus>> updateHotelStatusWithHttpInfo(String hotelIdentifier, HotelStatus hotelStatus) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateServices
public reactor.core.publisher.Mono<PropertyAmenities> updateServices(String hotelIdentifier, PropertyAmenities propertyAmenities) throws org.springframework.web.reactive.function.client.WebClientResponseException Update property services Manage property amenity, accessibility and security features.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Set services for this hotel identifierpropertyAmenities- The propertyAmenities parameter- Returns:
- PropertyAmenities
- 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<PropertyAmenities>> updateServicesWithHttpInfo(String hotelIdentifier, PropertyAmenities propertyAmenities) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-