Package travel.wink.sdk.extranet.api
Class LifestyleApi
java.lang.Object
travel.wink.sdk.extranet.api.LifestyleApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-18T08:52:26.126132332+07:00[Asia/Bangkok]")
public class LifestyleApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<LifestylesResponseSupplier>showLifestyles(String hotelIdentifier, String winkVersion) Show Lifestyles Retrieve list of property lifestylesreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LifestylesResponseSupplier>>showLifestylesWithHttpInfo(String hotelIdentifier, String winkVersion) reactor.core.publisher.Mono<LifestylesResponseSupplier>updateLifestyles(String hotelIdentifier, UpdateLifestylesRequestSupplier updateLifestylesRequestSupplier, String winkVersion) Update Lifestyles Update selected lifestyles.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LifestylesResponseSupplier>>updateLifestylesWithHttpInfo(String hotelIdentifier, UpdateLifestylesRequestSupplier updateLifestylesRequestSupplier, String winkVersion)
-
Constructor Details
-
LifestyleApi
public LifestyleApi() -
LifestyleApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
showLifestyles
public reactor.core.publisher.Mono<LifestylesResponseSupplier> showLifestyles(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Lifestyles Retrieve list of property lifestyles503 - 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 Lifestyles for this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- LifestylesResponseSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showLifestylesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LifestylesResponseSupplier>> showLifestylesWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateLifestyles
public reactor.core.publisher.Mono<LifestylesResponseSupplier> updateLifestyles(String hotelIdentifier, UpdateLifestylesRequestSupplier updateLifestylesRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Lifestyles Update selected lifestyles. See [Lifestyle geoname data](#operation/showLifestyles) for supported lifestyles.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- Update lifestyles for this hotel identifierupdateLifestylesRequestSupplier- The updateLifestylesRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- LifestylesResponseSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateLifestylesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LifestylesResponseSupplier>> updateLifestylesWithHttpInfo(String hotelIdentifier, UpdateLifestylesRequestSupplier updateLifestylesRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-