public class RevokeDesktopClientArg extends DeviceSessionArg
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
deleteOnUnlink |
sessionId, teamMemberId| Constructor and Description |
|---|
RevokeDesktopClientArg(java.lang.String sessionId,
java.lang.String teamMemberId)
None
|
RevokeDesktopClientArg(java.lang.String sessionId,
java.lang.String teamMemberId,
boolean deleteOnUnlink) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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).
|
java.lang.String |
getSessionId()
The session id.
|
java.lang.String |
getTeamMemberId()
The unique id of the member owning the device.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
public RevokeDesktopClientArg(java.lang.String sessionId,
java.lang.String teamMemberId,
boolean deleteOnUnlink)
sessionId - The session id. Must not be null.teamMemberId - The unique id of the member owning the device. Must
not be null.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).java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public RevokeDesktopClientArg(java.lang.String sessionId,
java.lang.String teamMemberId)
The default values for unset fields will be used.
sessionId - The session id. Must not be null.teamMemberId - The unique id of the member owning the device. Must
not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public java.lang.String getSessionId()
getSessionId in class DeviceSessionArgnull.public java.lang.String getTeamMemberId()
getTeamMemberId in class DeviceSessionArgnull.public boolean getDeleteOnUnlink()
null if not present. Defaults to
false.public int hashCode()
hashCode in class DeviceSessionArgpublic boolean equals(java.lang.Object obj)
equals in class DeviceSessionArgpublic java.lang.String toString()
toString in class DeviceSessionArgpublic java.lang.String toStringMultiline()
The returned String may contain newlines.
toStringMultiline in class DeviceSessionArg