Class SocialNetworkApi
java.lang.Object
travel.wink.sdk.extranet.property.api.SocialNetworkApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-15T11:59:12.975377331+07:00[Asia/Bangkok]")
public class SocialNetworkApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<SocialNetworksResponseSupplier> showSocialNetworks(String propertyIdentifier, String winkVersion, String accept) Show Social Networks Show hotel's social networksreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SocialNetworksResponseSupplier>> showSocialNetworksWithHttpInfo(String propertyIdentifier, String winkVersion, String accept) Show Social Networks Show hotel's social networksorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowSocialNetworksWithResponseSpec(String propertyIdentifier, String winkVersion, String accept) Show Social Networks Show hotel's social networksreactor.core.publisher.Mono<HotelViewSupplier> updateSocials(String propertyIdentifier, SocialNetworksRequestSupplier socialNetworksRequestSupplier, String winkVersion) Update Social Networks Update hotel's social networks.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>> updateSocialsWithHttpInfo(String propertyIdentifier, SocialNetworksRequestSupplier socialNetworksRequestSupplier, String winkVersion) Update Social Networks Update hotel's social networks.org.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateSocialsWithResponseSpec(String propertyIdentifier, SocialNetworksRequestSupplier socialNetworksRequestSupplier, String winkVersion) Update Social Networks Update hotel's social networks.
-
Constructor Details
-
SocialNetworkApi
public SocialNetworkApi() -
SocialNetworkApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
showSocialNetworks
public reactor.core.publisher.Mono<SocialNetworksResponseSupplier> showSocialNetworks(String propertyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Social Networks Show hotel's social networks500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
propertyIdentifier- Show Social Networks associated with this property identifierwinkVersion- The winkVersion parameteraccept- The accept 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 propertyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Social Networks Show hotel's social networks500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
propertyIdentifier- Show Social Networks associated with this property identifierwinkVersion- The winkVersion parameteraccept- The accept 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 propertyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Social Networks Show hotel's social networks500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
propertyIdentifier- Show Social Networks associated with this property identifierwinkVersion- The winkVersion parameteraccept- The accept 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 propertyIdentifier, 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.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
propertyIdentifier- Set social networks this property identifiersocialNetworksRequestSupplier- The socialNetworksRequestSupplier parameterwinkVersion- 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 propertyIdentifier, 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.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
propertyIdentifier- Set social networks this property identifiersocialNetworksRequestSupplier- The socialNetworksRequestSupplier parameterwinkVersion- 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 propertyIdentifier, 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.500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
400 - Bad Request
200 - OK
- Parameters:
propertyIdentifier- Set social networks this property identifiersocialNetworksRequestSupplier- The socialNetworksRequestSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-