Package io.realm.mongodb
Class UserProfile
- java.lang.Object
-
- io.realm.mongodb.UserProfile
-
public class UserProfile extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetBirthday()Returns the birthday of the user.StringgetEmail()Returns the email address of the user.StringgetFirstName()Return the first name of the user.StringgetGender()Returns the gender of the user.StringgetLastName()Return the last name of the user.LonggetMaxAge()Returns the maximum age of the user.LonggetMinAge()Returns the minimum age of the user.StringgetName()Returns the name of the user.StringgetPictureUrl()Returns the picture URL of the user.UsergetUser()Returns theUserthat this instance in associated with.inthashCode()StringtoString()
-
-
-
Method Detail
-
getName
@Nullable public String getName()
Returns the name of the user.- Returns:
- the name of the user.
-
getEmail
@Nullable public String getEmail()
Returns the email address of the user.- Returns:
- the email address of the user or null if there is no email address associated with the user. address.
-
getPictureUrl
@Nullable public String getPictureUrl()
Returns the picture URL of the user.- Returns:
- the picture URL of the user or null if there is no picture URL associated with the user.
-
getFirstName
@Nullable public String getFirstName()
Return the first name of the user.- Returns:
- the first name of the user or null if there is no first name associated with the user.
-
getLastName
@Nullable public String getLastName()
Return the last name of the user.- Returns:
- the last name of the user or null if there is no last name associated with the user.
-
getGender
@Nullable public String getGender()
Returns the gender of the user.- Returns:
- the gender of the user or null if there is no gender associated with the user.
-
getBirthday
@Nullable public String getBirthday()
Returns the birthday of the user.- Returns:
- the birthday of the user or null if there is no birthday associated with the user.
-
getMinAge
@Nullable public Long getMinAge()
Returns the minimum age of the user.- Returns:
- the minimum age of the user or null if there is no minimum age associated with the user.
-
getMaxAge
@Nullable public Long getMaxAge()
Returns the maximum age of the user.- Returns:
- the maximum age of the user or null if there is no maximum age associated with the user.
-
getUser
public User getUser()
Returns theUserthat this instance in associated with.- Returns:
- The
Userthat this instance in associated with.
-
-