Class GeoLocationApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-10T15:17:09.174875363+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<HotelViewSupplier> updateGeoLocation(String hotelIdentifier, 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].

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update geo-location for this hotel identifier
      updateLocationRequestSupplier - The updateLocationRequestSupplier parameter
      winkVersion - 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 hotelIdentifier, 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].

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update geo-location for this hotel identifier
      updateLocationRequestSupplier - The updateLocationRequestSupplier parameter
      winkVersion - 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 hotelIdentifier, 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].

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update geo-location for this hotel identifier
      updateLocationRequestSupplier - The updateLocationRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API