Package travel.wink.sdk.extranet.api
Class GeoLocationApi
java.lang.Object
travel.wink.sdk.extranet.api.GeoLocationApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-05T13:54:29.398954+07:00[Asia/Bangkok]")
public class GeoLocationApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<UpdateLocationRequest>updateLocationPoint(String hotelIdentifier, UpdateLocationRequest updateLocationRequest) Set geo-location Update property geo-location.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpdateLocationRequest>>updateLocationPointWithHttpInfo(String hotelIdentifier, UpdateLocationRequest updateLocationRequest)
-
Constructor Details
-
GeoLocationApi
public GeoLocationApi() -
GeoLocationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
updateLocationPoint
public reactor.core.publisher.Mono<UpdateLocationRequest> updateLocationPoint(String hotelIdentifier, UpdateLocationRequest updateLocationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Set geo-location Update property geo-location. Note: x = longitude, y = latitude, type = Point, coordinates = [longitude, latitude].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 geo-location for this hotel identifierupdateLocationRequest- The updateLocationRequest parameter- Returns:
- UpdateLocationRequest
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateLocationPointWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpdateLocationRequest>> updateLocationPointWithHttpInfo(String hotelIdentifier, UpdateLocationRequest updateLocationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-