public final class PlacementStrategy
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 |
|---|
PlacementStrategy() |
| Modifier and Type | Method and Description |
|---|---|
PlacementStrategy |
clone() |
java.lang.Long |
getAccountId()
Account ID of this placement strategy.This is a read-only field that can be left blank.
|
java.lang.Long |
getId()
ID of this placement strategy.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
java.lang.String |
getName()
Name of this placement strategy.
|
PlacementStrategy |
set(java.lang.String fieldName,
java.lang.Object value) |
PlacementStrategy |
setAccountId(java.lang.Long accountId)
Account ID of this placement strategy.This is a read-only field that can be left blank.
|
PlacementStrategy |
setId(java.lang.Long id)
ID of this placement strategy.
|
PlacementStrategy |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
PlacementStrategy |
setName(java.lang.String name)
Name of this placement strategy.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getAccountId()
null for nonepublic PlacementStrategy setAccountId(java.lang.Long accountId)
accountId - accountId or null for nonepublic java.lang.Long getId()
null for nonepublic PlacementStrategy setId(java.lang.Long id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic PlacementStrategy setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic PlacementStrategy setName(java.lang.String name)
name - name or null for nonepublic PlacementStrategy set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PlacementStrategy clone()
clone in class com.google.api.client.json.GenericJson