public final class Deployment 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 Google 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 |
---|
Deployment() |
Modifier and Type | Method and Description |
---|---|
Deployment |
clone() |
DeploymentConfig |
getDeploymentConfig()
The deployment configuration.
|
String |
getDeploymentId()
The deployment ID for this deployment.
|
List<EntryPoint> |
getEntryPoints()
The deployment's entry points.
|
GoogleAppsScriptTypeFunctionSet |
getFunctionSet()
Script's defined set of functions.
|
GoogleAppsScriptTypeScopeSet |
getScopeSet()
Set of scopes required by the deployment.
|
String |
getUpdateTime()
Last modified date time stamp.
|
Deployment |
set(String fieldName,
Object value) |
Deployment |
setDeploymentConfig(DeploymentConfig deploymentConfig)
The deployment configuration.
|
Deployment |
setDeploymentId(String deploymentId)
The deployment ID for this deployment.
|
Deployment |
setEntryPoints(List<EntryPoint> entryPoints)
The deployment's entry points.
|
Deployment |
setFunctionSet(GoogleAppsScriptTypeFunctionSet functionSet)
Script's defined set of functions.
|
Deployment |
setScopeSet(GoogleAppsScriptTypeScopeSet scopeSet)
Set of scopes required by the deployment.
|
Deployment |
setUpdateTime(String updateTime)
Last modified date time stamp.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public DeploymentConfig getDeploymentConfig()
null
for nonepublic Deployment setDeploymentConfig(DeploymentConfig deploymentConfig)
deploymentConfig
- deploymentConfig or null
for nonepublic String getDeploymentId()
null
for nonepublic Deployment setDeploymentId(String deploymentId)
deploymentId
- deploymentId or null
for nonepublic List<EntryPoint> getEntryPoints()
null
for nonepublic Deployment setEntryPoints(List<EntryPoint> entryPoints)
entryPoints
- entryPoints or null
for nonepublic GoogleAppsScriptTypeFunctionSet getFunctionSet()
null
for nonepublic Deployment setFunctionSet(GoogleAppsScriptTypeFunctionSet functionSet)
functionSet
- functionSet or null
for nonepublic GoogleAppsScriptTypeScopeSet getScopeSet()
null
for nonepublic Deployment setScopeSet(GoogleAppsScriptTypeScopeSet scopeSet)
scopeSet
- scopeSet or null
for nonepublic String getUpdateTime()
null
for nonepublic Deployment setUpdateTime(String updateTime)
updateTime
- updateTime or null
for nonepublic Deployment set(String fieldName, Object value)
set
in class GenericJson
public Deployment clone()
clone
in class GenericJson