Account queries: Add option to include secondary emails
If an account is suggested due to a match on a secondary email address the UI needs to have the secondary email address available to show it in the suggestion (see Ife5e3 for more details). Change-Id: I23c72630f54250e7ac0a7ff26d4b28e8a6af0df3 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -20,7 +20,10 @@ import java.util.Set;
|
||||
/** Output options available for retrieval of account details. */
|
||||
public enum ListAccountsOption {
|
||||
/** Return detailed account properties. */
|
||||
DETAILS(0);
|
||||
DETAILS(0),
|
||||
|
||||
/** Return all secondary emails. */
|
||||
ALL_EMAILS(1);
|
||||
|
||||
private final int value;
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@ public class AccountInfo {
|
||||
public Integer _accountId;
|
||||
public String name;
|
||||
public String email;
|
||||
public List<String> secondaryEmails;
|
||||
public String username;
|
||||
public List<AvatarInfo> avatars;
|
||||
public Boolean _moreAccounts;
|
||||
|
||||
Reference in New Issue
Block a user