public final class DuplicateSheetRequest
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 |
---|
DuplicateSheetRequest() |
Modifier and Type | Method and Description |
---|---|
DuplicateSheetRequest |
clone() |
java.lang.Integer |
getInsertSheetIndex()
The zero-based index where the new sheet should be inserted.
|
java.lang.Integer |
getNewSheetId()
If set, the ID of the new sheet.
|
java.lang.String |
getNewSheetName()
The name of the new sheet.
|
java.lang.Integer |
getSourceSheetId()
The sheet to duplicate.
|
DuplicateSheetRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
DuplicateSheetRequest |
setInsertSheetIndex(java.lang.Integer insertSheetIndex)
The zero-based index where the new sheet should be inserted.
|
DuplicateSheetRequest |
setNewSheetId(java.lang.Integer newSheetId)
If set, the ID of the new sheet.
|
DuplicateSheetRequest |
setNewSheetName(java.lang.String newSheetName)
The name of the new sheet.
|
DuplicateSheetRequest |
setSourceSheetId(java.lang.Integer sourceSheetId)
The sheet to duplicate.
|
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 getInsertSheetIndex()
null
for nonepublic DuplicateSheetRequest setInsertSheetIndex(java.lang.Integer insertSheetIndex)
insertSheetIndex
- insertSheetIndex or null
for nonepublic java.lang.Integer getNewSheetId()
null
for nonepublic DuplicateSheetRequest setNewSheetId(java.lang.Integer newSheetId)
newSheetId
- newSheetId or null
for nonepublic java.lang.String getNewSheetName()
null
for nonepublic DuplicateSheetRequest setNewSheetName(java.lang.String newSheetName)
newSheetName
- newSheetName or null
for nonepublic java.lang.Integer getSourceSheetId()
null
for nonepublic DuplicateSheetRequest setSourceSheetId(java.lang.Integer sourceSheetId)
sourceSheetId
- sourceSheetId or null
for nonepublic DuplicateSheetRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public DuplicateSheetRequest clone()
clone
in class com.google.api.client.json.GenericJson