Class SpaApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-08T16:32:28.411222+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<SpaView> createSpa(String hotelIdentifier, UpsertSpaRequest upsertSpaRequest) 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
      upsertSpaRequest - The upsertSpaRequest parameter
      Returns:
      SpaView
      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<SpaView>> createSpaWithHttpInfo(String hotelIdentifier, UpsertSpaRequest upsertSpaRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • deleteMultimedia

      public reactor.core.publisher.Mono<SpaView> deleteMultimedia(String hotelIdentifier, String spaIdentifier, String multimediaIdentifier, String accept) 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
      accept - The accept parameter
      Returns:
      SpaView
      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<SpaView>> deleteMultimediaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeSpa

      public reactor.core.publisher.Mono<RemoveEntryResponse> removeSpa(String hotelIdentifier, String spaIdentifier, String accept) 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
      accept - The accept parameter
      Returns:
      RemoveEntryResponse
      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<RemoveEntryResponse>> removeSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showSpa

      public reactor.core.publisher.Mono<SpaView> showSpa(String hotelIdentifier, String spaIdentifier, String accept) 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
      accept - The accept parameter
      Returns:
      SpaView
      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<SpaView>> showSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showSpaPairs

      public reactor.core.publisher.Flux<KeyValuePair> showSpaPairs(String hotelIdentifier, String accept) 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
      accept - The accept parameter
      Returns:
      List<KeyValuePair>
      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<KeyValuePair>>> showSpaPairsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showSpas

      public reactor.core.publisher.Flux<SpaView> showSpas(String hotelIdentifier, String accept) 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
      accept - The accept parameter
      Returns:
      List<SpaView>
      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<SpaView>>> showSpasWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateSpa

      public reactor.core.publisher.Mono<SpaView> updateSpa(String hotelIdentifier, String spaIdentifier, UpsertSpaRequest upsertSpaRequest) 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
      upsertSpaRequest - The upsertSpaRequest parameter
      Returns:
      SpaView
      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<SpaView>> updateSpaWithHttpInfo(String hotelIdentifier, String spaIdentifier, UpsertSpaRequest upsertSpaRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • uploadSpaMedia

      public reactor.core.publisher.Mono<SpaView> 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:
      SpaView
      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<SpaView>> uploadSpaMediaWithHttpInfo(String hotelIdentifier, String spaIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException