public class RevokeDeviceSessionStatus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected RevokeDeviceSessionError |
errorType |
protected boolean |
success |
Constructor and Description |
---|
RevokeDeviceSessionStatus(boolean success)
None
|
RevokeDeviceSessionStatus(boolean success,
RevokeDeviceSessionError errorType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
RevokeDeviceSessionError |
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 RevokeDeviceSessionError errorType
public RevokeDeviceSessionStatus(boolean success, RevokeDeviceSessionError errorType)
success
- Result of the revoking request.errorType
- The error cause in case of a failure.public RevokeDeviceSessionStatus(boolean success)
The default values for unset fields will be used.
success
- Result of the revoking request.public boolean getSuccess()
public RevokeDeviceSessionError 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.