public final class Asset extends 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Asset() |
| Modifier and Type | Method and Description |
|---|---|
Asset |
clone() |
List<Double> |
getBbox()
A rectangular bounding box which contains all of the data in this asset.
|
DateTime |
getCreationTime()
The creation time of this asset.
|
String |
getDescription()
The asset's description.
|
String |
getEtag()
The ETag, used to refer to the current version of the asset.
|
String |
getId()
The asset's globally unique ID.
|
DateTime |
getLastModifiedTime()
The last modified time of this asset.
|
String |
getName()
The asset's name.
|
String |
getProjectId()
The ID of the project to which the asset belongs.
|
String |
getResource()
The URL to query to retrieve the asset's complete object.
|
List<String> |
getTags()
An array of text strings, with each string representing a tag.
|
String |
getType()
The type of asset.
|
Asset |
set(String fieldName,
Object value) |
Asset |
setBbox(List<Double> bbox)
A rectangular bounding box which contains all of the data in this asset.
|
Asset |
setCreationTime(DateTime creationTime)
The creation time of this asset.
|
Asset |
setDescription(String description)
The asset's description.
|
Asset |
setEtag(String etag)
The ETag, used to refer to the current version of the asset.
|
Asset |
setId(String id)
The asset's globally unique ID.
|
Asset |
setLastModifiedTime(DateTime lastModifiedTime)
The last modified time of this asset.
|
Asset |
setName(String name)
The asset's name.
|
Asset |
setProjectId(String projectId)
The ID of the project to which the asset belongs.
|
Asset |
setResource(String resource)
The URL to query to retrieve the asset's complete object.
|
Asset |
setTags(List<String> tags)
An array of text strings, with each string representing a tag.
|
Asset |
setType(String type)
The type of asset.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<Double> getBbox()
null for nonepublic Asset setBbox(List<Double> bbox)
bbox - bbox or null for nonepublic DateTime getCreationTime()
null for nonepublic Asset setCreationTime(DateTime creationTime)
creationTime - creationTime or null for nonepublic String getDescription()
null for nonepublic Asset setDescription(String description)
description - description or null for nonepublic String getEtag()
null for nonepublic Asset setEtag(String etag)
etag - etag or null for nonepublic String getId()
null for nonepublic Asset setId(String id)
id - id or null for nonepublic DateTime getLastModifiedTime()
null for nonepublic Asset setLastModifiedTime(DateTime lastModifiedTime)
lastModifiedTime - lastModifiedTime or null for nonepublic String getName()
null for nonepublic String getProjectId()
null for nonepublic Asset setProjectId(String projectId)
projectId - projectId or null for nonepublic String getResource()
null for nonepublic Asset setResource(String resource)
resource - resource or null for nonepublic List<String> getTags()
null for nonepublic Asset setTags(List<String> tags)
tags - tags or null for nonepublic String getType()
null for nonepublic Asset setType(String type)
type - type or null for nonepublic Asset set(String fieldName, Object value)
set in class GenericJsonpublic Asset clone()
clone in class GenericJson