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