public class AdPreview extends APINode
Modifier and Type | Class and Description |
---|---|
static class |
AdPreview.EnumAdFormat |
static class |
AdPreview.EnumRenderType |
Modifier and Type | Field and Description |
---|---|
protected static com.google.gson.Gson |
gson |
Constructor and Description |
---|
AdPreview() |
Modifier and Type | Method and Description |
---|---|
AdPreview |
copyFrom(AdPreview instance) |
APIContext |
getContext() |
String |
getFieldBody() |
String |
getId() |
static APIRequest.ResponseParser<AdPreview> |
getParser() |
static AdPreview |
loadJSON(String json,
APIContext context,
String header) |
static APINodeList<AdPreview> |
parseResponse(String json,
APIContext context,
APIRequest request,
String header) |
void |
setContext(APIContext context) |
AdPreview |
setFieldBody(String value) |
String |
toString() |
getException, getHeader, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponse
public static AdPreview loadJSON(String json, APIContext context, String header)
public static APINodeList<AdPreview> parseResponse(String json, APIContext context, APIRequest request, String header) throws APIException.MalformedResponseException
public APIContext getContext()
getContext
in class APINode
public void setContext(APIContext context)
setContext
in class APINode
public String getFieldBody()
public static APIRequest.ResponseParser<AdPreview> getParser()
Copyright © 2020. All rights reserved.