Class TestApi

java.lang.Object
travel.wink.sdk.affiliate.api.TestApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-01-28T21:18:10.241822052+07:00[Asia/Bangkok]") public class TestApi extends Object
  • Constructor Details

    • TestApi

      public TestApi()
    • TestApi

      @Autowired public TestApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • ping

      public reactor.core.publisher.Mono<String> ping() throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ping Simple ping endpoint to test your credentials.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Returns:
      String
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • pingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<String>> pingWithHttpInfo() throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ping Simple ping endpoint to test your credentials.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Returns:
      ResponseEntity<String>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • pingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec pingWithResponseSpec() throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ping Simple ping endpoint to test your credentials.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API