public class RevokeLinkedAppStatus extends Object
Modifier and Type | Field and Description |
---|---|
protected RevokeLinkedAppError |
errorType |
protected boolean |
success |
Constructor and Description |
---|
RevokeLinkedAppStatus(boolean success)
None
|
RevokeLinkedAppStatus(boolean success,
RevokeLinkedAppError errorType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
RevokeLinkedAppError |
getErrorType()
The error cause in case of a failure
|
boolean |
getSuccess()
Result of the revoking request
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final boolean success
protected final RevokeLinkedAppError errorType
public RevokeLinkedAppStatus(boolean success, RevokeLinkedAppError errorType)
success
- Result of the revoking request.errorType
- The error cause in case of a failure.public RevokeLinkedAppStatus(boolean success)
The default values for unset fields will be used.
success
- Result of the revoking request.public boolean getSuccess()
public RevokeLinkedAppError getErrorType()
null
if not present.public String toStringMultiline()
The returned String may contain newlines.