public final class PublishedMap
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 Maps Engine 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 |
|---|
PublishedMap() |
| Modifier and Type | Method and Description |
|---|---|
PublishedMap |
clone() |
java.util.List<MapItem> |
getContents()
The contents of this Map.
|
java.util.List<java.lang.Double> |
getDefaultViewport()
An array of four numbers (west, south, east, north) which defines the rectangular bounding box
of the default viewport.
|
java.lang.String |
getDescription()
The description of this Map, supplied by the author.
|
java.lang.String |
getId()
A globally unique ID, used to refer to this Map.
|
java.lang.String |
getName()
The name of this Map, supplied by the author.
|
java.lang.String |
getProjectId()
The ID of the project that this Map is in.
|
PublishedMap |
set(java.lang.String fieldName,
java.lang.Object value) |
PublishedMap |
setContents(java.util.List<MapItem> contents)
The contents of this Map.
|
PublishedMap |
setDefaultViewport(java.util.List<java.lang.Double> defaultViewport)
An array of four numbers (west, south, east, north) which defines the rectangular bounding box
of the default viewport.
|
PublishedMap |
setDescription(java.lang.String description)
The description of this Map, supplied by the author.
|
PublishedMap |
setId(java.lang.String id)
A globally unique ID, used to refer to this Map.
|
PublishedMap |
setName(java.lang.String name)
The name of this Map, supplied by the author.
|
PublishedMap |
setProjectId(java.lang.String projectId)
The ID of the project that this Map is in.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<MapItem> getContents()
null for nonepublic PublishedMap setContents(java.util.List<MapItem> contents)
contents - contents or null for nonepublic java.util.List<java.lang.Double> getDefaultViewport()
null for nonepublic PublishedMap setDefaultViewport(java.util.List<java.lang.Double> defaultViewport)
defaultViewport - defaultViewport or null for nonepublic java.lang.String getDescription()
null for nonepublic PublishedMap setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getId()
null for nonepublic PublishedMap setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getName()
null for nonepublic PublishedMap setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getProjectId()
null for nonepublic PublishedMap setProjectId(java.lang.String projectId)
projectId - projectId or null for nonepublic PublishedMap set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PublishedMap clone()
clone in class com.google.api.client.json.GenericJson