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 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 |
|---|
PostalCode() |
| Modifier and Type | Method and Description |
|---|---|
PostalCode |
clone() |
java.lang.String |
getCode()
Postal code.
|
java.lang.String |
getCountryCode()
Country code of the country to which this postal code belongs.
|
java.lang.Long |
getCountryDartId()
DART ID of the country to which this postal code belongs.
|
java.lang.String |
getId()
ID of this postal code.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
PostalCode |
set(java.lang.String fieldName,
java.lang.Object value) |
PostalCode |
setCode(java.lang.String code)
Postal code.
|
PostalCode |
setCountryCode(java.lang.String countryCode)
Country code of the country to which this postal code belongs.
|
PostalCode |
setCountryDartId(java.lang.Long countryDartId)
DART ID of the country to which this postal code belongs.
|
PostalCode |
setId(java.lang.String id)
ID of this postal code.
|
PostalCode |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCode()
null for nonepublic PostalCode setCode(java.lang.String code)
code - code or null for nonepublic java.lang.String getCountryCode()
null for nonepublic PostalCode setCountryCode(java.lang.String countryCode)
countryCode - countryCode or null for nonepublic java.lang.Long getCountryDartId()
null for nonepublic PostalCode setCountryDartId(java.lang.Long countryDartId)
countryDartId - countryDartId or null for nonepublic java.lang.String getId()
null for nonepublic PostalCode setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic PostalCode setKind(java.lang.String kind)
kind - kind or null for nonepublic PostalCode set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PostalCode clone()
clone in class com.google.api.client.json.GenericJson