Package travel.wink.sdk.extranet.api
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<SocialNetworksResponse>showSocialNetworks1(String hotelIdentifier, String accept) Show Social Networks Show hotel's social networksreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SocialNetworksResponse>>showSocialNetworks1WithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<SocialNetworksResponse>updateSocials(String hotelIdentifier, SocialNetworksRequest socialNetworksRequest) Update social networks Update hotel's social networks.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SocialNetworksResponse>>updateSocialsWithHttpInfo(String hotelIdentifier, SocialNetworksRequest socialNetworksRequest)
-
Constructor Details
-
SocialNetworkApi
public SocialNetworkApi() -
SocialNetworkApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 networks503 - 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 identifieraccept- 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 identifiersocialNetworksRequest- 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
-