Class 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 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 com.google.gerrit.server.config.AuthConfig#isIdentityTrustable(java.util.Collection).

      • canDelete

        public Boolean canDelete
        Whether the external ID can be deleted by the calling user.
    • Constructor Detail

      • AccountExternalIdInfo

        public AccountExternalIdInfo()