public class GroupsListResult extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
cursor |
protected List<GroupSummary> |
groups |
protected boolean |
hasMore |
Constructor and Description |
---|
GroupsListResult(List<GroupSummary> groups,
String cursor,
boolean hasMore) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCursor()
Pass the cursor into
DbxTeamTeamRequests.groupsListContinue(String) to obtain the additional
groups. |
List<GroupSummary> |
getGroups() |
boolean |
getHasMore()
Is true if there are additional groups that have not been returned yet.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final List<GroupSummary> groups
protected final String cursor
protected final boolean hasMore
public GroupsListResult(List<GroupSummary> groups, String cursor, boolean hasMore)
groups
- Must not contain a null
item and not be null
.cursor
- Pass the cursor into DbxTeamTeamRequests.groupsListContinue(String)
to obtain the
additional groups. Must not be null
.hasMore
- Is true if there are additional groups that have not been
returned yet. An additional call to DbxTeamTeamRequests.groupsListContinue(String)
can retrieve them.IllegalArgumentException
- If any argument does not meet its
preconditions.public List<GroupSummary> getGroups()
null
.public String getCursor()
DbxTeamTeamRequests.groupsListContinue(String)
to obtain the additional
groups.null
.public boolean getHasMore()
DbxTeamTeamRequests.groupsListContinue(String)
can retrieve them.public String toStringMultiline()
The returned String may contain newlines.