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-05-12T17:59:21.291736784+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) Hello World Error Test the connection by sending an error message in return.org.springframework.web.reactive.function.client.WebClient.ResponseSpecpingErrorWithResponseSpec(String accept) Hello World Error Test the connection by sending an error message in return.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<String>>pingWithHttpInfo(String accept) Hello World Test the connection.org.springframework.web.reactive.function.client.WebClient.ResponseSpecpingWithResponseSpec(String accept) Hello World Test the connection.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 Hello World Test the connection.200 - OK
- Parameters:
accept- The accept parameter- 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(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Hello World Test the connection.200 - OK
- Parameters:
accept- The accept parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
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 Hello World Error Test the connection by sending an error message in return.200 - OK
- Parameters:
accept- The accept parameter- Returns:
- ResponseEntity<String>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
pingErrorWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec pingErrorWithResponseSpec(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:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-