target.apidocs.com.google.api.services.sheets.v4.model.UpdateConditionalFormatRuleResponse.html Maven / Gradle / Ivy
UpdateConditionalFormatRuleResponse (Google Sheets API v4-rev20240319-2.0.0)
com.google.api.services.sheets.v4.model
Class UpdateConditionalFormatRuleResponse
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sheets.v4.model.UpdateConditionalFormatRuleResponse
-
public final class UpdateConditionalFormatRuleResponse
extends com.google.api.client.json.GenericJson
The result of updating a conditional format rule.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
UpdateConditionalFormatRuleResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
UpdateConditionalFormatRuleResponse
clone()
Integer
getNewIndex()
The index of the new rule.
ConditionalFormatRule
getNewRule()
The new rule that replaced the old rule (if replacing), or the rule that was moved (if moved)
Integer
getOldIndex()
The old index of the rule.
ConditionalFormatRule
getOldRule()
The old (deleted) rule.
UpdateConditionalFormatRuleResponse
set(String fieldName,
Object value)
UpdateConditionalFormatRuleResponse
setNewIndex(Integer newIndex)
The index of the new rule.
UpdateConditionalFormatRuleResponse
setNewRule(ConditionalFormatRule newRule)
The new rule that replaced the old rule (if replacing), or the rule that was moved (if moved)
UpdateConditionalFormatRuleResponse
setOldIndex(Integer oldIndex)
The old index of the rule.
UpdateConditionalFormatRuleResponse
setOldRule(ConditionalFormatRule oldRule)
The old (deleted) rule.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getNewIndex
public Integer getNewIndex()
The index of the new rule.
- Returns:
- value or
null
for none
-
setNewIndex
public UpdateConditionalFormatRuleResponse setNewIndex(Integer newIndex)
The index of the new rule.
- Parameters:
newIndex
- newIndex or null
for none
-
getNewRule
public ConditionalFormatRule getNewRule()
The new rule that replaced the old rule (if replacing), or the rule that was moved (if moved)
- Returns:
- value or
null
for none
-
setNewRule
public UpdateConditionalFormatRuleResponse setNewRule(ConditionalFormatRule newRule)
The new rule that replaced the old rule (if replacing), or the rule that was moved (if moved)
- Parameters:
newRule
- newRule or null
for none
-
getOldIndex
public Integer getOldIndex()
The old index of the rule. Not set if a rule was replaced (because it is the same as
new_index).
- Returns:
- value or
null
for none
-
setOldIndex
public UpdateConditionalFormatRuleResponse setOldIndex(Integer oldIndex)
The old index of the rule. Not set if a rule was replaced (because it is the same as
new_index).
- Parameters:
oldIndex
- oldIndex or null
for none
-
getOldRule
public ConditionalFormatRule getOldRule()
The old (deleted) rule. Not set if a rule was moved (because it is the same as new_rule).
- Returns:
- value or
null
for none
-
setOldRule
public UpdateConditionalFormatRuleResponse setOldRule(ConditionalFormatRule oldRule)
The old (deleted) rule. Not set if a rule was moved (because it is the same as new_rule).
- Parameters:
oldRule
- oldRule or null
for none
-
set
public UpdateConditionalFormatRuleResponse set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public UpdateConditionalFormatRuleResponse clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.