public class RevokeDeviceSessionStatus extends 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(Object obj) |
RevokeDeviceSessionError |
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 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 String toStringMultiline()
The returned String may contain newlines.