Class MemberDevices


  • public class MemberDevices
    extends java.lang.Object
    Information on devices of a team's member.
    • Field Detail

      • teamMemberId

        protected final java.lang.String teamMemberId
    • Constructor Detail

      • MemberDevices

        public 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.

        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 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.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • MemberDevices

        public MemberDevices​(java.lang.String teamMemberId)
        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 be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getTeamMemberId

        public java.lang.String getTeamMemberId()
        The member unique Id.
        Returns:
        value for this field, never null.
      • getWebSessions

        public java.util.List<ActiveWebSession> getWebSessions()
        List of web sessions made by this team member.
        Returns:
        value for this field, or null if not present.
      • getDesktopClients

        public java.util.List<DesktopClientSession> getDesktopClients()
        List of desktop clients by this team member.
        Returns:
        value for this field, or null if not present.
      • getMobileClients

        public java.util.List<MobileClientSession> getMobileClients()
        List of mobile clients by this team member.
        Returns:
        value for this field, or null if not present.
      • newBuilder

        public static MemberDevices.Builder newBuilder​(java.lang.String teamMemberId)
        Returns a new builder for creating an instance of this class.
        Parameters:
        teamMemberId - The member unique Id. Must not be null.
        Returns:
        builder for this class.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toStringMultiline

        public java.lang.String 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