Class GeoLocationApi
java.lang.Object
travel.wink.sdk.extranet.property.api.GeoLocationApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-12T22:11:51.081450123+07:00[Asia/Bangkok]")
public class GeoLocationApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<HotelViewSupplier> updateGeoLocation(String propertyIdentifier, UpdateLocationRequestSupplier updateLocationRequestSupplier, String winkVersion) Set Geo-Location Update property geo-location.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>> updateGeoLocationWithHttpInfo(String propertyIdentifier, UpdateLocationRequestSupplier updateLocationRequestSupplier, String winkVersion) Set Geo-Location Update property geo-location.org.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateGeoLocationWithResponseSpec(String propertyIdentifier, UpdateLocationRequestSupplier updateLocationRequestSupplier, String winkVersion) Set Geo-Location Update property geo-location.
-
Constructor Details
-
GeoLocationApi
public GeoLocationApi() -
GeoLocationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
updateGeoLocation
public reactor.core.publisher.Mono<HotelViewSupplier> updateGeoLocation(String propertyIdentifier, UpdateLocationRequestSupplier updateLocationRequestSupplier, String winkVersion) 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].500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
propertyIdentifier- Update geo-location for this property identifierupdateLocationRequestSupplier- Update geo-location request bodywinkVersion- The winkVersion parameter- Returns:
- HotelViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateGeoLocationWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>> updateGeoLocationWithHttpInfo(String propertyIdentifier, UpdateLocationRequestSupplier updateLocationRequestSupplier, String winkVersion) 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].500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
propertyIdentifier- Update geo-location for this property identifierupdateLocationRequestSupplier- Update geo-location request bodywinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<HotelViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateGeoLocationWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateGeoLocationWithResponseSpec(String propertyIdentifier, UpdateLocationRequestSupplier updateLocationRequestSupplier, String winkVersion) 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].500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
propertyIdentifier- Update geo-location for this property identifierupdateLocationRequestSupplier- Update geo-location request bodywinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-