public final class BatchResultErrorEntry extends Object implements Serializable
This is used in the responses of batch API to give a detailed description of the result of an action on each entry in the request.
Constructor and Description |
---|
BatchResultErrorEntry(String id,
String message,
String code,
Boolean senderFault) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCode()
An error code representing why the action failed on this entry.
|
String |
getId()
The id of an entry in a batch request.
|
String |
getMessage()
A message explaining why the action failed on this entry.
|
Boolean |
getSenderFault()
Whether the error happened due to the sender's fault.
|
int |
hashCode() |
Boolean |
isSenderFault()
Whether the error happened due to the sender's fault.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
public String getId()
public Boolean isSenderFault()
public Boolean getSenderFault()
public String getCode()
public String getMessage()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2010–2020. All rights reserved.