Class SocialNetworkApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<SocialNetworksResponseSupplier> showSocialNetworks(String hotelIdentifier, String winkVersion) Show Social Networks Show hotel's social networksreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SocialNetworksResponseSupplier>> showSocialNetworksWithHttpInfo(String hotelIdentifier, String winkVersion) Show Social Networks Show hotel's social networksorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowSocialNetworksWithResponseSpec(String hotelIdentifier, String winkVersion) Show Social Networks Show hotel's social networksreactor.core.publisher.Mono<HotelViewSupplier> updateSocials(String hotelIdentifier, SocialNetworksRequestSupplier socialNetworksRequestSupplier, String winkVersion) Update social networks Update hotel's social networks.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelViewSupplier>> updateSocialsWithHttpInfo(String hotelIdentifier, SocialNetworksRequestSupplier socialNetworksRequestSupplier, String winkVersion) Update social networks Update hotel's social networks.org.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateSocialsWithResponseSpec(String hotelIdentifier, 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 hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Social Networks Show hotel's social networks503 - Service Unavailable
400 - Bad Request
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
405 - Method Not Allowed
200 - OK
- Parameters:
hotelIdentifier- Show Social Networks associated with this hotel identifierwinkVersion- 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 networks503 - Service Unavailable
400 - Bad Request
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
405 - Method Not Allowed
200 - OK
- Parameters:
hotelIdentifier- Show Social Networks associated with this hotel identifierwinkVersion- 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 networks503 - Service Unavailable
400 - Bad Request
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
405 - Method Not Allowed
200 - OK
- Parameters:
hotelIdentifier- Show Social Networks associated with this hotel identifierwinkVersion- 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
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
405 - Method Not Allowed
200 - OK
- Parameters:
hotelIdentifier- Set social networks this hotel 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 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
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
405 - Method Not Allowed
200 - OK
- Parameters:
hotelIdentifier- Set social networks this hotel 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 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
415 - Unsupported Media Type
500 - Internal Server Error
403 - Forbidden
401 - Unauthorized
405 - Method Not Allowed
200 - OK
- Parameters:
hotelIdentifier- Set social networks this hotel 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
-