public final class EmbeddedObjectPosition 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 |
---|
EmbeddedObjectPosition() |
Modifier and Type | Method and Description |
---|---|
EmbeddedObjectPosition |
clone() |
Boolean |
getNewSheet()
If true, the embedded object will be put on a new sheet whose ID is chosen for you.
|
OverlayPosition |
getOverlayPosition()
The position at which the object is overlaid on top of a grid.
|
Integer |
getSheetId()
The sheet this is on.
|
EmbeddedObjectPosition |
set(String fieldName,
Object value) |
EmbeddedObjectPosition |
setNewSheet(Boolean newSheet)
If true, the embedded object will be put on a new sheet whose ID is chosen for you.
|
EmbeddedObjectPosition |
setOverlayPosition(OverlayPosition overlayPosition)
The position at which the object is overlaid on top of a grid.
|
EmbeddedObjectPosition |
setSheetId(Integer sheetId)
The sheet this is on.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Boolean getNewSheet()
null
for nonepublic EmbeddedObjectPosition setNewSheet(Boolean newSheet)
newSheet
- newSheet or null
for nonepublic OverlayPosition getOverlayPosition()
null
for nonepublic EmbeddedObjectPosition setOverlayPosition(OverlayPosition overlayPosition)
overlayPosition
- overlayPosition or null
for nonepublic Integer getSheetId()
null
for nonepublic EmbeddedObjectPosition setSheetId(Integer sheetId)
sheetId
- sheetId or null
for nonepublic EmbeddedObjectPosition set(String fieldName, Object value)
set
in class GenericJson
public EmbeddedObjectPosition clone()
clone
in class GenericJson