public final class Version 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 Apps Script API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Version() |
Modifier and Type | Method and Description |
---|---|
Version |
clone() |
String |
getCreateTime()
When the version was created.
|
String |
getDescription()
The description for this version.
|
String |
getScriptId()
The script project's Drive ID.
|
Integer |
getVersionNumber()
The incremental ID that is created by Apps Script when a version is created.
|
Version |
set(String fieldName,
Object value) |
Version |
setCreateTime(String createTime)
When the version was created.
|
Version |
setDescription(String description)
The description for this version.
|
Version |
setScriptId(String scriptId)
The script project's Drive ID.
|
Version |
setVersionNumber(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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCreateTime()
null
for nonepublic Version setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getDescription()
null
for nonepublic Version setDescription(String description)
description
- description or null
for nonepublic String getScriptId()
null
for nonepublic Version setScriptId(String scriptId)
scriptId
- scriptId or null
for nonepublic Integer getVersionNumber()
null
for nonepublic Version setVersionNumber(Integer versionNumber)
versionNumber
- versionNumber or null
for nonepublic Version set(String fieldName, Object value)
set
in class GenericJson
public Version clone()
clone
in class GenericJson