Class RecognitionApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-28T13:49:39.867864+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)
    • removeRecognition

      public reactor.core.publisher.Mono<RemoveEntryResponse> removeRecognition(String hotelIdentifier, String recognitionIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Recognition Delete a recognition by its identifier

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      202 - Accepted

      Parameters:
      hotelIdentifier - Delete recognition record for property with this hotel identifier
      recognitionIdentifier - Delete recognition 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
    • removeRecognitionWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeRecognitionWithHttpInfo(String hotelIdentifier, String recognitionIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • saveRecognition

      public reactor.core.publisher.Mono<RecognitionView> saveRecognition(String hotelIdentifier, Recognition recognition) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Recognition Create a new recognition

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      201 - Created

      Parameters:
      hotelIdentifier - Associate new recognition record with this hotel identifier
      recognition - The recognition parameter
      Returns:
      RecognitionView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • saveRecognitionWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RecognitionView>> saveRecognitionWithHttpInfo(String hotelIdentifier, Recognition recognition) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showRecognition

      public reactor.core.publisher.Mono<RecognitionView> showRecognition(String hotelIdentifier, String recognitionIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Recognition Retrieve a recognition by its identifier

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Show recognition belonging to this hotel identifier
      recognitionIdentifier - Show recognition associated with this identifier
      accept - The accept parameter
      Returns:
      RecognitionView
      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<RecognitionView>> showRecognitionWithHttpInfo(String hotelIdentifier, String recognitionIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showRecognitions

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Show list of recognitions for this hotel identifier
      accept - The accept parameter
      Returns:
      List<RecognitionView>
      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<RecognitionView>>> showRecognitionsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showRecognitionsByCategory

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

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Show list of recognitions for this hotel identifier
      category - Filter list of recognitions by category
      accept - The accept parameter
      Returns:
      List<RecognitionView>
      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<RecognitionView>>> showRecognitionsByCategoryWithHttpInfo(String hotelIdentifier, String category, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateRecognition

      public reactor.core.publisher.Mono<RecognitionView> updateRecognition(String hotelIdentifier, String recognitionIdentifier, Recognition recognition) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Recognition Update a recognition by its identifier

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Update recognition record associated with this hotel identifier
      recognitionIdentifier - Update recognition with this identifier
      recognition - The recognition parameter
      Returns:
      RecognitionView
      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<RecognitionView>> updateRecognitionWithHttpInfo(String hotelIdentifier, String recognitionIdentifier, Recognition recognition) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException