@Immutable @LevelUpApi(contract=INTERNAL) public final class InterstitialJsonFactory extends AbstractJsonModelFactory<Interstitial>
Interstitial
s from JSON.Modifier and Type | Class and Description |
---|---|
static class |
InterstitialJsonFactory.ClaimActionJsonKeys
All of the keys in the JSON representation of the ClaimAction model.
|
static class |
InterstitialJsonFactory.FeedbackActionJsonKeys
All of the keys in the JSON representation of the
Interstitial.FeedbackAction model. |
static class |
InterstitialJsonFactory.JsonKeys
All of the keys in the JSON representation of this model.
|
static class |
InterstitialJsonFactory.ShareActionJsonKeys
All of the keys in the JSON representation of the ShareAction model.
|
static class |
InterstitialJsonFactory.UrlActionJsonKeys
All of the keys in the JSON representation of the UrlAction model.
|
Constructor and Description |
---|
InterstitialJsonFactory()
Constructor...
|
Modifier and Type | Method and Description |
---|---|
protected Interstitial |
createFrom(JSONObject json)
Parse an instance of the model from a
JSONObject . |
from, fromList, getTypeKey
protected Interstitial createFrom(JSONObject json) throws JSONException
AbstractJsonModelFactory
JSONObject
.createFrom
in class AbstractJsonModelFactory<Interstitial>
json
- the JSONObject
to parse from.T
parsed from json
.JSONException
- If the model fails to parse.