Package com.dropbox.core.v2.team
Class RevokeDesktopClientArg
java.lang.Object
com.dropbox.core.v2.team.DeviceSessionArg
com.dropbox.core.v2.team.RevokeDesktopClientArg
-
Field Summary
FieldsFields inherited from class com.dropbox.core.v2.team.DeviceSessionArg
sessionId, teamMemberId -
Constructor Summary
ConstructorsConstructorDescriptionRevokeDesktopClientArg(String sessionId, String teamMemberId) NoneRevokeDesktopClientArg(String sessionId, String teamMemberId, boolean deleteOnUnlink) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanWhether to delete all files of the account (this is possible only if supported by the desktop client and will be made the next time the client access the account).The session id.The unique id of the member owning the device.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
deleteOnUnlink
protected final boolean deleteOnUnlink
-
-
Constructor Details
-
RevokeDesktopClientArg
public RevokeDesktopClientArg(@Nonnull String sessionId, @Nonnull String teamMemberId, boolean deleteOnUnlink) - Parameters:
sessionId- The session id. Must not benull.teamMemberId- The unique id of the member owning the device. Must not benull.deleteOnUnlink- Whether to delete all files of the account (this is possible only if supported by the desktop client and will be made the next time the client access the account).- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
RevokeDesktopClientArg
NoneThe default values for unset fields will be used.
- Parameters:
sessionId- The session id. Must not benull.teamMemberId- The unique id of the member owning the device. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getSessionId
The session id.- Overrides:
getSessionIdin classDeviceSessionArg- Returns:
- value for this field, never
null.
-
getTeamMemberId
The unique id of the member owning the device.- Overrides:
getTeamMemberIdin classDeviceSessionArg- Returns:
- value for this field, never
null.
-
getDeleteOnUnlink
public boolean getDeleteOnUnlink()Whether to delete all files of the account (this is possible only if supported by the desktop client and will be made the next time the client access the account).- Returns:
- value for this field, or
nullif not present. Defaults to false.
-
hashCode
public int hashCode()- Overrides:
hashCodein classDeviceSessionArg
-
equals
- Overrides:
equalsin classDeviceSessionArg
-
toString
- Overrides:
toStringin classDeviceSessionArg
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Overrides:
toStringMultilinein classDeviceSessionArg- Returns:
- Formatted, multiline String representation of this object
-