public final class DeveloperMetadata 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 Sheets API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
DeveloperMetadata() |
Modifier and Type | Method and Description |
---|---|
DeveloperMetadata |
clone() |
DeveloperMetadataLocation |
getLocation()
The location where the metadata is associated.
|
Integer |
getMetadataId()
The spreadsheet-scoped unique ID that identifies the metadata.
|
String |
getMetadataKey()
The metadata key.
|
String |
getMetadataValue()
Data associated with the metadata's key.
|
String |
getVisibility()
The metadata visibility.
|
DeveloperMetadata |
set(String fieldName,
Object value) |
DeveloperMetadata |
setLocation(DeveloperMetadataLocation location)
The location where the metadata is associated.
|
DeveloperMetadata |
setMetadataId(Integer metadataId)
The spreadsheet-scoped unique ID that identifies the metadata.
|
DeveloperMetadata |
setMetadataKey(String metadataKey)
The metadata key.
|
DeveloperMetadata |
setMetadataValue(String metadataValue)
Data associated with the metadata's key.
|
DeveloperMetadata |
setVisibility(String visibility)
The metadata visibility.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public DeveloperMetadataLocation getLocation()
null
for nonepublic DeveloperMetadata setLocation(DeveloperMetadataLocation location)
location
- location or null
for nonepublic Integer getMetadataId()
null
for nonepublic DeveloperMetadata setMetadataId(Integer metadataId)
metadataId
- metadataId or null
for nonepublic String getMetadataKey()
null
for nonepublic DeveloperMetadata setMetadataKey(String metadataKey)
metadataKey
- metadataKey or null
for nonepublic String getMetadataValue()
null
for nonepublic DeveloperMetadata setMetadataValue(String metadataValue)
metadataValue
- metadataValue or null
for nonepublic String getVisibility()
null
for nonepublic DeveloperMetadata setVisibility(String visibility)
visibility
- visibility or null
for nonepublic DeveloperMetadata set(String fieldName, Object value)
set
in class GenericJson
public DeveloperMetadata clone()
clone
in class GenericJson