Class RestaurantApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-04T14:49:52.963414389+07:00[Asia/Bangkok]") public class RestaurantApi extends Object
  • Constructor Details

    • RestaurantApi

      public RestaurantApi()
    • RestaurantApi

      @Autowired public RestaurantApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createRestaurant

      public reactor.core.publisher.Mono<RestaurantViewSupplier> createRestaurant(String hotelIdentifier, UpsertRestaurantRequestSupplier upsertRestaurantRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Restaurant Create a new restaurant

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      201 - Created

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantViewSupplier>> createRestaurantWithHttpInfo(String hotelIdentifier, UpsertRestaurantRequestSupplier upsertRestaurantRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Restaurant Create a new restaurant

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      201 - Created

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createRestaurantWithResponseSpec(String hotelIdentifier, UpsertRestaurantRequestSupplier upsertRestaurantRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Restaurant Create a new restaurant

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      201 - Created

      Parameters:
      hotelIdentifier - Create a new restaurant record owned by this hotel identifier
      upsertRestaurantRequestSupplier - The upsertRestaurantRequestSupplier 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
    • removeMultimedia3

      public reactor.core.publisher.Mono<RestaurantViewSupplier> removeMultimedia3(String hotelIdentifier, String restaurantIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia Remove media from an existing restaurant.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove a media record from an existing restaurant owned by this hotel identifier.
      restaurantIdentifier - Remove a media record from an existing restaurant identified by this identifier.
      multimediaIdentifier - Remove a media record with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      RestaurantViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMultimedia3WithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantViewSupplier>> removeMultimedia3WithHttpInfo(String hotelIdentifier, String restaurantIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia Remove media from an existing restaurant.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove a media record from an existing restaurant owned by this hotel identifier.
      restaurantIdentifier - Remove a media record from an existing restaurant identified by this identifier.
      multimediaIdentifier - Remove a media record with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RestaurantViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMultimedia3WithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeMultimedia3WithResponseSpec(String hotelIdentifier, String restaurantIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia Remove media from an existing restaurant.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove a media record from an existing restaurant owned by this hotel identifier.
      restaurantIdentifier - Remove a media record from an existing restaurant identified by this identifier.
      multimediaIdentifier - Remove a media record with 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
    • removeRestaurant

      public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeRestaurant(String hotelIdentifier, String restaurantIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Restaurant Remove a restaurant by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove restaurant record owned by this hotel identifier
      restaurantIdentifier - Remove restaurant 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
    • removeRestaurantWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeRestaurantWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Restaurant Remove a restaurant by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove restaurant record owned by this hotel identifier
      restaurantIdentifier - Remove restaurant 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
    • removeRestaurantWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeRestaurantWithResponseSpec(String hotelIdentifier, String restaurantIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Restaurant Remove a restaurant by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove restaurant record owned by this hotel identifier
      restaurantIdentifier - Remove restaurant 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
    • showRestaurant

      public reactor.core.publisher.Mono<RestaurantViewSupplier> showRestaurant(String hotelIdentifier, String restaurantIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Restaurant Retrieve a restaurant by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantViewSupplier>> showRestaurantWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Restaurant Retrieve a restaurant by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showRestaurantWithResponseSpec(String hotelIdentifier, String restaurantIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Restaurant Retrieve a restaurant by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show single restaurant owned by this hotel identifier
      restaurantIdentifier - Show restaurant 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
    • showRestaurantPairs

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

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show restaurant 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
    • showRestaurantPairsWithHttpInfo

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

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show restaurant 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
    • showRestaurantPairsWithResponseSpec

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

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show restaurant 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
    • showRestaurants

      public reactor.core.publisher.Flux<RestaurantViewSupplier> showRestaurants(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Restaurants Retrieve list of restaurants for property.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RestaurantViewSupplier>>> showRestaurantsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Restaurants Retrieve list of restaurants for property.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

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

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

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show restaurants 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
    • updateRestaurant

      public reactor.core.publisher.Mono<RestaurantViewSupplier> updateRestaurant(String hotelIdentifier, String restaurantIdentifier, UpsertRestaurantRequestSupplier upsertRestaurantRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Restaurant Update a restaurant by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Update an existing restaurant record owned by this hotel identifier
      restaurantIdentifier - Update an existing restaurant record identified by this identifier
      upsertRestaurantRequestSupplier - The upsertRestaurantRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      RestaurantViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateRestaurantWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantViewSupplier>> updateRestaurantWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, UpsertRestaurantRequestSupplier upsertRestaurantRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Restaurant Update a restaurant by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateRestaurantWithResponseSpec(String hotelIdentifier, String restaurantIdentifier, UpsertRestaurantRequestSupplier upsertRestaurantRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Restaurant Update a restaurant by its identifier

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Update an existing restaurant record owned by this hotel identifier
      restaurantIdentifier - Update an existing restaurant record identified by this identifier
      upsertRestaurantRequestSupplier - The upsertRestaurantRequestSupplier 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
    • uploadRestaurantMedia

      public reactor.core.publisher.Mono<RestaurantViewSupplier> uploadRestaurantMedia(String hotelIdentifier, String restaurantIdentifier, 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 restaurant.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      207 - Multi-Status

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RestaurantViewSupplier>> uploadRestaurantMediaWithHttpInfo(String hotelIdentifier, String restaurantIdentifier, 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 restaurant.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      207 - Multi-Status

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec uploadRestaurantMediaWithResponseSpec(String hotelIdentifier, String restaurantIdentifier, 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 restaurant.

      503 - Service Unavailable

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      405 - Method Not Allowed

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart files and associate them with an existing restaurant owned by this hotel identifier
      restaurantIdentifier - Upload multipart files and associate them with an existing restaurant 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