Class MediaApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-23T13:12:29.043847278+07:00[Asia/Bangkok]") public class MediaApi extends Object
  • Constructor Details

    • MediaApi

      public MediaApi()
    • MediaApi

      @Autowired public MediaApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createMultimedia

      public reactor.core.publisher.Mono<MultimediaViewSupplier> createMultimedia(String hotelIdentifier, SimpleMultimediaSupplier simpleMultimediaSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Multimedia Save multimedia of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      201 - Created

      Parameters:
      hotelIdentifier - Save a single media associated with this hotel identifier
      simpleMultimediaSupplier - The simpleMultimediaSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      MultimediaViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createMultimediaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MultimediaViewSupplier>> createMultimediaWithHttpInfo(String hotelIdentifier, SimpleMultimediaSupplier simpleMultimediaSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Multimedia Save multimedia of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      201 - Created

      Parameters:
      hotelIdentifier - Save a single media associated with this hotel identifier
      simpleMultimediaSupplier - The simpleMultimediaSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<MultimediaViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createMultimediaWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createMultimediaWithResponseSpec(String hotelIdentifier, SimpleMultimediaSupplier simpleMultimediaSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Multimedia Save multimedia of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      201 - Created

      Parameters:
      hotelIdentifier - Save a single media associated with this hotel identifier
      simpleMultimediaSupplier - The simpleMultimediaSupplier 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
    • removeMediaList

      public reactor.core.publisher.Mono<RemoveListEntriesResponseSupplier> removeMediaList(String hotelIdentifier, List<String> multimediaIdentifiers, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia List Remove multimedia list of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Remove selected media for this hotel identifier
      multimediaIdentifiers - Remove media identified by these identifiers
      winkVersion - The winkVersion parameter
      Returns:
      RemoveListEntriesResponseSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMediaListWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveListEntriesResponseSupplier>> removeMediaListWithHttpInfo(String hotelIdentifier, List<String> multimediaIdentifiers, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia List Remove multimedia list of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Remove selected media for this hotel identifier
      multimediaIdentifiers - Remove media identified by these identifiers
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RemoveListEntriesResponseSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMediaListWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeMediaListWithResponseSpec(String hotelIdentifier, List<String> multimediaIdentifiers, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia List Remove multimedia list of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Remove selected media for this hotel identifier
      multimediaIdentifiers - Remove media identified by these identifiers
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMultimedia

      public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeMultimedia(String hotelIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia Remove multimedia record for hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove a single media associated with this hotel identifier
      multimediaIdentifier - Remove record for this media 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
    • removeMultimediaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeMultimediaWithHttpInfo(String hotelIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia Remove multimedia record for hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove a single media associated with this hotel identifier
      multimediaIdentifier - Remove record for this media 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
    • removeMultimediaWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeMultimediaWithResponseSpec(String hotelIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia Remove multimedia record for hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove a single media associated with this hotel identifier
      multimediaIdentifier - Remove record for this media 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
    • showMediaList

      public reactor.core.publisher.Flux<MultimediaViewSupplier> showMediaList(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Multimedia Retrieve list of multimedia (images / videos) for property.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show media associated with this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      List<MultimediaViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showMediaListWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<MultimediaViewSupplier>>> showMediaListWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Multimedia Retrieve list of multimedia (images / videos) for property.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show media associated with this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<MultimediaViewSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showMediaListWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showMediaListWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Multimedia Retrieve list of multimedia (images / videos) for property.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show media associated with 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
    • updateMediaList

      public reactor.core.publisher.Flux<MultimediaViewSupplier> updateMediaList(String hotelIdentifier, List<SimpleMultimediaSupplier> simpleMultimediaSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Multimedia List Save/Update multimedia list of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Save media to the property with this hotel identifier
      simpleMultimediaSupplier - The simpleMultimediaSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<MultimediaViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateMediaListWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<MultimediaViewSupplier>>> updateMediaListWithHttpInfo(String hotelIdentifier, List<SimpleMultimediaSupplier> simpleMultimediaSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Multimedia List Save/Update multimedia list of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Save media to the property with this hotel identifier
      simpleMultimediaSupplier - The simpleMultimediaSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<MultimediaViewSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateMediaListWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateMediaListWithResponseSpec(String hotelIdentifier, List<SimpleMultimediaSupplier> simpleMultimediaSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Multimedia List Save/Update multimedia list of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Save media to the property with this hotel identifier
      simpleMultimediaSupplier - The simpleMultimediaSupplier 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
    • updateMultimedia

      public reactor.core.publisher.Mono<MultimediaViewSupplier> updateMultimedia(String hotelIdentifier, String multimediaIdentifier, SimpleMultimediaSupplier simpleMultimediaSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Multimedia Update multimedia properties of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Update a single media associated with this hotel identifier
      multimediaIdentifier - Update record for this media identifier
      simpleMultimediaSupplier - The simpleMultimediaSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      MultimediaViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateMultimediaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<MultimediaViewSupplier>> updateMultimediaWithHttpInfo(String hotelIdentifier, String multimediaIdentifier, SimpleMultimediaSupplier simpleMultimediaSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Multimedia Update multimedia properties of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Update a single media associated with this hotel identifier
      multimediaIdentifier - Update record for this media identifier
      simpleMultimediaSupplier - The simpleMultimediaSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<MultimediaViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateMultimediaWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateMultimediaWithResponseSpec(String hotelIdentifier, String multimediaIdentifier, SimpleMultimediaSupplier simpleMultimediaSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Multimedia Update multimedia properties of a hotel identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Update a single media associated with this hotel identifier
      multimediaIdentifier - Update record for this media identifier
      simpleMultimediaSupplier - The simpleMultimediaSupplier 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
    • uploadGeneralManagerProfilePicture

      public reactor.core.publisher.Mono<SimpleMultimediaSupplier> uploadGeneralManagerProfilePicture(String hotelIdentifier, File _file) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload GM Profile Image Uploads videos and/or images to the general manager profile associated with hotel identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Add general manager profile picture for this hotel identifier
      _file - The _file parameter
      Returns:
      SimpleMultimediaSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadGeneralManagerProfilePictureWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SimpleMultimediaSupplier>> uploadGeneralManagerProfilePictureWithHttpInfo(String hotelIdentifier, File _file) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload GM Profile Image Uploads videos and/or images to the general manager profile associated with hotel identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Add general manager profile picture for this hotel identifier
      _file - The _file parameter
      Returns:
      ResponseEntity<SimpleMultimediaSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadGeneralManagerProfilePictureWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec uploadGeneralManagerProfilePictureWithResponseSpec(String hotelIdentifier, File _file) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload GM Profile Image Uploads videos and/or images to the general manager profile associated with hotel identifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Add general manager profile picture for this hotel identifier
      _file - The _file parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadMultimedia

      public reactor.core.publisher.Flux<MultimediaViewSupplier> uploadMultimedia(String hotelIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload Multimedia Upload videos and/or images and associate it with specified hotelIdentifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart file media for this hotel identifier
      files - The files parameter
      Returns:
      List<MultimediaViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadMultimediaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<MultimediaViewSupplier>>> uploadMultimediaWithHttpInfo(String hotelIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload Multimedia Upload videos and/or images and associate it with specified hotelIdentifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart file media for this hotel identifier
      files - The files parameter
      Returns:
      ResponseEntity<List<MultimediaViewSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadMultimediaWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec uploadMultimediaWithResponseSpec(String hotelIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload Multimedia Upload videos and/or images and associate it with specified hotelIdentifier

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart file media for this hotel 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