public final class Metro
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 |
---|
Metro() |
Modifier and Type | Method and Description |
---|---|
Metro |
clone() |
String |
getCountryCode()
Country code of the country to which this metro region belongs.
|
Long |
getCountryDartId()
DART ID of the country to which this metro region belongs.
|
Long |
getDartId()
DART ID of this metro region.
|
Long |
getDmaId()
DMA ID of this metro region.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getMetroCode()
Metro code of this metro region.
|
String |
getName()
Name of this metro region.
|
Metro |
set(String fieldName,
Object value) |
Metro |
setCountryCode(String countryCode)
Country code of the country to which this metro region belongs.
|
Metro |
setCountryDartId(Long countryDartId)
DART ID of the country to which this metro region belongs.
|
Metro |
setDartId(Long dartId)
DART ID of this metro region.
|
Metro |
setDmaId(Long dmaId)
DMA ID of this metro region.
|
Metro |
setKind(String kind)
Identifies what kind of resource this is.
|
Metro |
setMetroCode(String metroCode)
Metro code of this metro region.
|
Metro |
setName(String name)
Name of this metro region.
|
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 Metro setCountryCode(String countryCode)
countryCode
- countryCode or null
for nonepublic Long getCountryDartId()
null
for nonepublic Metro setCountryDartId(Long countryDartId)
countryDartId
- countryDartId or null
for nonepublic Long getDartId()
null
for nonepublic Metro setDartId(Long dartId)
dartId
- dartId or null
for nonepublic Long getDmaId()
null
for nonepublic Metro setDmaId(Long dmaId)
dmaId
- dmaId or null
for nonepublic String getKind()
null
for nonepublic Metro setKind(String kind)
kind
- kind or null
for nonepublic String getMetroCode()
null
for nonepublic Metro setMetroCode(String metroCode)
metroCode
- metroCode or null
for nonepublic String getName()
null
for nonepublic Metro setName(String name)
name
- name or null
for nonepublic Metro set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Metro clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.