public static final class File.Labels
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Labels() |
Modifier and Type | Method and Description |
---|---|
File.Labels |
clone() |
java.lang.Boolean |
getHidden()
Deprecated.
|
java.lang.Boolean |
getModified()
Whether the file has been modified by this user.
|
java.lang.Boolean |
getRestricted()
Deprecated - use copyRequiresWriterPermission instead.
|
java.lang.Boolean |
getStarred()
Whether this file is starred by the user.
|
java.lang.Boolean |
getTrashed()
Whether this file has been trashed.
|
java.lang.Boolean |
getViewed()
Whether this file has been viewed by this user.
|
File.Labels |
set(java.lang.String fieldName,
java.lang.Object value) |
File.Labels |
setHidden(java.lang.Boolean hidden)
Deprecated.
|
File.Labels |
setModified(java.lang.Boolean modified)
Whether the file has been modified by this user.
|
File.Labels |
setRestricted(java.lang.Boolean restricted)
Deprecated - use copyRequiresWriterPermission instead.
|
File.Labels |
setStarred(java.lang.Boolean starred)
Whether this file is starred by the user.
|
File.Labels |
setTrashed(java.lang.Boolean trashed)
Whether this file has been trashed.
|
File.Labels |
setViewed(java.lang.Boolean viewed)
Whether this file has been viewed by this user.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getHidden()
null
for nonepublic File.Labels setHidden(java.lang.Boolean hidden)
hidden
- hidden or null
for nonepublic java.lang.Boolean getModified()
null
for nonepublic File.Labels setModified(java.lang.Boolean modified)
modified
- modified or null
for nonepublic java.lang.Boolean getRestricted()
null
for nonepublic File.Labels setRestricted(java.lang.Boolean restricted)
restricted
- restricted or null
for nonepublic java.lang.Boolean getStarred()
null
for nonepublic File.Labels setStarred(java.lang.Boolean starred)
starred
- starred or null
for nonepublic java.lang.Boolean getTrashed()
null
for nonepublic File.Labels setTrashed(java.lang.Boolean trashed)
trashed
- trashed or null
for nonepublic java.lang.Boolean getViewed()
null
for nonepublic File.Labels setViewed(java.lang.Boolean viewed)
viewed
- viewed or null
for nonepublic File.Labels set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public File.Labels clone()
clone
in class com.google.api.client.json.GenericJson