Package com.dropbox.core.v2.openid
Class UserInfoResult
- java.lang.Object
- 
- com.dropbox.core.v2.openid.UserInfoResult
 
- 
 public class UserInfoResult extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUserInfoResult.BuilderBuilder forUserInfoResult.
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.Stringemailprotected java.lang.BooleanemailVerifiedprotected java.lang.StringfamilyNameprotected java.lang.StringgivenNameprotected java.lang.Stringissprotected java.lang.Stringsub
 - 
Constructor SummaryConstructors Constructor Description UserInfoResult()NoneUserInfoResult(java.lang.String familyName, java.lang.String givenName, java.lang.String email, java.lang.Boolean emailVerified, java.lang.String iss, java.lang.String sub)UsenewBuilder()to create instances of this class without specifying values for all optional fields.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetEmail()Email address of user.java.lang.BooleangetEmailVerified()If user is email verified.java.lang.StringgetFamilyName()Last name of user.java.lang.StringgetGivenName()First name of user.java.lang.StringgetIss()Issuer of token (in this case Dropbox).java.lang.StringgetSub()An identifier for the user.inthashCode()static UserInfoResult.BuildernewBuilder()Returns a new builder for creating an instance of this class.java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
familyNameprotected final java.lang.String familyName 
 - 
givenNameprotected final java.lang.String givenName 
 - 
emailprotected final java.lang.String email 
 - 
emailVerifiedprotected final java.lang.Boolean emailVerified 
 - 
issprotected final java.lang.String iss 
 - 
subprotected final java.lang.String sub 
 
- 
 - 
Constructor Detail- 
UserInfoResultpublic UserInfoResult(java.lang.String familyName, java.lang.String givenName, java.lang.String email, java.lang.Boolean emailVerified, java.lang.String iss, java.lang.String sub)UsenewBuilder()to create instances of this class without specifying values for all optional fields.- Parameters:
- familyName- Last name of user.
- givenName- First name of user.
- email- Email address of user.
- emailVerified- If user is email verified.
- iss- Issuer of token (in this case Dropbox). Must not be- null.
- sub- An identifier for the user. This is the Dropbox account_id, a string value such as dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
UserInfoResultpublic UserInfoResult() NoneThe default values for unset fields will be used. 
 
- 
 - 
Method Detail- 
getFamilyNamepublic java.lang.String getFamilyName() Last name of user.- Returns:
- value for this field, or nullif not present.
 
 - 
getGivenNamepublic java.lang.String getGivenName() First name of user.- Returns:
- value for this field, or nullif not present.
 
 - 
getEmailpublic java.lang.String getEmail() Email address of user.- Returns:
- value for this field, or nullif not present.
 
 - 
getEmailVerifiedpublic java.lang.Boolean getEmailVerified() If user is email verified.- Returns:
- value for this field, or nullif not present.
 
 - 
getIsspublic java.lang.String getIss() Issuer of token (in this case Dropbox).- Returns:
- value for this field, or nullif not present. Defaults to "".
 
 - 
getSubpublic java.lang.String getSub() An identifier for the user. This is the Dropbox account_id, a string value such as dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc.- Returns:
- value for this field, or nullif not present. Defaults to "".
 
 - 
newBuilderpublic static UserInfoResult.Builder newBuilder() Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-