@LevelUpApi(contract=ENTERPRISE) @NotThreadSafe public final class PermissionsRequestJsonFactory extends GsonModelFactory<PermissionsRequest>
PermissionsRequest
from JSON.Modifier and Type | Field and Description |
---|---|
static String |
MODEL_ROOT
Deprecated.
Use
GsonModelFactory.getTypeKey() instead. |
Constructor and Description |
---|
PermissionsRequestJsonFactory()
Creates a new
PermissionsRequest factory. |
Modifier and Type | Method and Description |
---|---|
protected void |
onBuildFactory(com.google.gson.GsonBuilder gsonBuilder)
Override this to register type adapters or anything else of that sort.
|
createFrom, from, from, fromList, fromList, getTypeKey, to, toJsonElement, toRequestSerializer
@Deprecated public static final String MODEL_ROOT
GsonModelFactory.getTypeKey()
instead.public PermissionsRequestJsonFactory()
PermissionsRequest
factory.protected void onBuildFactory(com.google.gson.GsonBuilder gsonBuilder)
GsonModelFactory
onBuildFactory
in class GsonModelFactory<PermissionsRequest>
gsonBuilder
- the Gson builder that will be used for this class.