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