public final class Version
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 Apps Script 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 |
---|
Version() |
Modifier and Type | Method and Description |
---|---|
Version |
clone() |
java.lang.String |
getCreateTime()
When the version was created.
|
java.lang.String |
getDescription()
The description for this version.
|
java.lang.String |
getScriptId()
The script project's Drive ID.
|
java.lang.Integer |
getVersionNumber()
The incremental ID that is created by Apps Script when a version is created.
|
Version |
set(java.lang.String fieldName,
java.lang.Object value) |
Version |
setCreateTime(java.lang.String createTime)
When the version was created.
|
Version |
setDescription(java.lang.String description)
The description for this version.
|
Version |
setScriptId(java.lang.String scriptId)
The script project's Drive ID.
|
Version |
setVersionNumber(java.lang.Integer versionNumber)
The incremental ID that is created by Apps Script when a version is created.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getCreateTime()
null
for nonepublic Version setCreateTime(java.lang.String createTime)
createTime
- createTime or null
for nonepublic java.lang.String getDescription()
null
for nonepublic Version setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getScriptId()
null
for nonepublic Version setScriptId(java.lang.String scriptId)
scriptId
- scriptId or null
for nonepublic java.lang.Integer getVersionNumber()
null
for nonepublic Version setVersionNumber(java.lang.Integer versionNumber)
versionNumber
- versionNumber or null
for nonepublic Version set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Version clone()
clone
in class com.google.api.client.json.GenericJson