Package com.dropbox.core.v2.team
Class MemberDevices
java.lang.Object
com.dropbox.core.v2.team.MemberDevices
Information on devices of a team's member.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<DesktopClientSession> protected final List<MobileClientSession> protected final Stringprotected final List<ActiveWebSession> -
Constructor Summary
ConstructorsConstructorDescriptionMemberDevices(String teamMemberId) Information on devices of a team's member.MemberDevices(String teamMemberId, List<ActiveWebSession> webSessions, List<DesktopClientSession> desktopClients, List<MobileClientSession> mobileClients) Information on devices of a team's member. -
Method Summary
Modifier and TypeMethodDescriptionbooleanList of desktop clients by this team member.List of mobile clients by this team member.The member unique Id.List of web sessions made by this team member.inthashCode()static MemberDevices.BuildernewBuilder(String teamMemberId) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
teamMemberId
-
webSessions
-
desktopClients
-
mobileClients
-
-
Constructor Details
-
MemberDevices
public MemberDevices(@Nonnull String teamMemberId, @Nullable List<ActiveWebSession> webSessions, @Nullable List<DesktopClientSession> desktopClients, @Nullable List<MobileClientSession> mobileClients) Information on devices of a team's member.Use
newBuilder(java.lang.String)to create instances of this class without specifying values for all optional fields.- Parameters:
teamMemberId- The member unique Id. Must not benull.webSessions- List of web sessions made by this team member. Must not contain anullitem.desktopClients- List of desktop clients by this team member. Must not contain anullitem.mobileClients- List of mobile clients by this team member. Must not contain anullitem.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
MemberDevices
Information on devices of a team's member.The default values for unset fields will be used.
- Parameters:
teamMemberId- The member unique Id. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getTeamMemberId
The member unique Id.- Returns:
- value for this field, never
null.
-
getWebSessions
List of web sessions made by this team member.- Returns:
- value for this field, or
nullif not present.
-
getDesktopClients
List of desktop clients by this team member.- Returns:
- value for this field, or
nullif not present.
-
getMobileClients
List of mobile clients by this team member.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Parameters:
teamMemberId- The member unique Id. Must not benull.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
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
-