Class LookupApi
java.lang.Object
travel.wink.sdk.booking.engine.api.LookupApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-07T09:36:43.710591+07:00[Asia/Bangkok]")
public class LookupApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<LookupCached>oauth2SearchSuggestions(String term, String accept) Search Lookups Searches for hotels, cities or countries by the search term.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<LookupCached>>>oauth2SearchSuggestionsWithHttpInfo(String term, String accept) reactor.core.publisher.Mono<Lookup>oauth2ShowLookup(String urlName, String type, String accept) Show Lookup Show lookup object by its unique url name.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Lookup>>oauth2ShowLookupWithHttpInfo(String urlName, String type, String accept) voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
LookupApi
public LookupApi() -
LookupApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
term- Search for lookups by this termaccept- 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.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
urlName- Show lookup by unique url nametype- Filter on typeaccept- 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
-