Class RecognitionApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-30T09:50:32.356842367+07:00[Asia/Bangkok]") public class RecognitionApi extends Object
  • Constructor Details

    • RecognitionApi

      public RecognitionApi()
    • RecognitionApi

      @Autowired public RecognitionApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createRecognition

      public reactor.core.publisher.Mono<RecognitionViewSupplier> createRecognition(String hotelIdentifier, RecognitionSupplier recognitionSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Recognition Create a new recognition

      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 - Associate new recognition record with this hotel identifier
      recognitionSupplier - The recognitionSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      RecognitionViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createRecognitionWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecognitionViewSupplier>> createRecognitionWithHttpInfo(String hotelIdentifier, RecognitionSupplier recognitionSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Recognition Create a new recognition

      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 - Associate new recognition record with this hotel identifier
      recognitionSupplier - The recognitionSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RecognitionViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createRecognitionWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createRecognitionWithResponseSpec(String hotelIdentifier, RecognitionSupplier recognitionSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Recognition Create a new recognition

      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 - Associate new recognition record with this hotel identifier
      recognitionSupplier - The recognitionSupplier 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
    • removeRecognition

      public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeRecognition(String hotelIdentifier, String recognitionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Recognition Delete a recognition 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 - Delete recognition record for property with this hotel identifier
      recognitionIdentifier - Delete recognition 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
    • removeRecognitionWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeRecognitionWithHttpInfo(String hotelIdentifier, String recognitionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Recognition Delete a recognition 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 - Delete recognition record for property with this hotel identifier
      recognitionIdentifier - Delete recognition with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RemoveEntryResponseSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeRecognitionWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeRecognitionWithResponseSpec(String hotelIdentifier, String recognitionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Recognition Delete a recognition 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 - Delete recognition record for property with this hotel identifier
      recognitionIdentifier - Delete recognition 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
    • showRecognition

      public reactor.core.publisher.Mono<RecognitionViewSupplier> showRecognition(String hotelIdentifier, String recognitionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Recognition Retrieve a recognition 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 recognition belonging to this hotel identifier
      recognitionIdentifier - Show recognition associated with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      RecognitionViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showRecognitionWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecognitionViewSupplier>> showRecognitionWithHttpInfo(String hotelIdentifier, String recognitionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Recognition Retrieve a recognition 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 recognition belonging to this hotel identifier
      recognitionIdentifier - Show recognition associated with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RecognitionViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showRecognitionWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showRecognitionWithResponseSpec(String hotelIdentifier, String recognitionIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Recognition Retrieve a recognition 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 recognition belonging to this hotel identifier
      recognitionIdentifier - Show recognition associated 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
    • showRecognitions

      public reactor.core.publisher.Flux<RecognitionViewSupplier> showRecognitions(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Recognitions Retrieve a list of all recognitions for property

      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 recognitions for this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      List<RecognitionViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showRecognitionsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RecognitionViewSupplier>>> showRecognitionsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Recognitions Retrieve a list of all recognitions for property

      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 recognitions for this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<RecognitionViewSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showRecognitionsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showRecognitionsWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Recognitions Retrieve a list of all recognitions for property

      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 recognitions for 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
    • showRecognitionsByCategory

      public reactor.core.publisher.Flux<RecognitionViewSupplier> showRecognitionsByCategory(String hotelIdentifier, String category, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Recognition by Category Retrieve list recognitions by category

      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 recognitions for this hotel identifier
      category - Filter list of recognitions by category
      winkVersion - The winkVersion parameter
      Returns:
      List<RecognitionViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showRecognitionsByCategoryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RecognitionViewSupplier>>> showRecognitionsByCategoryWithHttpInfo(String hotelIdentifier, String category, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Recognition by Category Retrieve list recognitions by category

      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 recognitions for this hotel identifier
      category - Filter list of recognitions by category
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<RecognitionViewSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showRecognitionsByCategoryWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showRecognitionsByCategoryWithResponseSpec(String hotelIdentifier, String category, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Recognition by Category Retrieve list recognitions by category

      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 recognitions for this hotel identifier
      category - Filter list of recognitions by category
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateRecognition

      public reactor.core.publisher.Mono<RecognitionViewSupplier> updateRecognition(String hotelIdentifier, String recognitionIdentifier, RecognitionSupplier recognitionSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Recognition Update a recognition 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 recognition record associated with this hotel identifier
      recognitionIdentifier - Update recognition with this identifier
      recognitionSupplier - The recognitionSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      RecognitionViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateRecognitionWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecognitionViewSupplier>> updateRecognitionWithHttpInfo(String hotelIdentifier, String recognitionIdentifier, RecognitionSupplier recognitionSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Recognition Update a recognition 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 recognition record associated with this hotel identifier
      recognitionIdentifier - Update recognition with this identifier
      recognitionSupplier - The recognitionSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RecognitionViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateRecognitionWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateRecognitionWithResponseSpec(String hotelIdentifier, String recognitionIdentifier, RecognitionSupplier recognitionSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Recognition Update a recognition 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 recognition record associated with this hotel identifier
      recognitionIdentifier - Update recognition with this identifier
      recognitionSupplier - The recognitionSupplier 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