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="2024-08-05T21:41:24.797077847+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, String accept) Show Lifestyles Retrieve list of property lifestylesreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LifestylesResponseSupplier>> showLifestylesWithHttpInfo(String hotelIdentifier, String winkVersion, String accept) Show Lifestyles Retrieve list of property lifestylesorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowLifestylesWithResponseSpec(String hotelIdentifier, String winkVersion, String accept) Show Lifestyles Retrieve list of property lifestylesreactor.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) Update Lifestyles Update selected lifestyles.org.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateLifestylesWithResponseSpec(String hotelIdentifier, UpdateLifestylesRequestSupplier updateLifestylesRequestSupplier, String winkVersion) Update Lifestyles Update selected lifestyles.
-
Constructor Details
-
LifestyleApi
public LifestyleApi() -
LifestyleApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
showLifestyles
public reactor.core.publisher.Mono<LifestylesResponseSupplier> showLifestyles(String hotelIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Lifestyles Retrieve list of property lifestyles403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show Lifestyles for this hotel identifierwinkVersion- The winkVersion parameteraccept- The accept 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, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Lifestyles Retrieve list of property lifestyles403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show Lifestyles for this hotel identifierwinkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseEntity<LifestylesResponseSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showLifestylesWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showLifestylesWithResponseSpec(String hotelIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Lifestyles Retrieve list of property lifestyles403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show Lifestyles for this hotel identifierwinkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
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.403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
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 Update Lifestyles Update selected lifestyles. See [Lifestyle geoname data](#operation/showLifestyles) for supported lifestyles.403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Update lifestyles for this hotel identifierupdateLifestylesRequestSupplier- The updateLifestylesRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<LifestylesResponseSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateLifestylesWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateLifestylesWithResponseSpec(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.403 - Forbidden
401 - Unauthorized
400 - Bad Request
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Update lifestyles for this hotel identifierupdateLifestylesRequestSupplier- The updateLifestylesRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-