Class AccessApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-08T16:32:28.411222+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<RemoveEntryResponse> removeManager(String hotelIdentifier, String userIdentifier, String accept) 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
      accept - 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.

      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
      createHotelierRequest - 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 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
      accept - 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