public final class Rule
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the DCM/DFA Reporting And Trafficking API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Rule() |
| Modifier and Type | Method and Description |
|---|---|
Rule |
clone() |
java.lang.Long |
getAssetId()
A creativeAssets[].id.
|
java.lang.String |
getName()
A user-friendly name for this rule.
|
java.lang.Long |
getTargetingTemplateId()
A targeting template ID.
|
Rule |
set(java.lang.String fieldName,
java.lang.Object value) |
Rule |
setAssetId(java.lang.Long assetId)
A creativeAssets[].id.
|
Rule |
setName(java.lang.String name)
A user-friendly name for this rule.
|
Rule |
setTargetingTemplateId(java.lang.Long targetingTemplateId)
A targeting template ID.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getAssetId()
null for nonepublic Rule setAssetId(java.lang.Long assetId)
assetId - assetId or null for nonepublic java.lang.String getName()
null for nonepublic Rule setName(java.lang.String name)
name - name or null for nonepublic java.lang.Long getTargetingTemplateId()
null for nonepublic Rule setTargetingTemplateId(java.lang.Long targetingTemplateId)
targetingTemplateId - targetingTemplateId or null for nonepublic Rule set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Rule clone()
clone in class com.google.api.client.json.GenericJson