Class PackageApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<BundleView>addMedia(String hotelIdentifier, String packageIdentifier, Multimedia multimedia) Add Multimedia Add a media record for a video and/or image to a package identified by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>>addMediaWithHttpInfo(String hotelIdentifier, String packageIdentifier, Multimedia multimedia) reactor.core.publisher.Mono<BundleView>createPackage(String hotelIdentifier, UpsertBundleRequest upsertBundleRequest) Create Package Create a new packagereactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>>createPackageWithHttpInfo(String hotelIdentifier, UpsertBundleRequest upsertBundleRequest) reactor.core.publisher.Mono<PackageRemovableResponse>removableBundle(String hotelIdentifier, String packageIdentifier, String accept) Verify Removable Check if an package is removable.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PackageRemovableResponse>>removableBundleWithHttpInfo(String hotelIdentifier, String packageIdentifier, String accept) reactor.core.publisher.Mono<BundleView>removeMultimedia5(String hotelIdentifier, String packageIdentifier, String multimediaIdentifier, String accept) Delete Multimedia Remove package image / video by its identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>>removeMultimedia5WithHttpInfo(String hotelIdentifier, String packageIdentifier, String multimediaIdentifier, String accept) reactor.core.publisher.Mono<RemoveEntryResponse>removePackage(String hotelIdentifier, String packageIdentifier, String accept) Delete Package Remove a package by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removePackageWithHttpInfo(String hotelIdentifier, String packageIdentifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<BundleView>showPackage(String hotelIdentifier, String packageIdentifier, String accept) Show Package Retrieve a package by its identifierreactor.core.publisher.Flux<BundleView>showPackages(String hotelIdentifier, String accept) Show Packages Retrieve list of packages for property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BundleView>>>showPackagesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>>showPackageWithHttpInfo(String hotelIdentifier, String packageIdentifier, String accept) reactor.core.publisher.Mono<BundleView>updateMultimedia1(String hotelIdentifier, String packageIdentifier, String multimediaIdentifier, Multimedia multimedia) Update Multimedia Update media meta data for a specific package media entry.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>>updateMultimedia1WithHttpInfo(String hotelIdentifier, String packageIdentifier, String multimediaIdentifier, Multimedia multimedia) reactor.core.publisher.Mono<BundleView>updatePackage(String hotelIdentifier, String packageIdentifier, UpsertBundleRequest upsertBundleRequest) Update Package Update an existing packagereactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>>updatePackageWithHttpInfo(String hotelIdentifier, String packageIdentifier, UpsertBundleRequest upsertBundleRequest) reactor.core.publisher.Mono<BundleView>uploadBinaryPackageMedia(String hotelIdentifier, String packageIdentifier, List<File> files) Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing package.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>>uploadBinaryPackageMediaWithHttpInfo(String hotelIdentifier, String packageIdentifier, List<File> files)
-
Constructor Details
-
PackageApi
public PackageApi() -
PackageApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
addMedia
public reactor.core.publisher.Mono<BundleView> addMedia(String hotelIdentifier, String packageIdentifier, Multimedia multimedia) throws org.springframework.web.reactive.function.client.WebClientResponseException Add Multimedia Add a media record for a video and/or image to a package identified by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Add package media for hotel associated with this hotel identifierpackageIdentifier- Add package media to package with this identifiermultimedia- The multimedia parameter- Returns:
- BundleView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
addMediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>> addMediaWithHttpInfo(String hotelIdentifier, String packageIdentifier, Multimedia multimedia) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
createPackage
public reactor.core.publisher.Mono<BundleView> createPackage(String hotelIdentifier, UpsertBundleRequest upsertBundleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Package Create a new package405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
201 - Created
- Parameters:
hotelIdentifier- Create new package and associated with this hotel identifierupsertBundleRequest- The upsertBundleRequest parameter- Returns:
- BundleView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createPackageWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>> createPackageWithHttpInfo(String hotelIdentifier, UpsertBundleRequest upsertBundleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removableBundle
public reactor.core.publisher.Mono<PackageRemovableResponse> removableBundle(String hotelIdentifier, String packageIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Verify Removable Check if an package is removable. If an package is associated / linked with a promotion or rate plan, it cannot be removed until the associated entity removes it first.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Verify if package is removable for package associated with this hotel identifierpackageIdentifier- Verify if package with this identifier is removableaccept- The accept parameter- Returns:
- PackageRemovableResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removableBundleWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PackageRemovableResponse>> removableBundleWithHttpInfo(String hotelIdentifier, String packageIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeMultimedia5
public reactor.core.publisher.Mono<BundleView> removeMultimedia5(String hotelIdentifier, String packageIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Multimedia Remove package image / video by its identifier. Returns the updated package record.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
202 - Accepted
- Parameters:
hotelIdentifier- Remove package media associated with this hotel identifierpackageIdentifier- Remove package media for this package identifiermultimediaIdentifier- Remove package media with this identifieraccept- The accept parameter- Returns:
- BundleView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeMultimedia5WithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>> removeMultimedia5WithHttpInfo(String hotelIdentifier, String packageIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removePackage
public reactor.core.publisher.Mono<RemoveEntryResponse> removePackage(String hotelIdentifier, String packageIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Package Remove a package by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
202 - Accepted
- Parameters:
hotelIdentifier- Remove package owned by this hotel identifierpackageIdentifier- Remove package with this identifieraccept- The accept parameter- Returns:
- RemoveEntryResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removePackageWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removePackageWithHttpInfo(String hotelIdentifier, String packageIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showPackage
public reactor.core.publisher.Mono<BundleView> showPackage(String hotelIdentifier, String packageIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Package Retrieve a package by its identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Show package associated with this hotel identifierpackageIdentifier- Show package with this identifieraccept- The accept parameter- Returns:
- BundleView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPackageWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>> showPackageWithHttpInfo(String hotelIdentifier, String packageIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showPackages
public reactor.core.publisher.Flux<BundleView> showPackages(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Packages Retrieve list of packages for property.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Show packages associated with this hotel identifieraccept- The accept parameter- Returns:
- List<BundleView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPackagesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<BundleView>>> showPackagesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateMultimedia1
public reactor.core.publisher.Mono<BundleView> updateMultimedia1(String hotelIdentifier, String packageIdentifier, String multimediaIdentifier, Multimedia multimedia) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Multimedia Update media meta data for a specific package media entry.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Update package media associated with this hotel identifierpackageIdentifier- Update package media for this package identifiermultimediaIdentifier- Update package media with this identifiermultimedia- The multimedia parameter- Returns:
- BundleView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateMultimedia1WithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>> updateMultimedia1WithHttpInfo(String hotelIdentifier, String packageIdentifier, String multimediaIdentifier, Multimedia multimedia) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updatePackage
public reactor.core.publisher.Mono<BundleView> updatePackage(String hotelIdentifier, String packageIdentifier, UpsertBundleRequest upsertBundleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Package Update an existing package405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
200 - OK
- Parameters:
hotelIdentifier- Update package associated with this hotel identifierpackageIdentifier- Update package with this identifierupsertBundleRequest- The upsertBundleRequest parameter- Returns:
- BundleView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updatePackageWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>> updatePackageWithHttpInfo(String hotelIdentifier, String packageIdentifier, UpsertBundleRequest upsertBundleRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
uploadBinaryPackageMedia
public reactor.core.publisher.Mono<BundleView> uploadBinaryPackageMedia(String hotelIdentifier, String packageIdentifier, 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 package.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
500 - Internal Server Error
404 - Not Found
207 - Multi-Status
- Parameters:
hotelIdentifier- Upload package media associated with this hotel identifierpackageIdentifier- Upload package media for this package identifierfiles- The files parameter- Returns:
- BundleView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadBinaryPackageMediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<BundleView>> uploadBinaryPackageMediaWithHttpInfo(String hotelIdentifier, String packageIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-