public class MemberDevices extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MemberDevices.Builder
Builder for
MemberDevices. |
| Modifier and Type | Field and Description |
|---|---|
protected List<DesktopClientSession> |
desktopClients |
protected List<MobileClientSession> |
mobileClients |
protected String |
teamMemberId |
protected List<ActiveWebSession> |
webSessions |
| Constructor and Description |
|---|
MemberDevices(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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<DesktopClientSession> |
getDesktopClients()
List of desktop clients by this team member
|
List<MobileClientSession> |
getMobileClients()
List of mobile clients by this team member
|
String |
getTeamMemberId()
The member unique Id
|
List<ActiveWebSession> |
getWebSessions()
List of web sessions made by this team member
|
int |
hashCode() |
static MemberDevices.Builder |
newBuilder(String teamMemberId)
Returns a new builder for creating an instance of this class.
|
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final String teamMemberId
protected final List<ActiveWebSession> webSessions
protected final List<DesktopClientSession> desktopClients
protected final List<MobileClientSession> mobileClients
public MemberDevices(String teamMemberId, List<ActiveWebSession> webSessions, List<DesktopClientSession> desktopClients, List<MobileClientSession> mobileClients)
Use newBuilder to create instances of this class without
specifying values for all optional fields.
teamMemberId - The member unique Id. Must not be null.webSessions - List of web sessions made by this team member. Must
not contain a null item.desktopClients - List of desktop clients by this team member. Must
not contain a null item.mobileClients - List of mobile clients by this team member. Must
not contain a null item.IllegalArgumentException - If any argument does not meet its
preconditions.public MemberDevices(String teamMemberId)
The default values for unset fields will be used.
teamMemberId - The member unique Id. Must not be null.IllegalArgumentException - If any argument does not meet its
preconditions.public String getTeamMemberId()
null.public List<ActiveWebSession> getWebSessions()
null if not present.public List<DesktopClientSession> getDesktopClients()
null if not present.public List<MobileClientSession> getMobileClients()
null if not present.public static MemberDevices.Builder newBuilder(String teamMemberId)
teamMemberId - The member unique Id. Must not be null.IllegalArgumentException - If any argument does not meet its
preconditions.public String toStringMultiline()
The returned String may contain newlines.