Class ChannelManagerApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-28T12:57:25.040272+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)
    • updateChannelManager

      public reactor.core.publisher.Mono<ChannelManager> updateChannelManager(String hotelIdentifier, ChannelManager channelManager) 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.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Set channel manager for this hotel identifier
      channelManager - The channelManager parameter
      Returns:
      ChannelManager
      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<ChannelManager>> updateChannelManagerWithHttpInfo(String hotelIdentifier, ChannelManager channelManager) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException