Class SharedFolderMembers


  • public class SharedFolderMembers
    extends java.lang.Object
    Shared folder user and group membership.
    • Constructor Detail

      • SharedFolderMembers

        public SharedFolderMembers​(@Nonnull
                                   java.util.List<UserMembershipInfo> users,
                                   @Nonnull
                                   java.util.List<GroupMembershipInfo> groups,
                                   @Nonnull
                                   java.util.List<InviteeMembershipInfo> invitees,
                                   @Nullable
                                   java.lang.String cursor)
        Shared folder user and group membership.
        Parameters:
        users - The list of user members of the shared folder. Must not contain a null item and not be null.
        groups - The list of group members of the shared folder. Must not contain a null item and not be null.
        invitees - The list of invitees to the shared folder. Must not contain a null item and not be null.
        cursor - Present if there are additional shared folder members that have not been returned yet. Pass the cursor into DbxUserSharingRequests.listFolderMembersContinue(String) to list additional members.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • SharedFolderMembers

        public SharedFolderMembers​(@Nonnull
                                   java.util.List<UserMembershipInfo> users,
                                   @Nonnull
                                   java.util.List<GroupMembershipInfo> groups,
                                   @Nonnull
                                   java.util.List<InviteeMembershipInfo> invitees)
        Shared folder user and group membership.

        The default values for unset fields will be used.

        Parameters:
        users - The list of user members of the shared folder. Must not contain a null item and not be null.
        groups - The list of group members of the shared folder. Must not contain a null item and not be null.
        invitees - The list of invitees to the shared folder. Must not contain a null item and not be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getUsers

        @Nonnull
        public java.util.List<UserMembershipInfo> getUsers()
        The list of user members of the shared folder.
        Returns:
        value for this field, never null.
      • getGroups

        @Nonnull
        public java.util.List<GroupMembershipInfo> getGroups()
        The list of group members of the shared folder.
        Returns:
        value for this field, never null.
      • getInvitees

        @Nonnull
        public java.util.List<InviteeMembershipInfo> getInvitees()
        The list of invitees to the shared folder.
        Returns:
        value for this field, never null.
      • getCursor

        @Nullable
        public java.lang.String getCursor()
        Present if there are additional shared folder members that have not been returned yet. Pass the cursor into DbxUserSharingRequests.listFolderMembersContinue(String) to list additional members.
        Returns:
        value for this field, or null if not present.
      • 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