Class AccountExternalIdInfo
- java.lang.Object
-
- com.google.gerrit.extensions.common.AccountExternalIdInfo
-
- All Implemented Interfaces:
Comparable<AccountExternalIdInfo>
public class AccountExternalIdInfo extends Object implements Comparable<AccountExternalIdInfo>
Representation of an external ID in the REST API.This class determines the JSON format of external IDs in the REST API.
External IDs are user identities that are assigned to an account. Often they are used to link user identities in external systems.
-
-
Field Summary
Fields Modifier and Type Field Description Boolean
canDelete
Whether the external ID can be deleted by the calling user.String
emailAddress
The email address of the external ID.String
identity
The external ID key, formatted as<scheme>:<ID>
.Boolean
trusted
Whether the external ID is trusted.
-
Constructor Summary
Constructors Constructor Description AccountExternalIdInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AccountExternalIdInfo a)
boolean
equals(Object o)
int
hashCode()
String
toString()
-
-
-
Field Detail
-
identity
public String identity
The external ID key, formatted as<scheme>:<ID>
.
-
emailAddress
public String emailAddress
The email address of the external ID.
-
trusted
public Boolean trusted
Whether the external ID is trusted.Also see
AuthConfig.isIdentityTrustable(java.util.Collection)
.
-
canDelete
public Boolean canDelete
Whether the external ID can be deleted by the calling user.
-
-
Method Detail
-
compareTo
public int compareTo(AccountExternalIdInfo a)
- Specified by:
compareTo
in interfaceComparable<AccountExternalIdInfo>
-
-