public final class SheetsChartReference extends 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 Docs API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SheetsChartReference() |
Modifier and Type | Method and Description |
---|---|
SheetsChartReference |
clone() |
Integer |
getChartId()
The ID of the specific chart in the Google Sheets spreadsheet that is embedded.
|
String |
getSpreadsheetId()
The ID of the Google Sheets spreadsheet that contains the source chart.
|
SheetsChartReference |
set(String fieldName,
Object value) |
SheetsChartReference |
setChartId(Integer chartId)
The ID of the specific chart in the Google Sheets spreadsheet that is embedded.
|
SheetsChartReference |
setSpreadsheetId(String spreadsheetId)
The ID of the Google Sheets spreadsheet that contains the source chart.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Integer getChartId()
null
for nonepublic SheetsChartReference setChartId(Integer chartId)
chartId
- chartId or null
for nonepublic String getSpreadsheetId()
null
for nonepublic SheetsChartReference setSpreadsheetId(String spreadsheetId)
spreadsheetId
- spreadsheetId or null
for nonepublic SheetsChartReference set(String fieldName, Object value)
set
in class GenericJson
public SheetsChartReference clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.