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 Campaign Manager 360 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
City() |
Modifier and Type | Method and Description |
---|---|
City |
clone() |
String |
getCountryCode()
Country code of the country to which this city belongs.
|
Long |
getCountryDartId()
DART ID of the country to which this city belongs.
|
Long |
getDartId()
DART ID of this city.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getMetroCode()
Metro region code of the metro region (DMA) to which this city belongs.
|
Long |
getMetroDmaId()
ID of the metro region (DMA) to which this city belongs.
|
String |
getName()
Name of this city.
|
String |
getRegionCode()
Region code of the region to which this city belongs.
|
Long |
getRegionDartId()
DART ID of the region to which this city belongs.
|
City |
set(String fieldName,
Object value) |
City |
setCountryCode(String countryCode)
Country code of the country to which this city belongs.
|
City |
setCountryDartId(Long countryDartId)
DART ID of the country to which this city belongs.
|
City |
setDartId(Long dartId)
DART ID of this city.
|
City |
setKind(String kind)
Identifies what kind of resource this is.
|
City |
setMetroCode(String metroCode)
Metro region code of the metro region (DMA) to which this city belongs.
|
City |
setMetroDmaId(Long metroDmaId)
ID of the metro region (DMA) to which this city belongs.
|
City |
setName(String name)
Name of this city.
|
City |
setRegionCode(String regionCode)
Region code of the region to which this city belongs.
|
City |
setRegionDartId(Long regionDartId)
DART ID of the region to which this city belongs.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCountryCode()
null
for nonepublic City setCountryCode(String countryCode)
countryCode
- countryCode or null
for nonepublic Long getCountryDartId()
null
for nonepublic City setCountryDartId(Long countryDartId)
countryDartId
- countryDartId or null
for nonepublic Long getDartId()
null
for nonepublic City setDartId(Long dartId)
dartId
- dartId or null
for nonepublic String getKind()
null
for nonepublic City setKind(String kind)
kind
- kind or null
for nonepublic String getMetroCode()
null
for nonepublic City setMetroCode(String metroCode)
metroCode
- metroCode or null
for nonepublic Long getMetroDmaId()
null
for nonepublic City setMetroDmaId(Long metroDmaId)
metroDmaId
- metroDmaId or null
for nonepublic String getName()
null
for nonepublic City setName(String name)
name
- name or null
for nonepublic String getRegionCode()
null
for nonepublic City setRegionCode(String regionCode)
regionCode
- regionCode or null
for nonepublic Long getRegionDartId()
null
for nonepublic City setRegionDartId(Long regionDartId)
regionDartId
- regionDartId or null
for nonepublic City set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public City clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.