Class PingApi

java.lang.Object
travel.wink.sdk.ping.api.PingApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-24T16:11:56.619592686+07:00[Asia/Bangkok]") public class PingApi extends Object
  • Constructor Details

    • PingApi

      public PingApi()
    • PingApi

      @Autowired public PingApi(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.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      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.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      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.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

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