Package com.dropbox.core.v2.team
Class RevokeDeviceSessionStatus
java.lang.Object
com.dropbox.core.v2.team.RevokeDeviceSessionStatus
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final RevokeDeviceSessionErrorprotected final boolean -
Constructor Summary
ConstructorsConstructorDescriptionRevokeDeviceSessionStatus(boolean success) NoneRevokeDeviceSessionStatus(boolean success, RevokeDeviceSessionError errorType) -
Method Summary
-
Field Details
-
success
protected final boolean success -
errorType
-
-
Constructor Details
-
RevokeDeviceSessionStatus
- Parameters:
success- Result of the revoking request.errorType- The error cause in case of a failure.
-
RevokeDeviceSessionStatus
public RevokeDeviceSessionStatus(boolean success) NoneThe default values for unset fields will be used.
- Parameters:
success- Result of the revoking request.
-
-
Method Details
-
getSuccess
public boolean getSuccess()Result of the revoking request.- Returns:
- value for this field.
-
getErrorType
The error cause in case of a failure.- Returns:
- value for this field, or
nullif not present.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-