Class ChannelManagerApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-08T09:36:20.822132243+07:00[Asia/Bangkok]") public class ChannelManagerApi extends Object
  • Constructor Details

    • ChannelManagerApi

      public ChannelManagerApi()
    • ChannelManagerApi

      @Autowired public ChannelManagerApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • showChannelManagers

      public reactor.core.publisher.Flux<KeyValuePair> showChannelManagers(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      List channel managers Returns all available channel managers.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Retrieve channel managers for 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
    • showChannelManagersWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelManagersWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateChannelManager

      public reactor.core.publisher.Mono<HotelView> updateChannelManager(String hotelIdentifier, UpdateChannelManagerRequest updateChannelManagerRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Set channel manager Set which channel manager this property uses. Channel managers are not allowed access to rates until the property selects them as their channel manager.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Set channel manager for this hotel identifier
      updateChannelManagerRequest - The updateChannelManagerRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      HotelView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateChannelManagerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateChannelManagerWithHttpInfo(String hotelIdentifier, UpdateChannelManagerRequest updateChannelManagerRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException