Package com.dropbox.core.v2.team
Class RevokeDesktopClientArg
- java.lang.Object
-
- com.dropbox.core.v2.team.DeviceSessionArg
-
- com.dropbox.core.v2.team.RevokeDesktopClientArg
-
public class RevokeDesktopClientArg extends DeviceSessionArg
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
deleteOnUnlink
-
Fields inherited from class com.dropbox.core.v2.team.DeviceSessionArg
sessionId, teamMemberId
-
-
Constructor Summary
Constructors Constructor Description RevokeDesktopClientArg(java.lang.String sessionId, java.lang.String teamMemberId)
NoneRevokeDesktopClientArg(java.lang.String sessionId, java.lang.String teamMemberId, boolean deleteOnUnlink)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
RevokeDesktopClientArg
public RevokeDesktopClientArg(java.lang.String sessionId, java.lang.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:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
RevokeDesktopClientArg
public RevokeDesktopClientArg(java.lang.String sessionId, java.lang.String teamMemberId)
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:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getSessionId
public java.lang.String getSessionId()
The session id.- Overrides:
getSessionId
in classDeviceSessionArg
- Returns:
- value for this field, never
null
.
-
getTeamMemberId
public java.lang.String getTeamMemberId()
The unique id of the member owning the device.- Overrides:
getTeamMemberId
in 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
null
if not present. Defaults to false.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDeviceSessionArg
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classDeviceSessionArg
-
toString
public java.lang.String toString()
- Overrides:
toString
in classDeviceSessionArg
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Overrides:
toStringMultiline
in classDeviceSessionArg
- Returns:
- Formatted, multiline String representation of this object
-
-