Class LifestyleApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-28T12:37:26.819025+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)
    • 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 lifestyles

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Update lifestyles for this hotel identifier
      updateLifestylesRequest - 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