public final class PlacementAssignment
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 |
|---|
PlacementAssignment() |
| Modifier and Type | Method and Description |
|---|---|
PlacementAssignment |
clone() |
java.lang.Boolean |
getActive()
Whether this placement assignment is active.
|
java.lang.Long |
getPlacementId()
ID of the placement to be assigned.
|
DimensionValue |
getPlacementIdDimensionValue()
Dimension value for the ID of the placement.
|
java.lang.Boolean |
getSslRequired()
Whether the placement to be assigned requires SSL.
|
PlacementAssignment |
set(java.lang.String fieldName,
java.lang.Object value) |
PlacementAssignment |
setActive(java.lang.Boolean active)
Whether this placement assignment is active.
|
PlacementAssignment |
setPlacementId(java.lang.Long placementId)
ID of the placement to be assigned.
|
PlacementAssignment |
setPlacementIdDimensionValue(DimensionValue placementIdDimensionValue)
Dimension value for the ID of the placement.
|
PlacementAssignment |
setSslRequired(java.lang.Boolean sslRequired)
Whether the placement to be assigned requires SSL.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getActive()
null for nonepublic PlacementAssignment setActive(java.lang.Boolean active)
active - active or null for nonepublic java.lang.Long getPlacementId()
null for nonepublic PlacementAssignment setPlacementId(java.lang.Long placementId)
placementId - placementId or null for nonepublic DimensionValue getPlacementIdDimensionValue()
null for nonepublic PlacementAssignment setPlacementIdDimensionValue(DimensionValue placementIdDimensionValue)
placementIdDimensionValue - placementIdDimensionValue or null for nonepublic java.lang.Boolean getSslRequired()
null for nonepublic PlacementAssignment setSslRequired(java.lang.Boolean sslRequired)
sslRequired - sslRequired or null for nonepublic PlacementAssignment set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PlacementAssignment clone()
clone in class com.google.api.client.json.GenericJson