Class PropertyApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<UniqueResult>isHotelNameUnique(String key, String hotelIdentifier, String winkVersion) 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 winkVersion) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<HotelView>showHotelByManager(String hotelIdentifier, String winkVersion) Show hotel Retrieve hotel by hotel identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>showHotelByManagerWithHttpInfo(String hotelIdentifier, String winkVersion) reactor.core.publisher.Flux<HotelView>showHotelsByManager(String winkVersion) Show hotels Retrieve a list of all your hotelsshowHotelsByManagerWithHttpInfo(String winkVersion) reactor.core.publisher.Mono<UpdateExternalHotelStatusRequest>showHotelStatus(String hotelIdentifier, String winkVersion) Show hotel status Retrieve hotel statusreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpdateExternalHotelStatusRequest>>showHotelStatusWithHttpInfo(String hotelIdentifier, String winkVersion) reactor.core.publisher.Mono<HotelView>updateGeneralManager(String hotelIdentifier, UpsertGeneralManagerRequest upsertGeneralManagerRequest, String winkVersion) Update General Manager Update general manager informationreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>updateGeneralManagerWithHttpInfo(String hotelIdentifier, UpsertGeneralManagerRequest upsertGeneralManagerRequest, String winkVersion) reactor.core.publisher.Mono<HotelView>updateHotelStatus(String hotelIdentifier, UpdateExternalHotelStatusRequest updateExternalHotelStatusRequest, String winkVersion) Update hotel status Update hotel statusreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>updateHotelStatusWithHttpInfo(String hotelIdentifier, UpdateExternalHotelStatusRequest updateExternalHotelStatusRequest, String winkVersion) reactor.core.publisher.Mono<HotelView>updateLocalizedDescriptions(String hotelIdentifier, UpsertPropertyDescriptionsRequest upsertPropertyDescriptionsRequest, String winkVersion) Update property text Update localized welcome textreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>updateLocalizedDescriptionsWithHttpInfo(String hotelIdentifier, UpsertPropertyDescriptionsRequest upsertPropertyDescriptionsRequest, String winkVersion) reactor.core.publisher.Mono<HotelView>updatePropertyProfile(String hotelIdentifier, UpsertPropertyProfileRequest upsertPropertyProfileRequest, String winkVersion) Update property profile Update basic property informationreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>updatePropertyProfileWithHttpInfo(String hotelIdentifier, UpsertPropertyProfileRequest upsertPropertyProfileRequest, String winkVersion) reactor.core.publisher.Mono<HotelView>updateServices(String hotelIdentifier, UpdatePropertyAmenitiesAndServicesRequest updatePropertyAmenitiesAndServicesRequest, String winkVersion) Update property services Manage property amenity, accessibility and security features.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>updateServicesWithHttpInfo(String hotelIdentifier, UpdatePropertyAmenitiesAndServicesRequest updatePropertyAmenitiesAndServicesRequest, String winkVersion)
-
Constructor Details
-
PropertyApi
public PropertyApi() -
PropertyApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
isHotelNameUnique
public reactor.core.publisher.Mono<UniqueResult> isHotelNameUnique(String key, String hotelIdentifier, String winkVersion) 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
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
key- Search for uniqueness for this hotel name.hotelIdentifier- Optional, existing hotel identifierwinkVersion- The winkVersion 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 winkVersion) 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotel Retrieve hotel by hotel 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- Retrieve property record for this hotel identifierwinkVersion- The winkVersion 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 winkVersion) 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotel status Retrieve hotel status503 - 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 property status for this hotel identifierwinkVersion- The winkVersion 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 winkVersion) 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show hotels Retrieve a list of all your hotels503 - 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:
winkVersion- The winkVersion 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateGeneralManager
public reactor.core.publisher.Mono<HotelView> updateGeneralManager(String hotelIdentifier, UpsertGeneralManagerRequest upsertGeneralManagerRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update General Manager Update general manager information503 - 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 basic information for this hotel identifierupsertGeneralManagerRequest- The upsertGeneralManagerRequest parameterwinkVersion- The winkVersion parameter- Returns:
- HotelView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateGeneralManagerWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateGeneralManagerWithHttpInfo(String hotelIdentifier, UpsertGeneralManagerRequest upsertGeneralManagerRequest, String winkVersion) 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, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update hotel status Update hotel status503 - 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- Change status for this hotel identifierupdateExternalHotelStatusRequest- The updateExternalHotelStatusRequest parameterwinkVersion- The winkVersion 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, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateLocalizedDescriptions
public reactor.core.publisher.Mono<HotelView> updateLocalizedDescriptions(String hotelIdentifier, UpsertPropertyDescriptionsRequest upsertPropertyDescriptionsRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update property text Update localized welcome text503 - 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 basic information for this hotel identifierupsertPropertyDescriptionsRequest- The upsertPropertyDescriptionsRequest parameterwinkVersion- The winkVersion parameter- Returns:
- HotelView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateLocalizedDescriptionsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateLocalizedDescriptionsWithHttpInfo(String hotelIdentifier, UpsertPropertyDescriptionsRequest upsertPropertyDescriptionsRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updatePropertyProfile
public reactor.core.publisher.Mono<HotelView> updatePropertyProfile(String hotelIdentifier, UpsertPropertyProfileRequest upsertPropertyProfileRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update property profile Update basic property information503 - 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 basic information for this hotel identifierupsertPropertyProfileRequest- The upsertPropertyProfileRequest parameterwinkVersion- The winkVersion parameter- Returns:
- HotelView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updatePropertyProfileWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updatePropertyProfileWithHttpInfo(String hotelIdentifier, UpsertPropertyProfileRequest upsertPropertyProfileRequest, String winkVersion) 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, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update property services Manage property amenity, accessibility and security features.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- Set amenities for this hotel identifierupdatePropertyAmenitiesAndServicesRequest- The updatePropertyAmenitiesAndServicesRequest parameterwinkVersion- The winkVersion 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, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-