public final class AddConditionalFormatRuleRequest
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 |
|---|
AddConditionalFormatRuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddConditionalFormatRuleRequest |
clone() |
java.lang.Integer |
getIndex()
The zero-based index where the rule should be inserted.
|
ConditionalFormatRule |
getRule()
The rule to add.
|
AddConditionalFormatRuleRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
AddConditionalFormatRuleRequest |
setIndex(java.lang.Integer index)
The zero-based index where the rule should be inserted.
|
AddConditionalFormatRuleRequest |
setRule(ConditionalFormatRule rule)
The rule to add.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Integer getIndex()
null for nonepublic AddConditionalFormatRuleRequest setIndex(java.lang.Integer index)
index - index or null for nonepublic ConditionalFormatRule getRule()
null for nonepublic AddConditionalFormatRuleRequest setRule(ConditionalFormatRule rule)
rule - rule or null for nonepublic AddConditionalFormatRuleRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic AddConditionalFormatRuleRequest clone()
clone in class com.google.api.client.json.GenericJson