public class ApiResponse
extends java.lang.Object
ngrok API.| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Modifier and Type | Method and Description |
|---|---|
static ApiResponse |
fromBody(java.lang.String body)
Construct an object from a response body.
|
java.util.Map |
getData()
The parsed API response.
|
java.lang.String |
getStatus()
The description of the response.
|
public static ApiResponse fromBody(java.lang.String body)
body - The response body to be parsed.public java.lang.String getStatus()
public java.util.Map getData()