public final class UpdateEmbeddedObjectPositionRequest 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 |
---|
UpdateEmbeddedObjectPositionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEmbeddedObjectPositionRequest |
clone() |
String |
getFields()
The fields of OverlayPosition that should be updated when setting a new position.
|
EmbeddedObjectPosition |
getNewPosition()
An explicit position to move the embedded object to.
|
Integer |
getObjectId()
The ID of the object to moved.
|
UpdateEmbeddedObjectPositionRequest |
set(String fieldName,
Object value) |
UpdateEmbeddedObjectPositionRequest |
setFields(String fields)
The fields of OverlayPosition that should be updated when setting a new position.
|
UpdateEmbeddedObjectPositionRequest |
setNewPosition(EmbeddedObjectPosition newPosition)
An explicit position to move the embedded object to.
|
UpdateEmbeddedObjectPositionRequest |
setObjectId(Integer objectId)
The ID of the object to moved.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getFields()
null
for nonepublic UpdateEmbeddedObjectPositionRequest setFields(String fields)
fields
- fields or null
for nonepublic EmbeddedObjectPosition getNewPosition()
null
for nonepublic UpdateEmbeddedObjectPositionRequest setNewPosition(EmbeddedObjectPosition newPosition)
newPosition
- newPosition or null
for nonepublic Integer getObjectId()
null
for nonepublic UpdateEmbeddedObjectPositionRequest setObjectId(Integer objectId)
objectId
- objectId or null
for nonepublic UpdateEmbeddedObjectPositionRequest set(String fieldName, Object value)
set
in class GenericJson
public UpdateEmbeddedObjectPositionRequest clone()
clone
in class GenericJson