Class LifestyleApi

java.lang.Object
travel.wink.sdk.extranet.api.LifestyleApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-25T09:03:50.356743433+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

      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
      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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show Lifestyles for this hotel identifier
      winkVersion - The winkVersion 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) 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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show Lifestyles for this hotel identifier
      winkVersion - The winkVersion 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      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
      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

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update lifestyles for this hotel identifier
      updateLifestylesRequestSupplier - The updateLifestylesRequestSupplier parameter
      winkVersion - 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update lifestyles for this hotel identifier
      updateLifestylesRequestSupplier - The updateLifestylesRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API