public static class User.UserBuilder extends java.lang.Object implements ConfluenceResourceBuilder<User>
| Constructor and Description |
|---|
UserBuilder() |
| Modifier and Type | Method and Description |
|---|---|
User |
fromJson(org.json.simple.JSONObject userJson)
Creates a T instance from a JSON representation
|
User |
fromJson(org.json.simple.JSONObject userJson,
User user)
Populates the given T instance from a JSON representation and return it
|
java.lang.Class<User> |
getType()
Returns the Class of the resource that can be built
|
public User fromJson(org.json.simple.JSONObject userJson)
ConfluenceResourceBuilderCreates a T instance from a JSON representation
fromJson in interface ConfluenceResourceBuilder<User>public User fromJson(org.json.simple.JSONObject userJson, User user)
ConfluenceResourceBuilderPopulates the given T instance from a JSON representation and return it
fromJson in interface ConfluenceResourceBuilder<User>public java.lang.Class<User> getType()
ConfluenceResourceBuilderReturns the Class of the resource that can be built
getType in interface ConfluenceResourceBuilder<User>