Class SocialNetworkApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-11T13:46:18.379510+07:00[Asia/Bangkok]") public class SocialNetworkApi extends Object
  • Constructor Details

    • SocialNetworkApi

      public SocialNetworkApi()
    • SocialNetworkApi

      @Autowired public SocialNetworkApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • showSocialNetworks1

      public reactor.core.publisher.Mono<SocialNetworksResponse> showSocialNetworks1(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Social Networks Show hotel's social networks

      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 Social Networks associated with this hotel identifier
      accept - The accept parameter
      Returns:
      SocialNetworksResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSocialNetworks1WithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SocialNetworksResponse>> showSocialNetworks1WithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateSocials

      public reactor.core.publisher.Mono<SocialNetworksResponse> updateSocials(String hotelIdentifier, SocialNetworksRequest socialNetworksRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update social networks Update hotel's social networks. Refer to [Social Networks](#tag/Social-Networks) for a list of all supported social networks.

      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 - Set social networks this hotel identifier
      socialNetworksRequest - The socialNetworksRequest parameter
      Returns:
      SocialNetworksResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateSocialsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SocialNetworksResponse>> updateSocialsWithHttpInfo(String hotelIdentifier, SocialNetworksRequest socialNetworksRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException