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 Details

    • LifestyleApi

      public LifestyleApi()
    • LifestyleApi

      @Autowired public LifestyleApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 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 - Show Lifestyles for this hotel identifier
      winkVersion - 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 identifier
      updateLifestylesRequestSupplier - The updateLifestylesRequestSupplier parameter
      winkVersion - 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