Class LookupApi

java.lang.Object
travel.wink.sdk.lookup.api.LookupApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-04T14:50:52.244825801+07:00[Asia/Bangkok]") public class LookupApi extends Object
  • Constructor Details

    • LookupApi

      public LookupApi()
    • LookupApi

      @Autowired public LookupApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • oauth2ScoreInventoryByCity

      public reactor.core.publisher.Mono<PageHotelWithBestPriceConsumer> oauth2ScoreInventoryByCity(CityScoreRequestConsumer cityScoreRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked City Search Search for hotels in / around a city and order by scoring type

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      cityScoreRequestConsumer - The cityScoreRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      Returns:
      PageHotelWithBestPriceConsumer
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2ScoreInventoryByCityWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPriceConsumer>> oauth2ScoreInventoryByCityWithHttpInfo(CityScoreRequestConsumer cityScoreRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked City Search Search for hotels in / around a city and order by scoring type

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      cityScoreRequestConsumer - The cityScoreRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PageHotelWithBestPriceConsumer>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2ScoreInventoryByCityWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec oauth2ScoreInventoryByCityWithResponseSpec(CityScoreRequestConsumer cityScoreRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked City Search Search for hotels in / around a city and order by scoring type

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      cityScoreRequestConsumer - The cityScoreRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration 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
    • oauth2SearchByGeoLocation

      public reactor.core.publisher.Mono<PageHotelWithBestPriceConsumer> oauth2SearchByGeoLocation(MapRequestConsumer mapRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      By Geo-Location Search for properties near a point or within bounds. Populate either `request.userSession.location` OR `request.userSession.bounds`.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      mapRequestConsumer - The mapRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      Returns:
      PageHotelWithBestPriceConsumer
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2SearchByGeoLocationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPriceConsumer>> oauth2SearchByGeoLocationWithHttpInfo(MapRequestConsumer mapRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      By Geo-Location Search for properties near a point or within bounds. Populate either `request.userSession.location` OR `request.userSession.bounds`.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      mapRequestConsumer - The mapRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PageHotelWithBestPriceConsumer>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2SearchByGeoLocationWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec oauth2SearchByGeoLocationWithResponseSpec(MapRequestConsumer mapRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      By Geo-Location Search for properties near a point or within bounds. Populate either `request.userSession.location` OR `request.userSession.bounds`.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      mapRequestConsumer - The mapRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration 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
    • oauth2SearchInventoryByCity

      public reactor.core.publisher.Mono<PageHotelWithBestPriceConsumer> oauth2SearchInventoryByCity(CitySearchRequestConsumer citySearchRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      City Search Search for hotels in / around a city

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      citySearchRequestConsumer - The citySearchRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      Returns:
      PageHotelWithBestPriceConsumer
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2SearchInventoryByCityWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPriceConsumer>> oauth2SearchInventoryByCityWithHttpInfo(CitySearchRequestConsumer citySearchRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      City Search Search for hotels in / around a city

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      citySearchRequestConsumer - The citySearchRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PageHotelWithBestPriceConsumer>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2SearchInventoryByCityWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec oauth2SearchInventoryByCityWithResponseSpec(CitySearchRequestConsumer citySearchRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      City Search Search for hotels in / around a city

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      citySearchRequestConsumer - The citySearchRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration 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
    • oauth2SearchScoreByCountry

      public reactor.core.publisher.Mono<PageHotelWithBestPriceConsumer> oauth2SearchScoreByCountry(CountryScoreRequestConsumer countryScoreRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Country Search Search for hotels in a country and order by scoring type

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      countryScoreRequestConsumer - The countryScoreRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      Returns:
      PageHotelWithBestPriceConsumer
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2SearchScoreByCountryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPriceConsumer>> oauth2SearchScoreByCountryWithHttpInfo(CountryScoreRequestConsumer countryScoreRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Country Search Search for hotels in a country and order by scoring type

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      countryScoreRequestConsumer - The countryScoreRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PageHotelWithBestPriceConsumer>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2SearchScoreByCountryWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec oauth2SearchScoreByCountryWithResponseSpec(CountryScoreRequestConsumer countryScoreRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Country Search Search for hotels in a country and order by scoring type

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      countryScoreRequestConsumer - The countryScoreRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration 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
    • oauth2SearchScoreByGlobal

      public reactor.core.publisher.Mono<PageHotelWithBestPriceConsumer> oauth2SearchScoreByGlobal(GlobalScoreRequestConsumer globalScoreRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Global Search Search best scoring hotels in the world and order by scoring type

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      globalScoreRequestConsumer - The globalScoreRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      Returns:
      PageHotelWithBestPriceConsumer
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2SearchScoreByGlobalWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPriceConsumer>> oauth2SearchScoreByGlobalWithHttpInfo(GlobalScoreRequestConsumer globalScoreRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Global Search Search best scoring hotels in the world and order by scoring type

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      globalScoreRequestConsumer - The globalScoreRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PageHotelWithBestPriceConsumer>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2SearchScoreByGlobalWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec oauth2SearchScoreByGlobalWithResponseSpec(GlobalScoreRequestConsumer globalScoreRequestConsumer, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Global Search Search best scoring hotels in the world and order by scoring type

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      globalScoreRequestConsumer - The globalScoreRequestConsumer parameter
      engineConfigurationIdentifier - Engine configuration 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
    • oauth2SearchSuggestions

      public reactor.core.publisher.Flux<LookupCachedConsumer> oauth2SearchSuggestions(String term, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Search Lookups Searches for hotels, cities or countries by the search term.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      term - Search for lookups by this term
      winkVersion - The winkVersion parameter
      Returns:
      List<LookupCachedConsumer>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2SearchSuggestionsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<LookupCachedConsumer>>> oauth2SearchSuggestionsWithHttpInfo(String term, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Search Lookups Searches for hotels, cities or countries by the search term.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      term - Search for lookups by this term
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<LookupCachedConsumer>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2SearchSuggestionsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec oauth2SearchSuggestionsWithResponseSpec(String term, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Search Lookups Searches for hotels, cities or countries by the search term.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      term - Search for lookups by this term
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2ShowLookup

      public reactor.core.publisher.Mono<LookupConsumer> oauth2ShowLookup(String urlName, String type, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Lookup Show lookup object by its unique url name.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      urlName - Show lookup by unique url name
      type - Filter on type
      winkVersion - The winkVersion parameter
      Returns:
      LookupConsumer
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2ShowLookupWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LookupConsumer>> oauth2ShowLookupWithHttpInfo(String urlName, String type, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Lookup Show lookup object by its unique url name.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      urlName - Show lookup by unique url name
      type - Filter on type
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<LookupConsumer>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • oauth2ShowLookupWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec oauth2ShowLookupWithResponseSpec(String urlName, String type, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Lookup Show lookup object by its unique url name.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      urlName - Show lookup by unique url name
      type - Filter on type
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API