Package travel.wink.sdk.extranet.api
Class ContactsApi
java.lang.Object
travel.wink.sdk.extranet.api.ContactsApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-11-08T09:36:20.822132243+07:00[Asia/Bangkok]")
public class ContactsApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<HotelView>updateContacts(String hotelIdentifier, UpdateContactsRequest updateContactsRequest, String winkVersion) Update contacts Manage important property contacts via this endpoint.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>>updateContactsWithHttpInfo(String hotelIdentifier, UpdateContactsRequest updateContactsRequest, String winkVersion)
-
Constructor Details
-
ContactsApi
public ContactsApi() -
ContactsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
updateContacts
public reactor.core.publisher.Mono<HotelView> updateContacts(String hotelIdentifier, UpdateContactsRequest updateContactsRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update contacts Manage important property contacts via this endpoint. Update legal signer, reservation and accounting contacts.503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update important contacts for this hotel identifierupdateContactsRequest- The updateContactsRequest parameterwinkVersion- The winkVersion parameter- Returns:
- HotelView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateContactsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateContactsWithHttpInfo(String hotelIdentifier, UpdateContactsRequest updateContactsRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-