public class User extends Object
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAvatar()
Get the avatar property: URL of the user's avatar.
|
String |
getEmail()
Get the email property: The email property.
|
Integer |
getId()
Get the id property: Uniquely identify a user.
|
String |
getName()
Get the name property: The name property.
|
String |
getUsername()
Get the username property: The username property.
|
User |
setAvatar(String avatar)
Set the avatar property: URL of the user's avatar.
|
User |
setEmail(String email)
Set the email property: The email property.
|
User |
setId(Integer id)
Set the id property: Uniquely identify a user.
|
User |
setName(String name)
Set the name property: The name property.
|
User |
setUsername(String username)
Set the username property: The username property.
|
public Integer getId()
public User setId(Integer id)
id - the id value to set.public String getName()
public User setName(String name)
name - the name value to set.public String getUsername()
public User setUsername(String username)
username - the username value to set.public String getEmail()
public User setEmail(String email)
email - the email value to set.public String getAvatar()
Copyright © 2023. All rights reserved.