public final class MoveDimensionRequest 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 |
---|
MoveDimensionRequest() |
Modifier and Type | Method and Description |
---|---|
MoveDimensionRequest |
clone() |
Integer |
getDestinationIndex()
The zero-based start index of where to move the source data to, based on the coordinates
*before* the source data is removed from the grid.
|
DimensionRange |
getSource()
The source dimensions to move.
|
MoveDimensionRequest |
set(String fieldName,
Object value) |
MoveDimensionRequest |
setDestinationIndex(Integer destinationIndex)
The zero-based start index of where to move the source data to, based on the coordinates
*before* the source data is removed from the grid.
|
MoveDimensionRequest |
setSource(DimensionRange source)
The source dimensions to move.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Integer getDestinationIndex()
null
for nonepublic MoveDimensionRequest setDestinationIndex(Integer destinationIndex)
destinationIndex
- destinationIndex or null
for nonepublic DimensionRange getSource()
null
for nonepublic MoveDimensionRequest setSource(DimensionRange source)
source
- source or null
for nonepublic MoveDimensionRequest set(String fieldName, Object value)
set
in class GenericJson
public MoveDimensionRequest clone()
clone
in class GenericJson