public final class Chain
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 Google My Business 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 |
---|
Chain() |
Modifier and Type | Method and Description |
---|---|
Chain |
clone() |
java.util.List<ChainName> |
getChainNames()
Names of the chain.
|
java.lang.Integer |
getLocationCount()
Number of locations that are part of this chain.
|
java.lang.String |
getName()
The chain's resource name, in the format `chains/{chain_place_id}`.
|
java.util.List<ChainUrl> |
getWebsites()
Websites of the chain.
|
Chain |
set(java.lang.String fieldName,
java.lang.Object value) |
Chain |
setChainNames(java.util.List<ChainName> chainNames)
Names of the chain.
|
Chain |
setLocationCount(java.lang.Integer locationCount)
Number of locations that are part of this chain.
|
Chain |
setName(java.lang.String name)
The chain's resource name, in the format `chains/{chain_place_id}`.
|
Chain |
setWebsites(java.util.List<ChainUrl> websites)
Websites of the chain.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<ChainName> getChainNames()
null
for nonepublic Chain setChainNames(java.util.List<ChainName> chainNames)
chainNames
- chainNames or null
for nonepublic java.lang.Integer getLocationCount()
null
for nonepublic Chain setLocationCount(java.lang.Integer locationCount)
locationCount
- locationCount or null
for nonepublic java.lang.String getName()
null
for nonepublic Chain setName(java.lang.String name)
name
- name or null
for nonepublic java.util.List<ChainUrl> getWebsites()
null
for nonepublic Chain setWebsites(java.util.List<ChainUrl> websites)
websites
- websites or null
for nonepublic Chain set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Chain clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.