Package com.dropbox.core.v2.team
Class RevokeDeviceSessionStatus
- java.lang.Object
- 
- com.dropbox.core.v2.team.RevokeDeviceSessionStatus
 
- 
 public class RevokeDeviceSessionStatus extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description protected RevokeDeviceSessionErrorerrorTypeprotected booleansuccess
 - 
Constructor SummaryConstructors Constructor Description RevokeDeviceSessionStatus(boolean success)NoneRevokeDeviceSessionStatus(boolean success, RevokeDeviceSessionError errorType)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)RevokeDeviceSessionErrorgetErrorType()The error cause in case of a failure.booleangetSuccess()Result of the revoking request.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
successprotected final boolean success 
 - 
errorTypeprotected final RevokeDeviceSessionError errorType 
 
- 
 - 
Constructor Detail- 
RevokeDeviceSessionStatuspublic RevokeDeviceSessionStatus(boolean success, RevokeDeviceSessionError errorType)- Parameters:
- success- Result of the revoking request.
- errorType- The error cause in case of a failure.
 
 - 
RevokeDeviceSessionStatuspublic RevokeDeviceSessionStatus(boolean success) NoneThe default values for unset fields will be used. - Parameters:
- success- Result of the revoking request.
 
 
- 
 - 
Method Detail- 
getSuccesspublic boolean getSuccess() Result of the revoking request.- Returns:
- value for this field.
 
 - 
getErrorTypepublic RevokeDeviceSessionError getErrorType() The error cause in case of a failure.- Returns:
- value for this field, or nullif not present.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-