public final class AudienceSegment
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 |
|---|
AudienceSegment() |
| Modifier and Type | Method and Description |
|---|---|
AudienceSegment |
clone() |
java.lang.Integer |
getAllocation()
Weight allocated to this segment.
|
java.lang.Long |
getId()
ID of this audience segment.
|
java.lang.String |
getName()
Name of this audience segment.
|
AudienceSegment |
set(java.lang.String fieldName,
java.lang.Object value) |
AudienceSegment |
setAllocation(java.lang.Integer allocation)
Weight allocated to this segment.
|
AudienceSegment |
setId(java.lang.Long id)
ID of this audience segment.
|
AudienceSegment |
setName(java.lang.String name)
Name of this audience segment.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Integer getAllocation()
null for nonepublic AudienceSegment setAllocation(java.lang.Integer allocation)
allocation - allocation or null for nonepublic java.lang.Long getId()
null for nonepublic AudienceSegment setId(java.lang.Long id)
id - id or null for nonepublic java.lang.String getName()
null for nonepublic AudienceSegment setName(java.lang.String name)
name - name or null for nonepublic AudienceSegment set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic AudienceSegment clone()
clone in class com.google.api.client.json.GenericJson