Class LookupApi

java.lang.Object
travel.wink.sdk.booking.engine.api.LookupApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-31T13:46:06.807293+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)
    • oauth2SearchSuggestions

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

      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:
      term - Search for lookups by this term
      accept - The accept parameter
      Returns:
      List<LookupCached>
      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<LookupCached>>> oauth2SearchSuggestionsWithHttpInfo(String term, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • oauth2ShowLookup

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

      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:
      urlName - Show lookup by unique url name
      type - Filter on type
      accept - The accept parameter
      Returns:
      Lookup
      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<Lookup>> oauth2ShowLookupWithHttpInfo(String urlName, String type, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException