Class GeoLocationApi

java.lang.Object
travel.wink.sdk.extranet.api.GeoLocationApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-29T13:20:57.452361+07:00[Asia/Bangkok]") public class GeoLocationApi extends Object
  • Constructor Details

    • GeoLocationApi

      public GeoLocationApi()
    • GeoLocationApi

      @Autowired public GeoLocationApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • updateGeoLocation

      public reactor.core.publisher.Mono<HotelView> updateGeoLocation(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 identifier
      updateLocationRequest - The updateLocationRequest parameter
      Returns:
      HotelView
      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<HotelView>> updateGeoLocationWithHttpInfo(String hotelIdentifier, UpdateLocationRequest updateLocationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException