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 boolean
equals(Object o)
String
getBirthday()
Returns the birthday of the user.String
getEmail()
Returns the email address of the user.String
getFirstName()
Return the first name of the user.String
getGender()
Returns the gender of the user.String
getLastName()
Return the last name of the user.Long
getMaxAge()
Returns the maximum age of the user.Long
getMinAge()
Returns the minimum age of the user.String
getName()
Returns the name of the user.String
getPictureUrl()
Returns the picture URL of the user.User
getUser()
Returns theUser
that this instance in associated with.int
hashCode()
String
toString()
-
-
-
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 theUser
that this instance in associated with.- Returns:
- The
User
that this instance in associated with.
-
-