Package io.trippay.sdk.payment.api
Class PingApi
java.lang.Object
io.trippay.sdk.payment.api.PingApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-03-06T15:20:29.359634909+07:00[Asia/Bangkok]")
public class PingApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<String>Hello World Test the connection.reactor.core.publisher.Mono<String>Hello World Error Test the connection by sending an error message in return.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<String>>pingErrorWithHttpInfo(String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<String>>pingWithHttpInfo(String accept) voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
PingApi
public PingApi() -
PingApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
ping
public reactor.core.publisher.Mono<String> ping(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Hello World Test the connection.200 - OK
- Parameters:
accept- The accept parameter- 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(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
pingError
public reactor.core.publisher.Mono<String> pingError(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Hello World Error Test the connection by sending an error message in return.200 - OK
- Parameters:
accept- The accept parameter- Returns:
- String
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
pingErrorWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<String>> pingErrorWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-