public static final class File.Capabilities
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
File.Capabilities() |
| Modifier and Type | Method and Description |
|---|---|
File.Capabilities |
clone() |
java.lang.Boolean |
getCanComment()
Whether the user can comment on the file.
|
java.lang.Boolean |
getCanCopy()
Whether the user can copy the file.
|
java.lang.Boolean |
getCanEdit()
Whether the user can edit the file's content.
|
java.lang.Boolean |
getCanReadRevisions()
Whether the current user has read access to the Revisions resource of the file.
|
java.lang.Boolean |
getCanShare()
Whether the user can modify the file's permissions and sharing settings.
|
File.Capabilities |
set(java.lang.String fieldName,
java.lang.Object value) |
File.Capabilities |
setCanComment(java.lang.Boolean canComment)
Whether the user can comment on the file.
|
File.Capabilities |
setCanCopy(java.lang.Boolean canCopy)
Whether the user can copy the file.
|
File.Capabilities |
setCanEdit(java.lang.Boolean canEdit)
Whether the user can edit the file's content.
|
File.Capabilities |
setCanReadRevisions(java.lang.Boolean canReadRevisions)
Whether the current user has read access to the Revisions resource of the file.
|
File.Capabilities |
setCanShare(java.lang.Boolean canShare)
Whether the user can modify the file's permissions and sharing settings.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getCanComment()
null for nonepublic File.Capabilities setCanComment(java.lang.Boolean canComment)
canComment - canComment or null for nonepublic java.lang.Boolean getCanCopy()
null for nonepublic File.Capabilities setCanCopy(java.lang.Boolean canCopy)
canCopy - canCopy or null for nonepublic java.lang.Boolean getCanEdit()
null for nonepublic File.Capabilities setCanEdit(java.lang.Boolean canEdit)
canEdit - canEdit or null for nonepublic java.lang.Boolean getCanReadRevisions()
null for nonepublic File.Capabilities setCanReadRevisions(java.lang.Boolean canReadRevisions)
canReadRevisions - canReadRevisions or null for nonepublic java.lang.Boolean getCanShare()
null for nonepublic File.Capabilities setCanShare(java.lang.Boolean canShare)
canShare - canShare or null for nonepublic File.Capabilities set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic File.Capabilities clone()
clone in class com.google.api.client.json.GenericJson