GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
File.Capabilities() |
Modifier and Type | Method and Description |
---|---|
File.Capabilities |
clone() |
Boolean |
getCanComment()
Whether the user can comment on the file.
|
Boolean |
getCanCopy()
Whether the user can copy the file.
|
Boolean |
getCanEdit()
Whether the user can edit the file's content.
|
Boolean |
getCanReadRevisions()
Whether the current user has read access to the Revisions resource of the file.
|
Boolean |
getCanShare()
Whether the user can modify the file's permissions and sharing settings.
|
File.Capabilities |
set(String fieldName,
Object value) |
File.Capabilities |
setCanComment(Boolean canComment)
Whether the user can comment on the file.
|
File.Capabilities |
setCanCopy(Boolean canCopy)
Whether the user can copy the file.
|
File.Capabilities |
setCanEdit(Boolean canEdit)
Whether the user can edit the file's content.
|
File.Capabilities |
setCanReadRevisions(Boolean canReadRevisions)
Whether the current user has read access to the Revisions resource of the file.
|
File.Capabilities |
setCanShare(Boolean canShare)
Whether the user can modify the file's permissions and sharing settings.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Boolean getCanComment()
null
for nonepublic File.Capabilities setCanComment(Boolean canComment)
canComment
- canComment or null
for nonepublic Boolean getCanCopy()
null
for nonepublic File.Capabilities setCanCopy(Boolean canCopy)
canCopy
- canCopy or null
for nonepublic Boolean getCanEdit()
null
for nonepublic File.Capabilities setCanEdit(Boolean canEdit)
canEdit
- canEdit or null
for nonepublic Boolean getCanReadRevisions()
null
for nonepublic File.Capabilities setCanReadRevisions(Boolean canReadRevisions)
canReadRevisions
- canReadRevisions or null
for nonepublic Boolean getCanShare()
null
for nonepublic File.Capabilities setCanShare(Boolean canShare)
canShare
- canShare or null
for nonepublic File.Capabilities set(String fieldName, Object value)
set
in class GenericJson
public File.Capabilities clone()
clone
in class GenericJson