public final class FilterView
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 |
---|
FilterView() |
Modifier and Type | Method and Description |
---|---|
FilterView |
clone() |
java.util.Map<java.lang.String,FilterCriteria> |
getCriteria()
The criteria for showing/hiding values per column.
|
java.lang.Integer |
getFilterViewId()
The ID of the filter view.
|
java.lang.String |
getNamedRangeId()
The named range this filter view is backed by, if any.
|
GridRange |
getRange()
The range this filter view covers.
|
java.util.List<SortSpec> |
getSortSpecs()
The sort order per column.
|
java.lang.String |
getTitle()
The name of the filter view.
|
FilterView |
set(java.lang.String fieldName,
java.lang.Object value) |
FilterView |
setCriteria(java.util.Map<java.lang.String,FilterCriteria> criteria)
The criteria for showing/hiding values per column.
|
FilterView |
setFilterViewId(java.lang.Integer filterViewId)
The ID of the filter view.
|
FilterView |
setNamedRangeId(java.lang.String namedRangeId)
The named range this filter view is backed by, if any.
|
FilterView |
setRange(GridRange range)
The range this filter view covers.
|
FilterView |
setSortSpecs(java.util.List<SortSpec> sortSpecs)
The sort order per column.
|
FilterView |
setTitle(java.lang.String title)
The name of the filter view.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.Map<java.lang.String,FilterCriteria> getCriteria()
null
for nonepublic FilterView setCriteria(java.util.Map<java.lang.String,FilterCriteria> criteria)
criteria
- criteria or null
for nonepublic java.lang.Integer getFilterViewId()
null
for nonepublic FilterView setFilterViewId(java.lang.Integer filterViewId)
filterViewId
- filterViewId or null
for nonepublic java.lang.String getNamedRangeId()
null
for nonepublic FilterView setNamedRangeId(java.lang.String namedRangeId)
namedRangeId
- namedRangeId or null
for nonepublic GridRange getRange()
null
for nonepublic FilterView setRange(GridRange range)
range
- range or null
for nonepublic java.util.List<SortSpec> getSortSpecs()
null
for nonepublic FilterView setSortSpecs(java.util.List<SortSpec> sortSpecs)
sortSpecs
- sortSpecs or null
for nonepublic java.lang.String getTitle()
null
for nonepublic FilterView setTitle(java.lang.String title)
title
- title or null
for nonepublic FilterView set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public FilterView clone()
clone
in class com.google.api.client.json.GenericJson