public final class CreateProjectRequest 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 |
---|
CreateProjectRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProjectRequest |
clone() |
String |
getParentId()
The Drive ID of a parent file that the created script project is bound to.
|
String |
getTitle()
The title for the project.
|
CreateProjectRequest |
set(String fieldName,
Object value) |
CreateProjectRequest |
setParentId(String parentId)
The Drive ID of a parent file that the created script project is bound to.
|
CreateProjectRequest |
setTitle(String title)
The title for the project.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getParentId()
null
for nonepublic CreateProjectRequest setParentId(String parentId)
parentId
- parentId or null
for nonepublic String getTitle()
null
for nonepublic CreateProjectRequest setTitle(String title)
title
- title or null
for nonepublic CreateProjectRequest set(String fieldName, Object value)
set
in class GenericJson
public CreateProjectRequest clone()
clone
in class GenericJson