public final class SpreadsheetTheme
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 |
---|
SpreadsheetTheme() |
Modifier and Type | Method and Description |
---|---|
SpreadsheetTheme |
clone() |
java.lang.String |
getPrimaryFontFamily()
/ Name of the primary font family.
|
java.util.List<ThemeColorPair> |
getThemeColors()
The spreadsheet theme color pairs.
|
SpreadsheetTheme |
set(java.lang.String fieldName,
java.lang.Object value) |
SpreadsheetTheme |
setPrimaryFontFamily(java.lang.String primaryFontFamily)
/ Name of the primary font family.
|
SpreadsheetTheme |
setThemeColors(java.util.List<ThemeColorPair> themeColors)
The spreadsheet theme color pairs.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getPrimaryFontFamily()
null
for nonepublic SpreadsheetTheme setPrimaryFontFamily(java.lang.String primaryFontFamily)
primaryFontFamily
- primaryFontFamily or null
for nonepublic java.util.List<ThemeColorPair> getThemeColors()
null
for nonepublic SpreadsheetTheme setThemeColors(java.util.List<ThemeColorPair> themeColors)
themeColors
- themeColors or null
for nonepublic SpreadsheetTheme set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SpreadsheetTheme clone()
clone
in class com.google.api.client.json.GenericJson