Class GuestRoomApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-11-28T12:49:23.711911876+07:00[Asia/Bangkok]") public class GuestRoomApi extends Object
  • Constructor Details

    • GuestRoomApi

      public GuestRoomApi()
    • GuestRoomApi

      @Autowired public GuestRoomApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createGuestRoom

      public reactor.core.publisher.Mono<GuestRoomViewSupplier> createGuestRoom(String hotelIdentifier, UpsertGuestRoomRequestSupplier upsertGuestRoomRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Guest Room create a new room type

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Create room type owned by this hotel identifier
      upsertGuestRoomRequestSupplier - The upsertGuestRoomRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      GuestRoomViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createGuestRoomWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomViewSupplier>> createGuestRoomWithHttpInfo(String hotelIdentifier, UpsertGuestRoomRequestSupplier upsertGuestRoomRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Guest Room create a new room type

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Create room type owned by this hotel identifier
      upsertGuestRoomRequestSupplier - The upsertGuestRoomRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<GuestRoomViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createGuestRoomWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createGuestRoomWithResponseSpec(String hotelIdentifier, UpsertGuestRoomRequestSupplier upsertGuestRoomRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Guest Room create a new room type

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Create room type owned by this hotel identifier
      upsertGuestRoomRequestSupplier - The upsertGuestRoomRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • duplicateGuestRoom

      public reactor.core.publisher.Mono<GuestRoomViewSupplier> duplicateGuestRoom(String hotelIdentifier, String guestRoomIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Duplicate Guest Room Create a new duplicate of a room by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Duplicate room type owned by this hotel identifier
      guestRoomIdentifier - Duplicate room type with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      GuestRoomViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • duplicateGuestRoomWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomViewSupplier>> duplicateGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Duplicate Guest Room Create a new duplicate of a room by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Duplicate room type owned by this hotel identifier
      guestRoomIdentifier - Duplicate room type with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<GuestRoomViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • duplicateGuestRoomWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec duplicateGuestRoomWithResponseSpec(String hotelIdentifier, String guestRoomIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Duplicate Guest Room Create a new duplicate of a room by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Duplicate room type owned by this hotel identifier
      guestRoomIdentifier - Duplicate room type with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeGuestRoom

      public reactor.core.publisher.Mono<RemoveEntryResponse> removeGuestRoom(String hotelIdentifier, String guestRoomIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Guest Room Remove a room by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove room type owned by this hotel identifier
      guestRoomIdentifier - Remove room type with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeGuestRoomWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Guest Room Remove a room by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove room type owned by this hotel identifier
      guestRoomIdentifier - Remove room type with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RemoveEntryResponse>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeGuestRoomWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeGuestRoomWithResponseSpec(String hotelIdentifier, String guestRoomIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Guest Room Remove a room by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove room type owned by this hotel identifier
      guestRoomIdentifier - Remove room type with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMultimedia2

      public reactor.core.publisher.Mono<GuestRoomView> removeMultimedia2(String hotelIdentifier, String guestRoomIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Guest Room's Multimedia Remove a room's video or image by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove room type media owned by this hotel identifier
      guestRoomIdentifier - Remove room type media with this identifier
      multimediaIdentifier - Remove media with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      GuestRoomView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMultimedia2WithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomView>> removeMultimedia2WithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Guest Room's Multimedia Remove a room's video or image by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove room type media owned by this hotel identifier
      guestRoomIdentifier - Remove room type media with this identifier
      multimediaIdentifier - Remove media with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<GuestRoomView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMultimedia2WithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeMultimedia2WithResponseSpec(String hotelIdentifier, String guestRoomIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Guest Room's Multimedia Remove a room's video or image by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove room type media owned by this hotel identifier
      guestRoomIdentifier - Remove room type media with this identifier
      multimediaIdentifier - Remove media with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showGuestRoom

      public reactor.core.publisher.Mono<GuestRoomViewSupplier> showGuestRoom(String hotelIdentifier, String guestRoomIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Guest Room Retrieve a room type by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show room type owned by this hotel identifier
      guestRoomIdentifier - Show room type identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      GuestRoomViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showGuestRoomWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomViewSupplier>> showGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Guest Room Retrieve a room type by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show room type owned by this hotel identifier
      guestRoomIdentifier - Show room type identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<GuestRoomViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showGuestRoomWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showGuestRoomWithResponseSpec(String hotelIdentifier, String guestRoomIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Guest Room Retrieve a room type by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show room type owned by this hotel identifier
      guestRoomIdentifier - Show room type identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showGuestRooms

      public reactor.core.publisher.Flux<GuestRoomViewSupplier> showGuestRooms(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Guest Rooms Retrieve list of rooms

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show list of room types owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      List<GuestRoomViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showGuestRoomsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<GuestRoomViewSupplier>>> showGuestRoomsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Guest Rooms Retrieve list of rooms

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show list of room types owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<GuestRoomViewSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showGuestRoomsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showGuestRoomsWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Guest Rooms Retrieve list of rooms

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show list of room types owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateGuestRoom

      public reactor.core.publisher.Mono<GuestRoomViewSupplier> updateGuestRoom(String hotelIdentifier, String guestRoomIdentifier, UpsertGuestRoomRequestSupplier upsertGuestRoomRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Guest Room Update a room by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update room type owned by this hotel identifier
      guestRoomIdentifier - Update room type with this identifier
      upsertGuestRoomRequestSupplier - The upsertGuestRoomRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      GuestRoomViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateGuestRoomWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomViewSupplier>> updateGuestRoomWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, UpsertGuestRoomRequestSupplier upsertGuestRoomRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Guest Room Update a room by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update room type owned by this hotel identifier
      guestRoomIdentifier - Update room type with this identifier
      upsertGuestRoomRequestSupplier - The upsertGuestRoomRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<GuestRoomViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateGuestRoomWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateGuestRoomWithResponseSpec(String hotelIdentifier, String guestRoomIdentifier, UpsertGuestRoomRequestSupplier upsertGuestRoomRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Guest Room Update a room by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update room type owned by this hotel identifier
      guestRoomIdentifier - Update room type with this identifier
      upsertGuestRoomRequestSupplier - The upsertGuestRoomRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadGuestRoomMedia

      public reactor.core.publisher.Mono<GuestRoomViewSupplier> uploadGuestRoomMedia(String hotelIdentifier, String guestRoomIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Add Multimedia to Room Uploads a videos and/or images to a room identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload media for room type owned by this hotel identifier
      guestRoomIdentifier - Upload media for room type with this identifier
      files - The files parameter
      Returns:
      GuestRoomViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadGuestRoomMediaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<GuestRoomViewSupplier>> uploadGuestRoomMediaWithHttpInfo(String hotelIdentifier, String guestRoomIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Add Multimedia to Room Uploads a videos and/or images to a room identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload media for room type owned by this hotel identifier
      guestRoomIdentifier - Upload media for room type with this identifier
      files - The files parameter
      Returns:
      ResponseEntity<GuestRoomViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadGuestRoomMediaWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec uploadGuestRoomMediaWithResponseSpec(String hotelIdentifier, String guestRoomIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Add Multimedia to Room Uploads a videos and/or images to a room identified by its identifier

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload media for room type owned by this hotel identifier
      guestRoomIdentifier - Upload media for room type with this identifier
      files - The files parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API