Class MediaApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-28T12:57:25.040272+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)
    • removeMediaList

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Remove selected media for this hotel identifier
      multimediaIdentifiers - Remove media identified by these identifiers
      accept - The accept parameter
      Returns:
      RemoveListEntriesResponse
      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<RemoveListEntriesResponse>> removeMediaListWithHttpInfo(String hotelIdentifier, List<String> multimediaIdentifiers, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeMultimedia

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      202 - Accepted

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeMultimediaWithHttpInfo(String hotelIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • saveMediaList

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<MultimediaView>>> saveMediaListWithHttpInfo(String hotelIdentifier, List<Multimedia> multimedia) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showMediaList

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Show media associated with this hotel identifier
      accept - The accept parameter
      Returns:
      List<MultimediaView>
      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<MultimediaView>>> showMediaListWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateMultimedia

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      202 - Accepted

      Parameters:
      hotelIdentifier - Update a single media associated with this hotel identifier
      multimediaIdentifier - Update record for this media identifier
      multimedia - The multimedia parameter
      Returns:
      Multimedia
      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<Multimedia>> updateMultimediaWithHttpInfo(String hotelIdentifier, String multimediaIdentifier, Multimedia multimedia) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • uploadGeneralManagerProfilePicture

      public reactor.core.publisher.Mono<Multimedia> 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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Add general manager profile picture for this hotel identifier
      _file - The _file parameter
      Returns:
      Multimedia
      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<Multimedia>> uploadGeneralManagerProfilePictureWithHttpInfo(String hotelIdentifier, File _file) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • uploadMultimedia1

      public reactor.core.publisher.Flux<MultimediaView> uploadMultimedia1(String hotelIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Multimedia Save multimedia of a hotel identified by its identifier

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      207 - Multi-Status

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

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