public final class PermissionList 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 Drive 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 |
---|
PermissionList() |
Modifier and Type | Method and Description |
---|---|
PermissionList |
clone() |
String |
getKind()
Identifies what kind of resource this is.
|
String |
getNextPageToken()
The page token for the next page of permissions.
|
List<Permission> |
getPermissions()
The list of permissions.
|
PermissionList |
set(String fieldName,
Object value) |
PermissionList |
setKind(String kind)
Identifies what kind of resource this is.
|
PermissionList |
setNextPageToken(String nextPageToken)
The page token for the next page of permissions.
|
PermissionList |
setPermissions(List<Permission> permissions)
The list of permissions.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getKind()
null
for nonepublic PermissionList setKind(String kind)
kind
- kind or null
for nonepublic String getNextPageToken()
null
for nonepublic PermissionList setNextPageToken(String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic List<Permission> getPermissions()
null
for nonepublic PermissionList setPermissions(List<Permission> permissions)
permissions
- permissions or null
for nonepublic PermissionList set(String fieldName, Object value)
set
in class GenericJson
public PermissionList clone()
clone
in class GenericJson