Class ActivityApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<RemoveEntryResponse>removeActivity(String hotelIdentifier, String activityIdentifier, String accept) Delete Activity Delete a activity by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeActivityWithHttpInfo(String hotelIdentifier, String activityIdentifier, String accept) reactor.core.publisher.Mono<RecreationView>saveActivity(String hotelIdentifier, Recreation recreation) Create Activity Persist new activity record.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecreationView>>saveActivityWithHttpInfo(String hotelIdentifier, Recreation recreation) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<RecreationView>showActivities(String hotelIdentifier, String accept) Show Activities Retrieve list of activities for property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RecreationView>>>showActivitiesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<RecreationView>showActivity(String hotelIdentifier, String activityIdentifier, String accept) Show Activity Retrieve activity record by its identifier.reactor.core.publisher.Flux<KeyValuePair>showActivityPairs(String hotelIdentifier, String accept) Show Activities as key/value pairs This is a more performant way to populate activity lists instead of downloading entire activity object.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showActivityPairsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecreationView>>showActivityWithHttpInfo(String hotelIdentifier, String activityIdentifier, String accept) reactor.core.publisher.Mono<RecreationView>updateActivity(String hotelIdentifier, String activityIdentifier, Recreation recreation) Update Activity Update a recreation by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecreationView>>updateActivityWithHttpInfo(String hotelIdentifier, String activityIdentifier, Recreation recreation) reactor.core.publisher.Mono<RecreationView>uploadActivityMedia(String hotelIdentifier, String activityIdentifier, 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<RecreationView>>uploadActivityMediaWithHttpInfo(String hotelIdentifier, String activityIdentifier, List<File> files)
-
Constructor Details
-
ActivityApi
public ActivityApi() -
ActivityApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
removeActivity
public reactor.core.publisher.Mono<RemoveEntryResponse> removeActivity(String hotelIdentifier, String activityIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Activity Delete a activity 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- Delete activity owned by this hotel identifieractivityIdentifier- Delete activity 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
-
removeActivityWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeActivityWithHttpInfo(String hotelIdentifier, String activityIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
saveActivity
public reactor.core.publisher.Mono<RecreationView> saveActivity(String hotelIdentifier, Recreation recreation) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Activity Persist new activity record.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- Persist activity owned by this hotel identifierrecreation- The recreation parameter- Returns:
- RecreationView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
saveActivityWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecreationView>> saveActivityWithHttpInfo(String hotelIdentifier, Recreation recreation) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showActivities
public reactor.core.publisher.Flux<RecreationView> showActivities(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Activities Retrieve list of activities 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 activities associated with this hotel identifieraccept- The accept parameter- Returns:
- List<RecreationView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showActivitiesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RecreationView>>> showActivitiesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showActivity
public reactor.core.publisher.Mono<RecreationView> showActivity(String hotelIdentifier, String activityIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Activity Retrieve activity record 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- Show activity owned by this hotel identifieractivityIdentifier- Show activity for identifieraccept- The accept parameter- Returns:
- RecreationView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showActivityWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecreationView>> showActivityWithHttpInfo(String hotelIdentifier, String activityIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showActivityPairs
public reactor.core.publisher.Flux<KeyValuePair> showActivityPairs(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Activities as key/value pairs This is a more performant way to populate activity lists instead of downloading entire activity object.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 activity key/value pairs associated with this hotel identifieraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showActivityPairsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showActivityPairsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateActivity
public reactor.core.publisher.Mono<RecreationView> updateActivity(String hotelIdentifier, String activityIdentifier, Recreation recreation) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Activity Update a recreation 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- Update existing activity record owned by this hotel identifieractivityIdentifier- Update activity record with this identifierrecreation- The recreation parameter- Returns:
- RecreationView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateActivityWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecreationView>> updateActivityWithHttpInfo(String hotelIdentifier, String activityIdentifier, Recreation recreation) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
uploadActivityMedia
public reactor.core.publisher.Mono<RecreationView> uploadActivityMedia(String hotelIdentifier, String activityIdentifier, 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 media for activity owned by this hotel identifieractivityIdentifier- Associate multipart media with activity identified by this identifierfiles- The files parameter- Returns:
- RecreationView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadActivityMediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecreationView>> uploadActivityMediaWithHttpInfo(String hotelIdentifier, String activityIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-