public final class PostalCode
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 |
---|
PostalCode() |
Modifier and Type | Method and Description |
---|---|
PostalCode |
clone() |
String |
getCode()
Postal code.
|
String |
getCountryCode()
Country code of the country to which this postal code belongs.
|
Long |
getCountryDartId()
DART ID of the country to which this postal code belongs.
|
String |
getId()
ID of this postal code.
|
String |
getKind()
Identifies what kind of resource this is.
|
PostalCode |
set(String fieldName,
Object value) |
PostalCode |
setCode(String code)
Postal code.
|
PostalCode |
setCountryCode(String countryCode)
Country code of the country to which this postal code belongs.
|
PostalCode |
setCountryDartId(Long countryDartId)
DART ID of the country to which this postal code belongs.
|
PostalCode |
setId(String id)
ID of this postal code.
|
PostalCode |
setKind(String kind)
Identifies what kind of resource this is.
|
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 getCode()
null
for nonepublic PostalCode setCode(String code)
code
- code or null
for nonepublic String getCountryCode()
null
for nonepublic PostalCode setCountryCode(String countryCode)
countryCode
- countryCode or null
for nonepublic Long getCountryDartId()
null
for nonepublic PostalCode setCountryDartId(Long countryDartId)
countryDartId
- countryDartId or null
for nonepublic String getId()
null
for nonepublic PostalCode setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic PostalCode setKind(String kind)
kind
- kind or null
for nonepublic PostalCode set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PostalCode clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.