public class RevokeLinkedAppStatus
extends java.lang.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(java.lang.Object obj) |
RevokeLinkedAppError |
getErrorType()
The error cause in case of a failure.
|
boolean |
getSuccess()
Result of the revoking request.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.