@Generated(value="org.immutables.processor.ProxyProcessor") public final class UserInfoResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UserInfoResponse.Builder
Builds instances of type
UserInfoResponse. |
| Modifier and Type | Method and Description |
|---|---|
static UserInfoResponse.Builder |
builder()
Creates a builder for
UserInfoResponse. |
boolean |
equals(Object another)
This instance is equal to all instances of
UserInfoResponse that have equal attribute values. |
String |
getEmail()
The user's email address
|
Boolean |
getEmailVerified()
Whether the user has verified their email address
|
String |
getFamilyName()
The user's family name
|
String |
getGivenName()
The user's given name
|
String |
getName()
The name of the user
|
String |
getPhoneNumber()
The user's phone number
|
Long |
getPreviousLogonTime()
When the user last logged on
|
String |
getSub()
The user subject identifier
|
String |
getUserId()
The user id
|
String |
getUserName()
The user name
|
int |
hashCode()
Computes a hash code from attributes:
email, emailVerified, familyName, givenName, name, phoneNumber, previousLogonTime, sub, userId, userName. |
String |
toString()
Prints the immutable value
UserInfoResponse with attribute values. |
public String getEmail()
public Boolean getEmailVerified()
public String getFamilyName()
public String getGivenName()
public String getName()
public String getPhoneNumber()
public Long getPreviousLogonTime()
public String getSub()
public String getUserId()
public String getUserName()
public boolean equals(Object another)
UserInfoResponse that have equal attribute values.public int hashCode()
email, emailVerified, familyName, givenName, name, phoneNumber, previousLogonTime, sub, userId, userName.public String toString()
UserInfoResponse with attribute values.public static UserInfoResponse.Builder builder()
UserInfoResponse.
UserInfoResponse.builder()
.email(String) // required email
.emailVerified(Boolean | null) // nullable emailVerified
.familyName(String) // required familyName
.givenName(String) // required givenName
.name(String) // required name
.phoneNumber(String | null) // nullable phoneNumber
.previousLogonTime(Long | null) // nullable previousLogonTime
.sub(String | null) // nullable sub
.userId(String) // required userId
.userName(String) // required userName
.build();
Copyright © 2020. All rights reserved.