Class AttractionApi

java.lang.Object
travel.wink.sdk.extranet.api.AttractionApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-11-28T12:49:23.711911876+07:00[Asia/Bangkok]") public class AttractionApi extends Object
  • Constructor Details

    • AttractionApi

      public AttractionApi()
    • AttractionApi

      @Autowired public AttractionApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 attraction

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Persist attraction owned by this hotel identifier
      upsertAttractionRequest - The upsertAttractionRequest parameter
      winkVersion - 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 attraction

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Persist attraction owned by this hotel identifier
      upsertAttractionRequest - The upsertAttractionRequest parameter
      winkVersion - 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 attraction

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Persist attraction owned by this hotel identifier
      upsertAttractionRequest - The upsertAttractionRequest parameter
      winkVersion - 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 identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Delete attraction owned by this hotel identifier
      attractionIdentifier - Delete attraction identified by this identifier
      winkVersion - 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 identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Delete attraction owned by this hotel identifier
      attractionIdentifier - Delete attraction identified by this identifier
      winkVersion - 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 identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Delete attraction owned by this hotel identifier
      attractionIdentifier - Delete attraction identified by this identifier
      winkVersion - 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 identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show attraction owned by this hotel identifier
      attractionIdentifier - Show attraction for identifier
      winkVersion - 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 identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show attraction owned by this hotel identifier
      attractionIdentifier - Show attraction for identifier
      winkVersion - 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 identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show attraction owned by this hotel identifier
      attractionIdentifier - Show attraction for identifier
      winkVersion - 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)

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show attraction key/value pairs associated with this hotel identifier
      winkVersion - 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)

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show attraction key/value pairs associated with this hotel identifier
      winkVersion - 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)

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show attraction key/value pairs associated with this hotel identifier
      winkVersion - 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 attractions

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show attractions associated with this hotel identifier
      winkVersion - 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 attractions

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show attractions associated with this hotel identifier
      winkVersion - 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 attractions

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show attractions associated with this hotel identifier
      winkVersion - 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 identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update existing attraction record owned by this hotel identifier
      attractionIdentifier - Update attraction record with this identifier
      upsertAttractionRequest - The upsertAttractionRequest parameter
      winkVersion - 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 identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update existing attraction record owned by this hotel identifier
      attractionIdentifier - Update attraction record with this identifier
      upsertAttractionRequest - The upsertAttractionRequest parameter
      winkVersion - 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 identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update existing attraction record owned by this hotel identifier
      attractionIdentifier - Update attraction record with this identifier
      upsertAttractionRequest - The upsertAttractionRequest parameter
      winkVersion - 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart media for attraction owned by this hotel identifier
      attractionIdentifier - Associate multipart media with attraction identified by this identifier
      files - 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart media for attraction owned by this hotel identifier
      attractionIdentifier - Associate multipart media with attraction identified by this identifier
      files - 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart media for attraction owned by this hotel identifier
      attractionIdentifier - Associate multipart media with attraction identified by this identifier
      files - The files parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API