public final class City
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 |
|---|
City() |
| Modifier and Type | Method and Description |
|---|---|
City |
clone() |
java.lang.String |
getCountryCode()
Country code of the country to which this city belongs.
|
java.lang.Long |
getCountryDartId()
DART ID of the country to which this city belongs.
|
java.lang.Long |
getDartId()
DART ID of this city.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
java.lang.String |
getMetroCode()
Metro region code of the metro region (DMA) to which this city belongs.
|
java.lang.Long |
getMetroDmaId()
ID of the metro region (DMA) to which this city belongs.
|
java.lang.String |
getName()
Name of this city.
|
java.lang.String |
getRegionCode()
Region code of the region to which this city belongs.
|
java.lang.Long |
getRegionDartId()
DART ID of the region to which this city belongs.
|
City |
set(java.lang.String fieldName,
java.lang.Object value) |
City |
setCountryCode(java.lang.String countryCode)
Country code of the country to which this city belongs.
|
City |
setCountryDartId(java.lang.Long countryDartId)
DART ID of the country to which this city belongs.
|
City |
setDartId(java.lang.Long dartId)
DART ID of this city.
|
City |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
City |
setMetroCode(java.lang.String metroCode)
Metro region code of the metro region (DMA) to which this city belongs.
|
City |
setMetroDmaId(java.lang.Long metroDmaId)
ID of the metro region (DMA) to which this city belongs.
|
City |
setName(java.lang.String name)
Name of this city.
|
City |
setRegionCode(java.lang.String regionCode)
Region code of the region to which this city belongs.
|
City |
setRegionDartId(java.lang.Long regionDartId)
DART ID of the region to which this city belongs.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCountryCode()
null for nonepublic City setCountryCode(java.lang.String countryCode)
countryCode - countryCode or null for nonepublic java.lang.Long getCountryDartId()
null for nonepublic City setCountryDartId(java.lang.Long countryDartId)
countryDartId - countryDartId or null for nonepublic java.lang.Long getDartId()
null for nonepublic City setDartId(java.lang.Long dartId)
dartId - dartId or null for nonepublic java.lang.String getKind()
null for nonepublic City setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getMetroCode()
null for nonepublic City setMetroCode(java.lang.String metroCode)
metroCode - metroCode or null for nonepublic java.lang.Long getMetroDmaId()
null for nonepublic City setMetroDmaId(java.lang.Long metroDmaId)
metroDmaId - metroDmaId or null for nonepublic java.lang.String getName()
null for nonepublic City setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getRegionCode()
null for nonepublic City setRegionCode(java.lang.String regionCode)
regionCode - regionCode or null for nonepublic java.lang.Long getRegionDartId()
null for nonepublic City setRegionDartId(java.lang.Long regionDartId)
regionDartId - regionDartId or null for nonepublic City set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic City clone()
clone in class com.google.api.client.json.GenericJson