Class SpaApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-18T08:52:26.126132332+07:00[Asia/Bangkok]") public class SpaApi extends Object
  • Constructor Details

    • SpaApi

      public SpaApi()
    • SpaApi

      @Autowired public SpaApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createSpa

      public reactor.core.publisher.Mono<SpaViewSupplier> createSpa(String hotelIdentifier, UpsertSpaRequestSupplier upsertSpaRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Spa Create a new spa

      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

      201 - Created

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaViewSupplier>> createSpaWithHttpInfo(String hotelIdentifier, UpsertSpaRequestSupplier upsertSpaRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • deleteMultimedia

      public reactor.core.publisher.Mono<SpaViewSupplier> deleteMultimedia(String hotelIdentifier, String spaIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia Remove media from an existing spa.

      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

      202 - Accepted

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaViewSupplier>> deleteMultimediaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeSpa

      public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeSpa(String hotelIdentifier, String spaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Spa Delete a spa by its identifier

      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

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove spa record owned by this hotel identifier
      spaIdentifier - 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
    • removeSpaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showSpa

      public reactor.core.publisher.Mono<SpaViewSupplier> showSpa(String hotelIdentifier, String spaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Spa Retrieve a spa by its identifier

      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 - Show single spa owned by this hotel identifier
      spaIdentifier - Show spa record identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      SpaViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSpaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaViewSupplier>> showSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showSpaPairs

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

      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 - Show spa 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
    • showSpaPairsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePairSupplier>>> showSpaPairsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showSpas

      public reactor.core.publisher.Flux<SpaViewSupplier> showSpas(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Spas Retrieve list of spas for property.

      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 - Show spas owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      List<SpaViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSpasWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SpaViewSupplier>>> showSpasWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateSpa

      public reactor.core.publisher.Mono<SpaViewSupplier> updateSpa(String hotelIdentifier, String spaIdentifier, UpsertSpaRequestSupplier upsertSpaRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Spa Update a spa by its identifier

      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 an existing spa record owned by this hotel identifier
      spaIdentifier - Update an existing spa record identified by this identifier
      upsertSpaRequestSupplier - The upsertSpaRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      SpaViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateSpaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaViewSupplier>> updateSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, UpsertSpaRequestSupplier upsertSpaRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • uploadSpaMedia

      public reactor.core.publisher.Mono<SpaViewSupplier> uploadSpaMedia(String hotelIdentifier, String spaIdentifier, 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 spa.

      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

      207 - Multi-Status

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SpaViewSupplier>> uploadSpaMediaWithHttpInfo(String hotelIdentifier, String spaIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException