Class ChannelManagerApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<KeyValuePairSupplier>showChannelManagers(String hotelIdentifier, String winkVersion) List channel managers Returns all available channel managers.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePairSupplier>>>showChannelManagersWithHttpInfo(String hotelIdentifier, String winkVersion) List channel managers Returns all available channel managers.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowChannelManagersWithResponseSpec(String hotelIdentifier, String winkVersion) List channel managers Returns all available channel managers.reactor.core.publisher.Mono<HotelViewSupplier>updateChannelManager(String hotelIdentifier, UpdateChannelManagerRequestSupplier updateChannelManagerRequestSupplier, String winkVersion) Set channel manager Set which channel manager this property uses.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>>updateChannelManagerWithHttpInfo(String hotelIdentifier, UpdateChannelManagerRequestSupplier updateChannelManagerRequestSupplier, String winkVersion) Set channel manager Set which channel manager this property uses.org.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateChannelManagerWithResponseSpec(String hotelIdentifier, UpdateChannelManagerRequestSupplier updateChannelManagerRequestSupplier, String winkVersion) Set channel manager Set which channel manager this property uses.
-
Constructor Details
-
ChannelManagerApi
public ChannelManagerApi() -
ChannelManagerApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
showChannelManagers
public reactor.core.publisher.Flux<KeyValuePairSupplier> showChannelManagers(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException List channel managers Returns all available channel managers.503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
hotelIdentifier- Retrieve channel managers for this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- List<KeyValuePairSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showChannelManagersWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePairSupplier>>> showChannelManagersWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException List channel managers Returns all available channel managers.503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
hotelIdentifier- Retrieve channel managers for this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<KeyValuePairSupplier>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showChannelManagersWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showChannelManagersWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException List channel managers Returns all available channel managers.503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
hotelIdentifier- Retrieve channel managers for this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateChannelManager
public reactor.core.publisher.Mono<HotelViewSupplier> updateChannelManager(String hotelIdentifier, UpdateChannelManagerRequestSupplier updateChannelManagerRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Set channel manager Set which channel manager this property uses. Channel managers are not allowed access to rates until the property selects them as their channel manager.503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
hotelIdentifier- Set channel manager for this hotel identifierupdateChannelManagerRequestSupplier- The updateChannelManagerRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- HotelViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateChannelManagerWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>> updateChannelManagerWithHttpInfo(String hotelIdentifier, UpdateChannelManagerRequestSupplier updateChannelManagerRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Set channel manager Set which channel manager this property uses. Channel managers are not allowed access to rates until the property selects them as their channel manager.503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
hotelIdentifier- Set channel manager for this hotel identifierupdateChannelManagerRequestSupplier- The updateChannelManagerRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<HotelViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateChannelManagerWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateChannelManagerWithResponseSpec(String hotelIdentifier, UpdateChannelManagerRequestSupplier updateChannelManagerRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Set channel manager Set which channel manager this property uses. Channel managers are not allowed access to rates until the property selects them as their channel manager.503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
hotelIdentifier- Set channel manager for this hotel identifierupdateChannelManagerRequestSupplier- The updateChannelManagerRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-