Package com.affinda.api.client.models
Class User
- java.lang.Object
-
- com.affinda.api.client.models.User
-
- Direct Known Subclasses:
InvitationRespondedBy
public class User extends Object
The User model.
-
-
Constructor Summary
Constructors Constructor Description User()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAvatar()Get the avatar property: URL of the user's avatar.StringgetEmail()Get the email property: The email property.IntegergetId()Get the id property: Uniquely identify a user.StringgetName()Get the name property: The name property.StringgetUsername()Get the username property: The username property.UsersetAvatar(String avatar)Set the avatar property: URL of the user's avatar.UsersetEmail(String email)Set the email property: The email property.UsersetId(Integer id)Set the id property: Uniquely identify a user.UsersetName(String name)Set the name property: The name property.UsersetUsername(String username)Set the username property: The username property.
-
-
-
Method Detail
-
getId
public Integer getId()
Get the id property: Uniquely identify a user.- Returns:
- the id value.
-
setId
public User setId(Integer id)
Set the id property: Uniquely identify a user.- Parameters:
id- the id value to set.- Returns:
- the User object itself.
-
getName
public String getName()
Get the name property: The name property.- Returns:
- the name value.
-
setName
public User setName(String name)
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the User object itself.
-
getUsername
public String getUsername()
Get the username property: The username property.- Returns:
- the username value.
-
setUsername
public User setUsername(String username)
Set the username property: The username property.- Parameters:
username- the username value to set.- Returns:
- the User object itself.
-
getEmail
public String getEmail()
Get the email property: The email property.- Returns:
- the email value.
-
setEmail
public User setEmail(String email)
Set the email property: The email property.- Parameters:
email- the email value to set.- Returns:
- the User object itself.
-
getAvatar
public String getAvatar()
Get the avatar property: URL of the user's avatar.- Returns:
- the avatar value.
-
-