public final class SortRangeRequest
extends com.google.api.client.json.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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
SortRangeRequest() |
Modifier and Type | Method and Description |
---|---|
SortRangeRequest |
clone() |
GridRange |
getRange()
The range to sort.
|
java.util.List<SortSpec> |
getSortSpecs()
The sort order per column.
|
SortRangeRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
SortRangeRequest |
setRange(GridRange range)
The range to sort.
|
SortRangeRequest |
setSortSpecs(java.util.List<SortSpec> sortSpecs)
The sort order per column.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public GridRange getRange()
null
for nonepublic SortRangeRequest setRange(GridRange range)
range
- range or null
for nonepublic java.util.List<SortSpec> getSortSpecs()
null
for nonepublic SortRangeRequest setSortSpecs(java.util.List<SortSpec> sortSpecs)
sortSpecs
- sortSpecs or null
for nonepublic SortRangeRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SortRangeRequest clone()
clone
in class com.google.api.client.json.GenericJson