Class PropertyApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-20T21:56:24.013599+07:00[Asia/Bangkok]") public class PropertyApi extends Object
  • Constructor Details

    • PropertyApi

      public PropertyApi()
    • PropertyApi

      @Autowired public PropertyApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • isHotelNameUnique

      public reactor.core.publisher.Mono<UniqueResult> isHotelNameUnique(String key, String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Check hotel name uniqueness Check if hotel name is a unique.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      key - Search for uniqueness for this hotel name.
      hotelIdentifier - Optional, existing hotel identifier
      accept - The accept parameter
      Returns:
      UniqueResult
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • isHotelNameUniqueWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UniqueResult>> isHotelNameUniqueWithHttpInfo(String key, String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • onboardToKYCPath

      public reactor.core.publisher.Mono<Wizard> onboardToKYCPath(String hotelIdentifier) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Begin Property Verification KYC required for properties in the U.S..

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - The hotelIdentifier parameter
      Returns:
      Wizard
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • onboardToKYCPathWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Wizard>> onboardToKYCPathWithHttpInfo(String hotelIdentifier) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showHotelByManager

      public reactor.core.publisher.Mono<HotelView> showHotelByManager(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel Retrieve hotel by hotel identifier

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Retrieve property record for this hotel identifier
      accept - The accept parameter
      Returns:
      HotelView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showHotelByManagerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> showHotelByManagerWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showHotelStatus

      public reactor.core.publisher.Mono<UpdateExternalHotelStatusRequest> showHotelStatus(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel status Retrieve hotel status

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Show property status for this hotel identifier
      accept - The accept parameter
      Returns:
      UpdateExternalHotelStatusRequest
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showHotelStatusWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpdateExternalHotelStatusRequest>> showHotelStatusWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showHotelsByManager

      public reactor.core.publisher.Flux<HotelView> showHotelsByManager(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotels Retrieve a list of all your hotels

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      accept - The accept parameter
      Returns:
      List<HotelView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showHotelsByManagerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<HotelView>>> showHotelsByManagerWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateGeneralManager

      public reactor.core.publisher.Mono<HotelView> updateGeneralManager(String hotelIdentifier, UpsertGeneralManagerRequest upsertGeneralManagerRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update General Manager Update general manager information

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Update basic information for this hotel identifier
      upsertGeneralManagerRequest - The upsertGeneralManagerRequest parameter
      Returns:
      HotelView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateGeneralManagerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateGeneralManagerWithHttpInfo(String hotelIdentifier, UpsertGeneralManagerRequest upsertGeneralManagerRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateHotelStatus

      public reactor.core.publisher.Mono<HotelView> updateHotelStatus(String hotelIdentifier, UpdateExternalHotelStatusRequest updateExternalHotelStatusRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update hotel status Update hotel status

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Change status for this hotel identifier
      updateExternalHotelStatusRequest - The updateExternalHotelStatusRequest parameter
      Returns:
      HotelView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateHotelStatusWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateHotelStatusWithHttpInfo(String hotelIdentifier, UpdateExternalHotelStatusRequest updateExternalHotelStatusRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateLocalizedDescriptions

      public reactor.core.publisher.Mono<HotelView> updateLocalizedDescriptions(String hotelIdentifier, UpsertPropertyDescriptionsRequest upsertPropertyDescriptionsRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update property text Update localized welcome text

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Update basic information for this hotel identifier
      upsertPropertyDescriptionsRequest - The upsertPropertyDescriptionsRequest parameter
      Returns:
      HotelView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateLocalizedDescriptionsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateLocalizedDescriptionsWithHttpInfo(String hotelIdentifier, UpsertPropertyDescriptionsRequest upsertPropertyDescriptionsRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updatePropertyProfile

      public reactor.core.publisher.Mono<HotelView> updatePropertyProfile(String hotelIdentifier, UpsertPropertyProfileRequest upsertPropertyProfileRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update property profile Update basic property information

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Update basic information for this hotel identifier
      upsertPropertyProfileRequest - The upsertPropertyProfileRequest parameter
      Returns:
      HotelView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updatePropertyProfileWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updatePropertyProfileWithHttpInfo(String hotelIdentifier, UpsertPropertyProfileRequest upsertPropertyProfileRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateServices

      public reactor.core.publisher.Mono<HotelView> updateServices(String hotelIdentifier, UpdatePropertyAmenitiesAndServicesRequest updatePropertyAmenitiesAndServicesRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update property services Manage property amenity, accessibility and security features.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Set amenities for this hotel identifier
      updatePropertyAmenitiesAndServicesRequest - The updatePropertyAmenitiesAndServicesRequest parameter
      Returns:
      HotelView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateServicesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateServicesWithHttpInfo(String hotelIdentifier, UpdatePropertyAmenitiesAndServicesRequest updatePropertyAmenitiesAndServicesRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException