Set '_more_groups' on last group of query result

If the number of groups matching the query exceeds the limit the
last group has a '_more_groups: true' JSON field set.

Change-Id: I6f1fcda58813e2c7b5dc788d88b989c377afec7e
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2017-01-03 15:16:17 +01:00
parent fffc6ddc37
commit fadf363ef0
4 changed files with 21 additions and 5 deletions

View File

@@ -25,6 +25,7 @@ public class GroupInfo extends GroupBaseInfo {
public Integer groupId;
public String owner;
public String ownerId;
public Boolean _moreGroups;
// These fields are only supplied for internal groups, and only if requested.
public List<AccountInfo> members;