Package travel.wink.sdk.extranet.api
Class AccessApi
java.lang.Object
travel.wink.sdk.extranet.api.AccessApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-07-01T17:01:03.296785+07:00[Asia/Bangkok]")
public class AccessApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<RemoveEntryResponse>removeManager(String hotelIdentifier, String userIdentifier, String accept) Delete manager Remove manager by specified identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeManagerWithHttpInfo(String hotelIdentifier, String userIdentifier, String accept) reactor.core.publisher.Mono<CompanyUser>saveManager(String hotelIdentifier, CreateHotelierRequest createHotelierRequest) Add manager to property Link an existing user with your property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyUser>>saveManagerWithHttpInfo(String hotelIdentifier, CreateHotelierRequest createHotelierRequest) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<CompanyUser>showManagers(String hotelIdentifier, String accept) Show managers Retrieve list of existing property managersreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<CompanyUser>>>showManagersWithHttpInfo(String hotelIdentifier, String accept)
-
Constructor Details
-
AccessApi
public AccessApi() -
AccessApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
removeManager
public reactor.core.publisher.Mono<RemoveEntryResponse> removeManager(String hotelIdentifier, String userIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete manager Remove manager by specified identifier405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Remove manager from this hotel identifieruserIdentifier- Remove manager with this identifieraccept- The accept parameter- Returns:
- RemoveEntryResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeManagerWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeManagerWithHttpInfo(String hotelIdentifier, String userIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
saveManager
public reactor.core.publisher.Mono<CompanyUser> saveManager(String hotelIdentifier, CreateHotelierRequest createHotelierRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Add manager to property Link an existing user with your property.405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
201 - Created
- Parameters:
hotelIdentifier- Associate manager with this hotel identifiercreateHotelierRequest- The createHotelierRequest parameter- Returns:
- CompanyUser
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
saveManagerWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CompanyUser>> saveManagerWithHttpInfo(String hotelIdentifier, CreateHotelierRequest createHotelierRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showManagers
public reactor.core.publisher.Flux<CompanyUser> showManagers(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show managers Retrieve list of existing property managers405 - Method Not Allowed
415 - Unsupported Media Type
400 - Bad Request
403 - Forbidden
401 - Unauthorized
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
200 - OK
- Parameters:
hotelIdentifier- Return managers for hotel with this identifieraccept- The accept parameter- Returns:
- List<CompanyUser>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showManagersWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<CompanyUser>>> showManagersWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-