public final class Project 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 |
---|
Project() |
Modifier and Type | Method and Description |
---|---|
Project |
clone() |
String |
getCreateTime()
When the script was created.
|
GoogleAppsScriptTypeUser |
getCreator()
User who originally created the script.
|
GoogleAppsScriptTypeUser |
getLastModifyUser()
User who last modified the script.
|
String |
getParentId()
The parent's Drive ID that the script will be attached to.
|
String |
getScriptId()
The script project's Drive ID.
|
String |
getTitle()
The title for the project.
|
String |
getUpdateTime()
When the script was last updated.
|
Project |
set(String fieldName,
Object value) |
Project |
setCreateTime(String createTime)
When the script was created.
|
Project |
setCreator(GoogleAppsScriptTypeUser creator)
User who originally created the script.
|
Project |
setLastModifyUser(GoogleAppsScriptTypeUser lastModifyUser)
User who last modified the script.
|
Project |
setParentId(String parentId)
The parent's Drive ID that the script will be attached to.
|
Project |
setScriptId(String scriptId)
The script project's Drive ID.
|
Project |
setTitle(String title)
The title for the project.
|
Project |
setUpdateTime(String updateTime)
When the script was last updated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getCreateTime()
null
for nonepublic Project setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic GoogleAppsScriptTypeUser getCreator()
null
for nonepublic Project setCreator(GoogleAppsScriptTypeUser creator)
creator
- creator or null
for nonepublic GoogleAppsScriptTypeUser getLastModifyUser()
null
for nonepublic Project setLastModifyUser(GoogleAppsScriptTypeUser lastModifyUser)
lastModifyUser
- lastModifyUser or null
for nonepublic String getParentId()
null
for nonepublic Project setParentId(String parentId)
parentId
- parentId or null
for nonepublic String getScriptId()
null
for nonepublic Project setScriptId(String scriptId)
scriptId
- scriptId or null
for nonepublic String getTitle()
null
for nonepublic Project setTitle(String title)
title
- title or null
for nonepublic String getUpdateTime()
null
for nonepublic Project setUpdateTime(String updateTime)
updateTime
- updateTime or null
for nonepublic Project set(String fieldName, Object value)
set
in class GenericJson
public Project clone()
clone
in class GenericJson