Suggestions

close search

User

public class User
extends StringeeObject



Represents a User.



Summary


Public Constructors
User(String userId)

Construct a new User

Public methods
String getUserId()

Return user id.

void setUserId(String userId)

Set user id.

String getName()

Return user name.

void setName(String name)

Set user name.

String getAvatarUrl()

Return user avatar url.

void setAvatarUrl(String avatarUrl)

Set user avatar url.

String getRole()

Return user role.

void setRole(String role)

Set user role.


Public constructors


User

User(String userId)

Construct a new User.

Parameters
userId

The user id.



Public methods


getUserId

String getUserId()

Return user id.



setUserId

void setUserId(String userId)

Set user id.

Parameters
userId

The user id.



getName

String getName()

Return user name.



setName

void setName(String name)

Set user name.

Parameters
name

The user name.



getAvatarUrl

String getAvatarUrl()

Return user avatar url.



setAvatarUrl

void setAvatarUrl(String avatarUrl)

Set user avatar url.

Parameters
avatarUrl

The user avatar url.



getRole

String getRole()

Return user role:
- member
- admin



setRole

void setRole(String role)

Set user role.

Parameters
role

The user role.