Class AccessApi

java.lang.Object
travel.wink.sdk.extranet.api.AccessApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-18T08:52:26.126132332+07:00[Asia/Bangkok]") public class AccessApi extends Object
  • Constructor Details

    • AccessApi

      public AccessApi()
    • AccessApi

      @Autowired public AccessApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • removeManager

      public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeManager(String hotelIdentifier, String userIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete manager Remove manager by specified identifier

      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 - Remove manager from this hotel identifier
      userIdentifier - Remove manager with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponseSupplier
      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<RemoveEntryResponseSupplier>> removeManagerWithHttpInfo(String hotelIdentifier, String userIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • saveManager

      public reactor.core.publisher.Mono<CompanyUserSupplier> saveManager(String hotelIdentifier, CreateHotelierRequestSupplier createHotelierRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Add manager to property Link an existing user with your property.

      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

      201 - Created

      Parameters:
      hotelIdentifier - Associate manager with this hotel identifier
      createHotelierRequestSupplier - The createHotelierRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      CompanyUserSupplier
      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<CompanyUserSupplier>> saveManagerWithHttpInfo(String hotelIdentifier, CreateHotelierRequestSupplier createHotelierRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showManagers

      public reactor.core.publisher.Flux<CompanyUserSupplier> showManagers(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show managers Retrieve list of existing property managers

      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 - Return managers for hotel with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      List<CompanyUserSupplier>
      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<CompanyUserSupplier>>> showManagersWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException