public final class Metadata
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 |
---|
Metadata() |
Modifier and Type | Method and Description |
---|---|
Metadata |
clone() |
Duplicate |
getDuplicate()
Information about the location that this location duplicates.
|
java.lang.String |
getMapsUrl()
A link to the location on Maps.
|
java.lang.String |
getNewReviewUrl()
A link to the page on Google Search where a customer can leave a review for the location.
|
Metadata |
set(java.lang.String fieldName,
java.lang.Object value) |
Metadata |
setDuplicate(Duplicate duplicate)
Information about the location that this location duplicates.
|
Metadata |
setMapsUrl(java.lang.String mapsUrl)
A link to the location on Maps.
|
Metadata |
setNewReviewUrl(java.lang.String newReviewUrl)
A link to the page on Google Search where a customer can leave a review for the location.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Duplicate getDuplicate()
null
for nonepublic Metadata setDuplicate(Duplicate duplicate)
duplicate
- duplicate or null
for nonepublic java.lang.String getMapsUrl()
null
for nonepublic Metadata setMapsUrl(java.lang.String mapsUrl)
mapsUrl
- mapsUrl or null
for nonepublic java.lang.String getNewReviewUrl()
null
for nonepublic Metadata setNewReviewUrl(java.lang.String newReviewUrl)
newReviewUrl
- newReviewUrl or null
for nonepublic Metadata set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Metadata clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.