Class SocialNetworkApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-06T10:49:48.675577965+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)
    • showSocialNetworks

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

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show Social Networks associated with this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      SocialNetworksResponseSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSocialNetworksWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SocialNetworksResponseSupplier>> showSocialNetworksWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Social Networks Show hotel's social networks

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showSocialNetworksWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Social Networks Show hotel's social networks

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show Social Networks 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
    • updateSocials

      public reactor.core.publisher.Mono<HotelViewSupplier> updateSocials(String hotelIdentifier, SocialNetworksRequestSupplier socialNetworksRequestSupplier, String winkVersion) 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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Set social networks this hotel identifier
      socialNetworksRequestSupplier - The socialNetworksRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      HotelViewSupplier
      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<HotelViewSupplier>> updateSocialsWithHttpInfo(String hotelIdentifier, SocialNetworksRequestSupplier socialNetworksRequestSupplier, String winkVersion) 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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Set social networks this hotel identifier
      socialNetworksRequestSupplier - The socialNetworksRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<HotelViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateSocialsWithResponseSpec

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Set social networks this hotel identifier
      socialNetworksRequestSupplier - The socialNetworksRequestSupplier 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