Class AttractionApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<AttractionView> createAttraction(String hotelIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) Create Attraction Create a new attractionreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AttractionView>> createAttractionWithHttpInfo(String hotelIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) Create Attraction Create a new attractionorg.springframework.web.reactive.function.client.WebClient.ResponseSpeccreateAttractionWithResponseSpec(String hotelIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) Create Attraction Create a new attractionreactor.core.publisher.Mono<RemoveEntryResponse> removeAttraction(String hotelIdentifier, String attractionIdentifier, String winkVersion) Delete attraction Delete an attraction by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeAttractionWithHttpInfo(String hotelIdentifier, String attractionIdentifier, String winkVersion) Delete attraction Delete an attraction by its identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecremoveAttractionWithResponseSpec(String hotelIdentifier, String attractionIdentifier, String winkVersion) Delete attraction Delete an attraction by its identifiervoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<AttractionView> showAttraction(String hotelIdentifier, String attractionIdentifier, String winkVersion) Show Attraction Retrieve an attraction by identifierreactor.core.publisher.Flux<KeyValuePair> showAttractionPairs(String hotelIdentifier, String winkVersion) Show Attractions as Pairs Retrieve list of key value pairs (identifier, name)reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showAttractionPairsWithHttpInfo(String hotelIdentifier, String winkVersion) Show Attractions as Pairs Retrieve list of key value pairs (identifier, name)org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowAttractionPairsWithResponseSpec(String hotelIdentifier, String winkVersion) Show Attractions as Pairs Retrieve list of key value pairs (identifier, name)reactor.core.publisher.Flux<AttractionView> showAttractions(String hotelIdentifier, String winkVersion) Show Attractions Retrieve list of attractionsreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<AttractionView>>> showAttractionsWithHttpInfo(String hotelIdentifier, String winkVersion) Show Attractions Retrieve list of attractionsorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowAttractionsWithResponseSpec(String hotelIdentifier, String winkVersion) Show Attractions Retrieve list of attractionsreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AttractionView>> showAttractionWithHttpInfo(String hotelIdentifier, String attractionIdentifier, String winkVersion) Show Attraction Retrieve an attraction by identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowAttractionWithResponseSpec(String hotelIdentifier, String attractionIdentifier, String winkVersion) Show Attraction Retrieve an attraction by identifierreactor.core.publisher.Mono<AttractionView> updateAttraction(String hotelIdentifier, String attractionIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) Update Attraction Update an attraction by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AttractionView>> updateAttractionWithHttpInfo(String hotelIdentifier, String attractionIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) Update Attraction Update an attraction by its identifierorg.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateAttractionWithResponseSpec(String hotelIdentifier, String attractionIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) Update Attraction Update an attraction by its identifierreactor.core.publisher.Mono<AttractionView> uploadAttractionMedia(String hotelIdentifier, String attractionIdentifier, List<File> files) Upload Binary Multimedia Upload binary videos and/or images to an attraction identified by its identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AttractionView>> uploadAttractionMediaWithHttpInfo(String hotelIdentifier, String attractionIdentifier, List<File> files) Upload Binary Multimedia Upload binary videos and/or images to an attraction identified by its identifier.org.springframework.web.reactive.function.client.WebClient.ResponseSpecuploadAttractionMediaWithResponseSpec(String hotelIdentifier, String attractionIdentifier, List<File> files) Upload Binary Multimedia Upload binary videos and/or images to an attraction identified by its identifier.
-
Constructor Details
-
AttractionApi
public AttractionApi() -
AttractionApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createAttraction
public reactor.core.publisher.Mono<AttractionView> createAttraction(String hotelIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Attraction Create a new attraction400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
201 - Created
- Parameters:
hotelIdentifier- Persist attraction owned by this hotel identifierupsertAttractionRequest- The upsertAttractionRequest parameterwinkVersion- The winkVersion parameter- Returns:
- AttractionView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createAttractionWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AttractionView>> createAttractionWithHttpInfo(String hotelIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Attraction Create a new attraction400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
201 - Created
- Parameters:
hotelIdentifier- Persist attraction owned by this hotel identifierupsertAttractionRequest- The upsertAttractionRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<AttractionView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createAttractionWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createAttractionWithResponseSpec(String hotelIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Attraction Create a new attraction400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
201 - Created
- Parameters:
hotelIdentifier- Persist attraction owned by this hotel identifierupsertAttractionRequest- The upsertAttractionRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeAttraction
public reactor.core.publisher.Mono<RemoveEntryResponse> removeAttraction(String hotelIdentifier, String attractionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete attraction Delete an attraction by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
202 - Accepted
- Parameters:
hotelIdentifier- Delete attraction owned by this hotel identifierattractionIdentifier- Delete attraction identified by this identifierwinkVersion- The winkVersion parameter- Returns:
- RemoveEntryResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeAttractionWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeAttractionWithHttpInfo(String hotelIdentifier, String attractionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete attraction Delete an attraction by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
202 - Accepted
- Parameters:
hotelIdentifier- Delete attraction owned by this hotel identifierattractionIdentifier- Delete attraction identified by this identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<RemoveEntryResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeAttractionWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeAttractionWithResponseSpec(String hotelIdentifier, String attractionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete attraction Delete an attraction by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
202 - Accepted
- Parameters:
hotelIdentifier- Delete attraction owned by this hotel identifierattractionIdentifier- Delete attraction identified by this identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAttraction
public reactor.core.publisher.Mono<AttractionView> showAttraction(String hotelIdentifier, String attractionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Attraction Retrieve an attraction by identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show attraction owned by this hotel identifierattractionIdentifier- Show attraction for identifierwinkVersion- The winkVersion parameter- Returns:
- AttractionView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAttractionWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AttractionView>> showAttractionWithHttpInfo(String hotelIdentifier, String attractionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Attraction Retrieve an attraction by identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show attraction owned by this hotel identifierattractionIdentifier- Show attraction for identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<AttractionView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAttractionWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showAttractionWithResponseSpec(String hotelIdentifier, String attractionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Attraction Retrieve an attraction by identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show attraction owned by this hotel identifierattractionIdentifier- Show attraction for identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAttractionPairs
public reactor.core.publisher.Flux<KeyValuePair> showAttractionPairs(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Attractions as Pairs Retrieve list of key value pairs (identifier, name)400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show attraction key/value pairs associated with this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAttractionPairsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showAttractionPairsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Attractions as Pairs Retrieve list of key value pairs (identifier, name)400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show attraction key/value pairs associated with this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<KeyValuePair>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAttractionPairsWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showAttractionPairsWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Attractions as Pairs Retrieve list of key value pairs (identifier, name)400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show attraction key/value pairs associated with this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAttractions
public reactor.core.publisher.Flux<AttractionView> showAttractions(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Attractions Retrieve list of attractions400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show attractions associated with this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- List<AttractionView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAttractionsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<AttractionView>>> showAttractionsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Attractions Retrieve list of attractions400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show attractions associated with this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<AttractionView>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAttractionsWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showAttractionsWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Attractions Retrieve list of attractions400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Show attractions associated with this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateAttraction
public reactor.core.publisher.Mono<AttractionView> updateAttraction(String hotelIdentifier, String attractionIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Attraction Update an attraction by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Update existing attraction record owned by this hotel identifierattractionIdentifier- Update attraction record with this identifierupsertAttractionRequest- The upsertAttractionRequest parameterwinkVersion- The winkVersion parameter- Returns:
- AttractionView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateAttractionWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AttractionView>> updateAttractionWithHttpInfo(String hotelIdentifier, String attractionIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Attraction Update an attraction by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Update existing attraction record owned by this hotel identifierattractionIdentifier- Update attraction record with this identifierupsertAttractionRequest- The upsertAttractionRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<AttractionView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateAttractionWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateAttractionWithResponseSpec(String hotelIdentifier, String attractionIdentifier, UpsertAttractionRequest upsertAttractionRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Attraction Update an attraction by its identifier400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Update existing attraction record owned by this hotel identifierattractionIdentifier- Update attraction record with this identifierupsertAttractionRequest- The upsertAttractionRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadAttractionMedia
public reactor.core.publisher.Mono<AttractionView> uploadAttractionMedia(String hotelIdentifier, String attractionIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException Upload Binary Multimedia Upload binary videos and/or images to an attraction identified by its identifier. Valid file types: .gif, .jpg, .jpeg, .png, .bmp, .tif, .tiff, .avi, .mpeg, .mov, .mp4, .mkv.400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
207 - Multi-Status
- Parameters:
hotelIdentifier- Upload multipart media for attraction owned by this hotel identifierattractionIdentifier- Associate multipart media with attraction identified by this identifierfiles- The files parameter- Returns:
- AttractionView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadAttractionMediaWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AttractionView>> uploadAttractionMediaWithHttpInfo(String hotelIdentifier, String attractionIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException Upload Binary Multimedia Upload binary videos and/or images to an attraction identified by its identifier. Valid file types: .gif, .jpg, .jpeg, .png, .bmp, .tif, .tiff, .avi, .mpeg, .mov, .mp4, .mkv.400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
207 - Multi-Status
- Parameters:
hotelIdentifier- Upload multipart media for attraction owned by this hotel identifierattractionIdentifier- Associate multipart media with attraction identified by this identifierfiles- The files parameter- Returns:
- ResponseEntity<AttractionView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
uploadAttractionMediaWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec uploadAttractionMediaWithResponseSpec(String hotelIdentifier, String attractionIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException Upload Binary Multimedia Upload binary videos and/or images to an attraction identified by its identifier. Valid file types: .gif, .jpg, .jpeg, .png, .bmp, .tif, .tiff, .avi, .mpeg, .mov, .mp4, .mkv.400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
207 - Multi-Status
- Parameters:
hotelIdentifier- Upload multipart media for attraction owned by this hotel identifierattractionIdentifier- Associate multipart media with attraction identified by this identifierfiles- The files parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-