public class Response
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
code |
protected java.lang.String |
error |
protected org.json.JSONObject |
invalidRequestBody |
protected org.json.JSONObject |
rateLimitBody |
protected Status |
status |
protected org.json.JSONObject |
successBody |
| Constructor and Description |
|---|
Response() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
collectInvalidEventIndices() |
protected boolean |
isUserOrDeviceExceedQuote(java.lang.String userId,
java.lang.String deviceId) |
protected static Response |
populateResponse(org.json.JSONObject json) |
java.lang.String |
toString() |
protected int code
protected Status status
protected java.lang.String error
protected org.json.JSONObject successBody
protected org.json.JSONObject invalidRequestBody
protected org.json.JSONObject rateLimitBody
protected static Response populateResponse(org.json.JSONObject json) throws AmplitudeInvalidAPIKeyException
AmplitudeInvalidAPIKeyExceptionprotected boolean isUserOrDeviceExceedQuote(java.lang.String userId,
java.lang.String deviceId)
protected int[] collectInvalidEventIndices()
public java.lang.String toString()
toString in class java.lang.Object