Class PlaceApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-12-21T14:57:37.589000094+07:00[Asia/Bangkok]") public class PlaceApi extends Object
  • Constructor Details

    • PlaceApi

      public PlaceApi()
    • PlaceApi

      @Autowired public PlaceApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createPlace

      public reactor.core.publisher.Mono<RefPointViewSupplier> createPlace(String hotelIdentifier, UpsertPlaceRequestSupplier upsertPlaceRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Place Create a new place.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Create a new place record owned by this hotel identifier
      upsertPlaceRequestSupplier - The upsertPlaceRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      RefPointViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createPlaceWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointViewSupplier>> createPlaceWithHttpInfo(String hotelIdentifier, UpsertPlaceRequestSupplier upsertPlaceRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Place Create a new place.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Create a new place record owned by this hotel identifier
      upsertPlaceRequestSupplier - The upsertPlaceRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RefPointViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createPlaceWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createPlaceWithResponseSpec(String hotelIdentifier, UpsertPlaceRequestSupplier upsertPlaceRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Place Create a new place.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Create a new place record owned by this hotel identifier
      upsertPlaceRequestSupplier - The upsertPlaceRequestSupplier 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
    • removePlace

      public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removePlace(String hotelIdentifier, String placeIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Place Delete a place by its identifier.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove place record owned by this hotel identifier
      placeIdentifier - Remove place record identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponseSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removePlaceWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removePlaceWithHttpInfo(String hotelIdentifier, String placeIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Place Delete a place by its identifier.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove place record owned by this hotel identifier
      placeIdentifier - Remove place record identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RemoveEntryResponseSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removePlaceWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removePlaceWithResponseSpec(String hotelIdentifier, String placeIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Place Delete a place by its identifier.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove place record owned by this hotel identifier
      placeIdentifier - Remove place record identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlace

      public reactor.core.publisher.Mono<RefPointViewSupplier> showPlace(String hotelIdentifier, String placeIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Place Retrieve a place by its identifier.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show single place owned by this hotel identifier
      placeIdentifier - Show place record identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      RefPointViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlaceWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointViewSupplier>> showPlaceWithHttpInfo(String hotelIdentifier, String placeIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Place Retrieve a place by its identifier.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show single place owned by this hotel identifier
      placeIdentifier - Show place record identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RefPointViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlaceWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPlaceWithResponseSpec(String hotelIdentifier, String placeIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Place Retrieve a place by its identifier.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show single place owned by this hotel identifier
      placeIdentifier - Show place record identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlacePairs

      public reactor.core.publisher.Flux<KeyValuePairSupplier> showPlacePairs(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Reference Pairs Retrieve list of places as key/value pairs (identifier, name)

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show place pairs owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      List<KeyValuePairSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlacePairsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePairSupplier>>> showPlacePairsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Reference Pairs Retrieve list of places as key/value pairs (identifier, name)

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show place pairs owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<KeyValuePairSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlacePairsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPlacePairsWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Reference Pairs Retrieve list of places as key/value pairs (identifier, name)

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show place pairs owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlaces

      public reactor.core.publisher.Flux<RefPointViewSupplier> showPlaces(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Places Retrieve list of places for property.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show places owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      List<RefPointViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlacesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RefPointViewSupplier>>> showPlacesWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Places Retrieve list of places for property.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show places owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<RefPointViewSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlacesWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPlacesWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Places Retrieve list of places for property.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show places owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updatePlace

      public reactor.core.publisher.Mono<RefPointViewSupplier> updatePlace(String hotelIdentifier, String placeIdentifier, UpsertPlaceRequestSupplier upsertPlaceRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Place Update a place by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update an existing place record owned by this hotel identifier
      placeIdentifier - Update an existing place record identified by this identifier
      upsertPlaceRequestSupplier - The upsertPlaceRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      RefPointViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updatePlaceWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointViewSupplier>> updatePlaceWithHttpInfo(String hotelIdentifier, String placeIdentifier, UpsertPlaceRequestSupplier upsertPlaceRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Place Update a place by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update an existing place record owned by this hotel identifier
      placeIdentifier - Update an existing place record identified by this identifier
      upsertPlaceRequestSupplier - The upsertPlaceRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RefPointViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updatePlaceWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updatePlaceWithResponseSpec(String hotelIdentifier, String placeIdentifier, UpsertPlaceRequestSupplier upsertPlaceRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Place Update a place by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update an existing place record owned by this hotel identifier
      placeIdentifier - Update an existing place record identified by this identifier
      upsertPlaceRequestSupplier - The upsertPlaceRequestSupplier 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
    • uploadPlaceMedia

      public reactor.core.publisher.Mono<RefPointViewSupplier> uploadPlaceMedia(String hotelIdentifier, String placeIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing place.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart files and associate them with an existing place owned by this hotel identifier
      placeIdentifier - Upload multipart files and associate them with an existing place with this identifier
      files - The files parameter
      Returns:
      RefPointViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadPlaceMediaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointViewSupplier>> uploadPlaceMediaWithHttpInfo(String hotelIdentifier, String placeIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing place.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart files and associate them with an existing place owned by this hotel identifier
      placeIdentifier - Upload multipart files and associate them with an existing place with this identifier
      files - The files parameter
      Returns:
      ResponseEntity<RefPointViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadPlaceMediaWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec uploadPlaceMediaWithResponseSpec(String hotelIdentifier, String placeIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing place.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart files and associate them with an existing place owned by this hotel identifier
      placeIdentifier - Upload multipart files and associate them with an existing place with this identifier
      files - The files parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API