@Generated(value={"Immutables.generator","_User"}) public final class User extends AbstractUser
_User.
Use the builder to create immutable instances:
User.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
User.Builder
Builds instances of type
User. |
| Modifier and Type | Method and Description |
|---|---|
static User.Builder |
builder()
Creates a builder for
User. |
boolean |
equals(Object another)
This instance is equal to all instances of
User that have equal attribute values. |
Boolean |
getActive()
Whether the user is active
|
List<Approval> |
getApprovals()
The approvals for the user
|
List<Email> |
getEmail()
The emails for the user
|
String |
getExternalId()
The external id
|
List<Group> |
getGroups()
The groups for the user
|
String |
getId()
The id
|
Meta |
getMeta()
Metadata for the result
|
Name |
getName()
The user's name
|
String |
getOrigin()
The identity provider that authenticated this user
|
String |
getPasswordLastModified()
The timestamp when the user's password was last modified
|
List<String> |
getSchemas()
The schemas
|
String |
getUserName()
The user name
|
Boolean |
getVerified()
Whether the user's email is verified
|
String |
getZoneId()
The zone id the user belongs to
|
int |
hashCode()
Computes a hash code from attributes:
approvals, externalId, groups, active, email, meta, name, passwordLastModified, schemas, verified, zoneId, id, origin, userName. |
String |
toString()
Prints the immutable value
User with attribute values. |
public List<Approval> getApprovals()
getApprovals in class AbstractUserpublic String getExternalId()
getExternalId in class AbstractUserpublic List<Group> getGroups()
getGroups in class AbstractUserpublic Boolean getActive()
getActive in class AbstractUserSummarypublic List<Email> getEmail()
getEmail in class AbstractUserSummarypublic Meta getMeta()
getMeta in class AbstractUserSummarypublic Name getName()
getName in class AbstractUserSummarypublic String getPasswordLastModified()
getPasswordLastModified in class AbstractUserSummarypublic List<String> getSchemas()
getSchemas in class AbstractUserSummarypublic Boolean getVerified()
getVerified in class AbstractUserSummarypublic String getZoneId()
getZoneId in class AbstractUserSummarypublic String getId()
getId in class AbstractUserIdpublic String getOrigin()
getOrigin in class AbstractUserIdpublic String getUserName()
getUserName in class AbstractUserIdpublic boolean equals(Object another)
User that have equal attribute values.public int hashCode()
approvals, externalId, groups, active, email, meta, name, passwordLastModified, schemas, verified, zoneId, id, origin, userName.public String toString()
User with attribute values.public static User.Builder builder()
User.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.