Class AddOnApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<UpgradeView>addMultimedia(String hotelIdentifier, String addOnIdentifier, Multimedia multimedia) Add Multimedia Uploads a videos and/or images to an add-on identified by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>>addMultimediaWithHttpInfo(String hotelIdentifier, String addOnIdentifier, Multimedia multimedia) reactor.core.publisher.Mono<UpgradeView>createAddOn(String hotelIdentifier, UpsertAddOnRequest upsertAddOnRequest) Create Add-On Create a new add-on.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>>createAddOnWithHttpInfo(String hotelIdentifier, UpsertAddOnRequest upsertAddOnRequest) reactor.core.publisher.Mono<RemoveEntryResponse>removeAddOn(String hotelIdentifier, String addOnIdentifier, String accept) Delete Add-On Delete an add-on by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeAddOnWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String accept) reactor.core.publisher.Mono<UpgradeView>removeMultimedia1(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, String accept) Delete Multimedia Remove media from an existing add-on.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>>removeMultimedia1WithHttpInfo(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<UpgradeView>Show Add-On Retrieve an add-on by its identifierreactor.core.publisher.Flux<UpgradeView>showAddOns(String hotelIdentifier, String accept) Show Add-Ons Retrieve a list of all add-ons for property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<UpgradeView>>>showAddOnsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>>showAddOnWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String accept) reactor.core.publisher.Mono<UpgradeView>updateAddOn(String hotelIdentifier, String addOnIdentifier, UpsertAddOnRequest upsertAddOnRequest) Update Add-On Update an existing add-on.reactor.core.publisher.Mono<UpgradeView>updateAddOnMultimedia(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, Multimedia multimedia) Update Multimedia Update media meta data for a specific package media entry.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>>updateAddOnMultimediaWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, Multimedia multimedia) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>>updateAddOnWithHttpInfo(String hotelIdentifier, String addOnIdentifier, UpsertAddOnRequest upsertAddOnRequest) reactor.core.publisher.Mono<UpgradeView>uploadBinaryAddOnMedia(String hotelIdentifier, String addOnIdentifier, List<File> files) Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing add-on.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>>uploadBinaryAddOnMediaWithHttpInfo(String hotelIdentifier, String addOnIdentifier, List<File> files) reactor.core.publisher.Mono<AddOnRemovableResponse>verifyAddOnRemovable(String hotelIdentifier, String addOnIdentifier, String accept) Verify Removable Check if an add-on is removable.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AddOnRemovableResponse>>verifyAddOnRemovableWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String accept)
-
Constructor Details
-
AddOnApi
public AddOnApi() -
AddOnApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
addMultimedia
public reactor.core.publisher.Mono<UpgradeView> addMultimedia(String hotelIdentifier, String addOnIdentifier, Multimedia multimedia) throws org.springframework.web.reactive.function.client.WebClientResponseException Add Multimedia Uploads a videos and/or images to an add-on identified by its identifier405 - 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- Add multimedia record to add-on record owned by this hotel identifieraddOnIdentifier- Add multimedia record to add-on with this identifiermultimedia- The multimedia parameter- Returns:
- UpgradeView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
addMultimediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> addMultimediaWithHttpInfo(String hotelIdentifier, String addOnIdentifier, Multimedia multimedia) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
createAddOn
public reactor.core.publisher.Mono<UpgradeView> createAddOn(String hotelIdentifier, UpsertAddOnRequest upsertAddOnRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Add-On Create a new add-on.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
201 - Created
- Parameters:
hotelIdentifier- Create a new add-on record owned by this hotel identifierupsertAddOnRequest- The upsertAddOnRequest parameter- Returns:
- UpgradeView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createAddOnWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> createAddOnWithHttpInfo(String hotelIdentifier, UpsertAddOnRequest upsertAddOnRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeAddOn
public reactor.core.publisher.Mono<RemoveEntryResponse> removeAddOn(String hotelIdentifier, String addOnIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Add-On Delete an add-on by its identifier405 - 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 add-on record owned by this hotel identifieraddOnIdentifier- Remove add-on record identified by 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
-
removeAddOnWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeAddOnWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeMultimedia1
public reactor.core.publisher.Mono<UpgradeView> removeMultimedia1(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Multimedia Remove media from an existing add-on.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 media record from an existing add-on owned by this hotel identifier.addOnIdentifier- Remove a media record from an existing add-on identified by this identifier.multimediaIdentifier- Remove a media record with this identifieraccept- The accept parameter- Returns:
- UpgradeView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeMultimedia1WithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> removeMultimedia1WithHttpInfo(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showAddOn
public reactor.core.publisher.Mono<UpgradeView> showAddOn(String hotelIdentifier, String addOnIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Add-On Retrieve an add-on by its identifier405 - 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 single add-on owned by this hotel identifieraddOnIdentifier- Show add-on record identified by this identifieraccept- The accept parameter- Returns:
- UpgradeView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAddOnWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> showAddOnWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showAddOns
public reactor.core.publisher.Flux<UpgradeView> showAddOns(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Add-Ons Retrieve a list of all add-ons 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 add-ons owned by this hotel identifieraccept- The accept parameter- Returns:
- List<UpgradeView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAddOnsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<UpgradeView>>> showAddOnsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateAddOn
public reactor.core.publisher.Mono<UpgradeView> updateAddOn(String hotelIdentifier, String addOnIdentifier, UpsertAddOnRequest upsertAddOnRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Add-On Update an existing add-on.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- Update an existing add-on record owned by this hotel identifieraddOnIdentifier- Update an existing add-on record identified by this identifierupsertAddOnRequest- The upsertAddOnRequest parameter- Returns:
- UpgradeView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateAddOnWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> updateAddOnWithHttpInfo(String hotelIdentifier, String addOnIdentifier, UpsertAddOnRequest upsertAddOnRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateAddOnMultimedia
public reactor.core.publisher.Mono<UpgradeView> updateAddOnMultimedia(String hotelIdentifier, String addOnIdentifier, 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
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Update existing multimedia record on add-on record owned by this hotel identifieraddOnIdentifier- Update existing multimedia record on add-on with this identifiermultimediaIdentifier- Update existing multimedia record with this identifiermultimedia- The multimedia parameter- Returns:
- UpgradeView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateAddOnMultimediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> updateAddOnMultimediaWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, Multimedia multimedia) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
uploadBinaryAddOnMedia
public reactor.core.publisher.Mono<UpgradeView> uploadBinaryAddOnMedia(String hotelIdentifier, String addOnIdentifier, 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 add-on.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 files and associate them with an existing add-on owned by this hotel identifieraddOnIdentifier- Upload multipart files and associate them with an existing add-on with this identifierfiles- The files parameter- Returns:
- UpgradeView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadBinaryAddOnMediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> uploadBinaryAddOnMediaWithHttpInfo(String hotelIdentifier, String addOnIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
verifyAddOnRemovable
public reactor.core.publisher.Mono<AddOnRemovableResponse> verifyAddOnRemovable(String hotelIdentifier, String addOnIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Verify Removable Check if an add-on is removable. If an add-on 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
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Add-on record is owned by this hotel identifier.addOnIdentifier- Add-on record is identified by this identifier.accept- The accept parameter- Returns:
- AddOnRemovableResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
verifyAddOnRemovableWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AddOnRemovableResponse>> verifyAddOnRemovableWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-