Package com.vonage.client.users
Class BaseUser
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.users.BaseUser
- All Implemented Interfaces:
Jsonable
- Direct Known Subclasses:
User
Represents the main attributes of a User.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
BaseUser
protected BaseUser() -
BaseUser
Creates a BaseUser with the ID and name fields as specified.- Parameters:
id- The unique user ID as a string.name- The unique user name.- Since:
- 8.4.0
-
-
Method Details
-
getId
Unique user ID.- Returns:
- The user ID as a string, or
nullif unknown.
-
getName
Unique name of the user.- Returns:
- The user's name.
-