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