public final class Padding 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 |
---|
Padding() |
Modifier and Type | Method and Description |
---|---|
Padding |
clone() |
Integer |
getBottom()
The bottom padding of the cell.
|
Integer |
getLeft()
The left padding of the cell.
|
Integer |
getRight()
The right padding of the cell.
|
Integer |
getTop()
The top padding of the cell.
|
Padding |
set(String fieldName,
Object value) |
Padding |
setBottom(Integer bottom)
The bottom padding of the cell.
|
Padding |
setLeft(Integer left)
The left padding of the cell.
|
Padding |
setRight(Integer right)
The right padding of the cell.
|
Padding |
setTop(Integer top)
The top padding of the cell.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Integer getBottom()
null
for nonepublic Padding setBottom(Integer bottom)
bottom
- bottom or null
for nonepublic Integer getLeft()
null
for nonepublic Padding setLeft(Integer left)
left
- left or null
for nonepublic Integer getRight()
null
for nonepublic Padding setRight(Integer right)
right
- right or null
for nonepublic Integer getTop()
null
for nonepublic Padding setTop(Integer top)
top
- top or null
for nonepublic Padding set(String fieldName, Object value)
set
in class GenericJson
public Padding clone()
clone
in class GenericJson