public final class SheetProperties
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 |
---|
SheetProperties() |
Modifier and Type | Method and Description |
---|---|
SheetProperties |
clone() |
GridProperties |
getGridProperties()
Additional properties of the sheet if this sheet is a grid.
|
java.lang.Boolean |
getHidden()
True if the sheet is hidden in the UI, false if it's visible.
|
java.lang.Integer |
getIndex()
The index of the sheet within the spreadsheet.
|
java.lang.Boolean |
getRightToLeft()
True if the sheet is an RTL sheet instead of an LTR sheet.
|
java.lang.Integer |
getSheetId()
The ID of the sheet.
|
java.lang.String |
getSheetType()
The type of sheet.
|
Color |
getTabColor()
The color of the tab in the UI.
|
ColorStyle |
getTabColorStyle()
The color of the tab in the UI.
|
java.lang.String |
getTitle()
The name of the sheet.
|
SheetProperties |
set(java.lang.String fieldName,
java.lang.Object value) |
SheetProperties |
setGridProperties(GridProperties gridProperties)
Additional properties of the sheet if this sheet is a grid.
|
SheetProperties |
setHidden(java.lang.Boolean hidden)
True if the sheet is hidden in the UI, false if it's visible.
|
SheetProperties |
setIndex(java.lang.Integer index)
The index of the sheet within the spreadsheet.
|
SheetProperties |
setRightToLeft(java.lang.Boolean rightToLeft)
True if the sheet is an RTL sheet instead of an LTR sheet.
|
SheetProperties |
setSheetId(java.lang.Integer sheetId)
The ID of the sheet.
|
SheetProperties |
setSheetType(java.lang.String sheetType)
The type of sheet.
|
SheetProperties |
setTabColor(Color tabColor)
The color of the tab in the UI.
|
SheetProperties |
setTabColorStyle(ColorStyle tabColorStyle)
The color of the tab in the UI.
|
SheetProperties |
setTitle(java.lang.String title)
The name of the sheet.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public GridProperties getGridProperties()
null
for nonepublic SheetProperties setGridProperties(GridProperties gridProperties)
gridProperties
- gridProperties or null
for nonepublic java.lang.Boolean getHidden()
null
for nonepublic SheetProperties setHidden(java.lang.Boolean hidden)
hidden
- hidden or null
for nonepublic java.lang.Integer getIndex()
null
for nonepublic SheetProperties setIndex(java.lang.Integer index)
index
- index or null
for nonepublic java.lang.Boolean getRightToLeft()
null
for nonepublic SheetProperties setRightToLeft(java.lang.Boolean rightToLeft)
rightToLeft
- rightToLeft or null
for nonepublic java.lang.Integer getSheetId()
null
for nonepublic SheetProperties setSheetId(java.lang.Integer sheetId)
sheetId
- sheetId or null
for nonepublic java.lang.String getSheetType()
null
for nonepublic SheetProperties setSheetType(java.lang.String sheetType)
sheetType
- sheetType or null
for nonepublic Color getTabColor()
null
for nonepublic SheetProperties setTabColor(Color tabColor)
tabColor
- tabColor or null
for nonepublic ColorStyle getTabColorStyle()
null
for nonepublic SheetProperties setTabColorStyle(ColorStyle tabColorStyle)
tabColorStyle
- tabColorStyle or null
for nonepublic java.lang.String getTitle()
null
for nonepublic SheetProperties setTitle(java.lang.String title)
title
- title or null
for nonepublic SheetProperties set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SheetProperties clone()
clone
in class com.google.api.client.json.GenericJson