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="2022-05-27T09:29:05.118372+07:00[Asia/Bangkok]")
public class LifestyleApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<LifestylesResponse>showLifestyles1(String hotelIdentifier, String accept) Show Lifestyles Retrieve list of property lifestylesreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LifestylesResponse>>showLifestyles1WithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<LifestylesResponse>updateLifestyles(String hotelIdentifier, UpdateLifestylesRequest updateLifestylesRequest) Update Lifestyles Update selected lifestyles.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LifestylesResponse>>updateLifestylesWithHttpInfo(String hotelIdentifier, UpdateLifestylesRequest updateLifestylesRequest)
-
Constructor Details
-
LifestyleApi
public LifestyleApi() -
LifestyleApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
showLifestyles1
public reactor.core.publisher.Mono<LifestylesResponse> showLifestyles1(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Lifestyles Retrieve list of property lifestyles400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show Lifestyles for this hotel identifieraccept- The accept parameter- Returns:
- LifestylesResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showLifestyles1WithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LifestylesResponse>> showLifestyles1WithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateLifestyles
public reactor.core.publisher.Mono<LifestylesResponse> updateLifestyles(String hotelIdentifier, UpdateLifestylesRequest updateLifestylesRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Lifestyles Update selected lifestyles. See [Lifestyle reference data](#operation/showLifestyles) for supported lifestyles.400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update lifestyles for this hotel identifierupdateLifestylesRequest- The updateLifestylesRequest parameter- Returns:
- LifestylesResponse
- 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<LifestylesResponse>> updateLifestylesWithHttpInfo(String hotelIdentifier, UpdateLifestylesRequest updateLifestylesRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-