Class MediaApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Multimedia>createMultimedia(String hotelIdentifier, Multimedia multimedia, String winkVersion) Create Multimedia Save multimedia of a hotel identified by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Multimedia>>createMultimediaWithHttpInfo(String hotelIdentifier, Multimedia multimedia, String winkVersion) reactor.core.publisher.Mono<RemoveListEntriesResponse>removeMediaList(String hotelIdentifier, List<String> multimediaIdentifiers, String winkVersion) Delete Multimedia List Remove multimedia list of a hotel identified by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveListEntriesResponse>>removeMediaListWithHttpInfo(String hotelIdentifier, List<String> multimediaIdentifiers, String winkVersion) reactor.core.publisher.Mono<RemoveEntryResponse>removeMultimedia(String hotelIdentifier, String multimediaIdentifier, String winkVersion) Delete Multimedia Remove multimedia record for hotel identified by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeMultimediaWithHttpInfo(String hotelIdentifier, String multimediaIdentifier, String winkVersion) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<MultimediaView>showMediaList(String hotelIdentifier, String winkVersion) Show Multimedia Retrieve list of multimedia (images / videos) for property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<MultimediaView>>>showMediaListWithHttpInfo(String hotelIdentifier, String winkVersion) reactor.core.publisher.Flux<MultimediaView>updateMediaList(String hotelIdentifier, List<Multimedia> multimedia, String winkVersion) Update Multimedia List Save/Update multimedia list of a hotel identified by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<MultimediaView>>>updateMediaListWithHttpInfo(String hotelIdentifier, List<Multimedia> multimedia, String winkVersion) reactor.core.publisher.Mono<Multimedia>updateMultimedia(String hotelIdentifier, String multimediaIdentifier, Multimedia multimedia, String winkVersion) Update Multimedia Update multimedia properties of a hotel identified by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Multimedia>>updateMultimediaWithHttpInfo(String hotelIdentifier, String multimediaIdentifier, Multimedia multimedia, String winkVersion) reactor.core.publisher.Mono<Multimedia>uploadGeneralManagerProfilePicture(String hotelIdentifier, File _file) Upload GM Profile Image Uploads videos and/or images to the general manager profile associated with hotel identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Multimedia>>uploadGeneralManagerProfilePictureWithHttpInfo(String hotelIdentifier, File _file) reactor.core.publisher.Flux<MultimediaView>uploadMultimedia(String hotelIdentifier, List<File> files) Upload Multimedia Upload videos and/or images and associate it with specified hotelIdentifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<MultimediaView>>>uploadMultimediaWithHttpInfo(String hotelIdentifier, List<File> files)
-
Constructor Details
-
MediaApi
public MediaApi() -
MediaApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createMultimedia
public reactor.core.publisher.Mono<Multimedia> createMultimedia(String hotelIdentifier, Multimedia multimedia, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Multimedia Save multimedia of a hotel identified by its identifier503 - 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- Save a single media associated with this hotel identifiermultimedia- The multimedia parameterwinkVersion- The winkVersion parameter- Returns:
- Multimedia
- 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<Multimedia>> createMultimediaWithHttpInfo(String hotelIdentifier, Multimedia multimedia, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeMediaList
public reactor.core.publisher.Mono<RemoveListEntriesResponse> 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 identifier503 - 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- Remove selected media for this hotel identifiermultimediaIdentifiers- Remove media identified by these identifierswinkVersion- The winkVersion 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 winkVersion) 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Multimedia Remove multimedia record for hotel identified by its identifier503 - 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 single media associated with this hotel identifiermultimediaIdentifier- Remove record for this media identifierwinkVersion- The winkVersion 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 winkVersion) 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 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
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show media associated with this hotel identifierwinkVersion- The winkVersion 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateMediaList
public reactor.core.publisher.Flux<MultimediaView> updateMediaList(String hotelIdentifier, List<Multimedia> multimedia, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Multimedia List Save/Update multimedia list of a hotel identified by its identifier503 - 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- Save media to the property with this hotel identifiermultimedia- The multimedia parameterwinkVersion- The winkVersion parameter- Returns:
- List<MultimediaView>
- 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<MultimediaView>>> updateMediaListWithHttpInfo(String hotelIdentifier, List<Multimedia> multimedia, String winkVersion) 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, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Multimedia Update multimedia properties of a hotel identified by its identifier503 - 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- Update a single media associated with this hotel identifiermultimediaIdentifier- Update record for this media identifiermultimedia- The multimedia parameterwinkVersion- The winkVersion 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, String winkVersion) 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 identifier503 - 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- 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
-
uploadMultimedia
public reactor.core.publisher.Flux<MultimediaView> 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 hotelIdentifier503 - 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 file media for this hotel identifierfiles- The files parameter- Returns:
- List<MultimediaView>
- 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<MultimediaView>>> uploadMultimediaWithHttpInfo(String hotelIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-