Class ActivityApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-08-16T13:27:39.414751+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) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Activity Persist new activity record.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Persist activity owned by this hotel identifier
      upsertActivityRequest - The upsertActivityRequest 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) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • 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 identifier

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

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

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activities associated with this hotel identifier
      accept - 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.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activity owned by this hotel identifier
      activityIdentifier - Show activity for identifier
      accept - 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.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show activity key/value pairs associated with this hotel identifier
      accept - 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, UpsertActivityRequest upsertActivityRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Activity Update a recreation by its identifier

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      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
      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) 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.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      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
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException