public final class UpdateConditionalFormatRuleRequest
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 |
|---|
UpdateConditionalFormatRuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateConditionalFormatRuleRequest |
clone() |
java.lang.Integer |
getIndex()
The zero-based index of the rule that should be replaced or moved.
|
java.lang.Integer |
getNewIndex()
The zero-based new index the rule should end up at.
|
ConditionalFormatRule |
getRule()
The rule that should replace the rule at the given index.
|
java.lang.Integer |
getSheetId()
The sheet of the rule to move.
|
UpdateConditionalFormatRuleRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
UpdateConditionalFormatRuleRequest |
setIndex(java.lang.Integer index)
The zero-based index of the rule that should be replaced or moved.
|
UpdateConditionalFormatRuleRequest |
setNewIndex(java.lang.Integer newIndex)
The zero-based new index the rule should end up at.
|
UpdateConditionalFormatRuleRequest |
setRule(ConditionalFormatRule rule)
The rule that should replace the rule at the given index.
|
UpdateConditionalFormatRuleRequest |
setSheetId(java.lang.Integer sheetId)
The sheet of the rule to move.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Integer getIndex()
null for nonepublic UpdateConditionalFormatRuleRequest setIndex(java.lang.Integer index)
index - index or null for nonepublic java.lang.Integer getNewIndex()
null for nonepublic UpdateConditionalFormatRuleRequest setNewIndex(java.lang.Integer newIndex)
newIndex - newIndex or null for nonepublic ConditionalFormatRule getRule()
null for nonepublic UpdateConditionalFormatRuleRequest setRule(ConditionalFormatRule rule)
rule - rule or null for nonepublic java.lang.Integer getSheetId()
null for nonepublic UpdateConditionalFormatRuleRequest setSheetId(java.lang.Integer sheetId)
sheetId - sheetId or null for nonepublic UpdateConditionalFormatRuleRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic UpdateConditionalFormatRuleRequest clone()
clone in class com.google.api.client.json.GenericJson