Package com.affinda.api.client.models
Class UserNullable
- java.lang.Object
-
- com.affinda.api.client.models.UserNullable
-
public final class UserNullable extends Object
The UserNullable model.
-
-
Constructor Summary
Constructors Constructor Description UserNullable()
-
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.UserNullablesetAvatar(String avatar)Set the avatar property: URL of the user's avatar.UserNullablesetEmail(String email)Set the email property: The email property.UserNullablesetId(Integer id)Set the id property: Uniquely identify a user.UserNullablesetName(String name)Set the name property: The name property.UserNullablesetUsername(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 UserNullable setId(Integer id)
Set the id property: Uniquely identify a user.- Parameters:
id- the id value to set.- Returns:
- the UserNullable object itself.
-
getName
public String getName()
Get the name property: The name property.- Returns:
- the name value.
-
setName
public UserNullable setName(String name)
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the UserNullable object itself.
-
getUsername
public String getUsername()
Get the username property: The username property.- Returns:
- the username value.
-
setUsername
public UserNullable setUsername(String username)
Set the username property: The username property.- Parameters:
username- the username value to set.- Returns:
- the UserNullable object itself.
-
getEmail
public String getEmail()
Get the email property: The email property.- Returns:
- the email value.
-
setEmail
public UserNullable setEmail(String email)
Set the email property: The email property.- Parameters:
email- the email value to set.- Returns:
- the UserNullable object itself.
-
getAvatar
public String getAvatar()
Get the avatar property: URL of the user's avatar.- Returns:
- the avatar value.
-
setAvatar
public UserNullable setAvatar(String avatar)
Set the avatar property: URL of the user's avatar.- Parameters:
avatar- the avatar value to set.- Returns:
- the UserNullable object itself.
-
-