Class ActivityApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-08-06T13:39:13.055088027+07:00[Asia/Bangkok]") public class ActivityApi extends Object
  • Constructor Details

    • ActivityApi

      public ActivityApi()
    • ActivityApi

      @Autowired public ActivityApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createActivity

      public reactor.core.publisher.Mono<RecreationView> createActivity(String hotelIdentifier, UpsertActivityRequest upsertActivityRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Activity Persist new activity record.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Persist activity owned by this hotel identifier
      upsertActivityRequest - The upsertActivityRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      RecreationView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createActivityWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecreationView>> createActivityWithHttpInfo(String hotelIdentifier, UpsertActivityRequest upsertActivityRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Activity Persist new activity record.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Persist activity owned by this hotel identifier
      upsertActivityRequest - The upsertActivityRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RecreationView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createActivityWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createActivityWithResponseSpec(String hotelIdentifier, UpsertActivityRequest upsertActivityRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Activity Persist new activity record.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Persist activity owned by this hotel identifier
      upsertActivityRequest - The upsertActivityRequest 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
    • removeActivity

      public reactor.core.publisher.Mono<RemoveEntryResponse> removeActivity(String hotelIdentifier, String activityIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Activity Delete a activity by its identifier

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Delete activity owned by this hotel identifier
      activityIdentifier - Delete activity 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
    • removeActivityWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeActivityWithHttpInfo(String hotelIdentifier, String activityIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Activity Delete a activity by its identifier

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Delete activity owned by this hotel identifier
      activityIdentifier - Delete activity 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
    • removeActivityWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeActivityWithResponseSpec(String hotelIdentifier, String activityIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Activity Delete a activity by its identifier

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Delete activity owned by this hotel identifier
      activityIdentifier - Delete activity 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
    • showActivities

      public reactor.core.publisher.Flux<RecreationView> showActivities(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Activities Retrieve list of activities for property.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activities associated with this hotel identifier
      winkVersion - The winkVersion 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Activities Retrieve list of activities for property.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activities associated with this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<RecreationView>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showActivitiesWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showActivitiesWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Activities Retrieve list of activities for property.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activities 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
    • showActivity

      public reactor.core.publisher.Mono<RecreationView> showActivity(String hotelIdentifier, String activityIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Activity Retrieve activity record by its identifier.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activity owned by this hotel identifier
      activityIdentifier - Show activity for identifier
      winkVersion - The winkVersion 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 winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Activity Retrieve activity record by its identifier.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activity owned by this hotel identifier
      activityIdentifier - Show activity for identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RecreationView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showActivityWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showActivityWithResponseSpec(String hotelIdentifier, String activityIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Activity Retrieve activity record by its identifier.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activity owned by this hotel identifier
      activityIdentifier - Show activity 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
    • showActivityPairs

      public reactor.core.publisher.Flux<KeyValuePair> showActivityPairs(String hotelIdentifier, String winkVersion) 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.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activity 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
    • showActivityPairsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showActivityPairsWithHttpInfo(String hotelIdentifier, String winkVersion) 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.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activity 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
    • showActivityPairsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showActivityPairsWithResponseSpec(String hotelIdentifier, String winkVersion) 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.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activity 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
    • updateActivity

      public reactor.core.publisher.Mono<RecreationView> updateActivity(String hotelIdentifier, String activityIdentifier, UpsertActivityRequest upsertActivityRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Activity Update a recreation by its identifier

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update existing activity record owned by this hotel identifier
      activityIdentifier - Update activity record with this identifier
      upsertActivityRequest - The upsertActivityRequest parameter
      winkVersion - The winkVersion 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, UpsertActivityRequest upsertActivityRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Activity Update a recreation by its identifier

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update existing activity record owned by this hotel identifier
      activityIdentifier - Update activity record with this identifier
      upsertActivityRequest - The upsertActivityRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RecreationView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateActivityWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateActivityWithResponseSpec(String hotelIdentifier, String activityIdentifier, UpsertActivityRequest upsertActivityRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Activity Update a recreation by its identifier

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update existing activity record owned by this hotel identifier
      activityIdentifier - Update activity record with this identifier
      upsertActivityRequest - The upsertActivityRequest 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
    • 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.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart media for activity owned by this hotel identifier
      activityIdentifier - Associate multipart media with activity identified by this identifier
      files - 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
      Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing add-on.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart media for activity owned by this hotel identifier
      activityIdentifier - Associate multipart media with activity identified by this identifier
      files - The files parameter
      Returns:
      ResponseEntity<RecreationView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadActivityMediaWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec uploadActivityMediaWithResponseSpec(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.

      503 - Service Unavailable

      405 - Method Not Allowed

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart media for activity owned by this hotel identifier
      activityIdentifier - Associate multipart media with activity 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