public final class SheetsChart
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 Slides 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 |
---|
SheetsChart() |
Modifier and Type | Method and Description |
---|---|
SheetsChart |
clone() |
java.lang.Integer |
getChartId()
The ID of the specific chart in the Google Sheets spreadsheet that is embedded.
|
java.lang.String |
getContentUrl()
The URL of an image of the embedded chart, with a default lifetime of 30 minutes.
|
SheetsChartProperties |
getSheetsChartProperties()
The properties of the Sheets chart.
|
java.lang.String |
getSpreadsheetId()
The ID of the Google Sheets spreadsheet that contains the source chart.
|
SheetsChart |
set(java.lang.String fieldName,
java.lang.Object value) |
SheetsChart |
setChartId(java.lang.Integer chartId)
The ID of the specific chart in the Google Sheets spreadsheet that is embedded.
|
SheetsChart |
setContentUrl(java.lang.String contentUrl)
The URL of an image of the embedded chart, with a default lifetime of 30 minutes.
|
SheetsChart |
setSheetsChartProperties(SheetsChartProperties sheetsChartProperties)
The properties of the Sheets chart.
|
SheetsChart |
setSpreadsheetId(java.lang.String spreadsheetId)
The ID of the Google Sheets spreadsheet that contains the source chart.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Integer getChartId()
null
for nonepublic SheetsChart setChartId(java.lang.Integer chartId)
chartId
- chartId or null
for nonepublic java.lang.String getContentUrl()
null
for nonepublic SheetsChart setContentUrl(java.lang.String contentUrl)
contentUrl
- contentUrl or null
for nonepublic SheetsChartProperties getSheetsChartProperties()
null
for nonepublic SheetsChart setSheetsChartProperties(SheetsChartProperties sheetsChartProperties)
sheetsChartProperties
- sheetsChartProperties or null
for nonepublic java.lang.String getSpreadsheetId()
null
for nonepublic SheetsChart setSpreadsheetId(java.lang.String spreadsheetId)
spreadsheetId
- spreadsheetId or null
for nonepublic SheetsChart set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SheetsChart clone()
clone
in class com.google.api.client.json.GenericJson