public final class Permission 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-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Permission() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAdditionalRoles()
Additional roles for this user.
|
String |
getAuthKey()
The authkey parameter required for this permission.
|
String |
getEtag()
The ETag of the permission.
|
String |
getId()
The ID of the permission.
|
String |
getKind()
This is always drive#permission.
|
String |
getName()
The name for this permission.
|
String |
getPhotoLink()
A link to the profile photo, if available.
|
String |
getRole()
The primary role for this user.
|
String |
getSelfLink()
A link back to this permission.
|
String |
getType()
The account type.
|
String |
getValue()
The email address or domain name for the entity.
|
Boolean |
getWithLink()
Whether the link is required for this permission.
|
Permission |
setAdditionalRoles(List<String> additionalRoles)
Additional roles for this user.
|
Permission |
setAuthKey(String authKey)
The authkey parameter required for this permission.
|
Permission |
setEtag(String etag)
The ETag of the permission.
|
Permission |
setId(String id)
The ID of the permission.
|
Permission |
setKind(String kind)
This is always drive#permission.
|
Permission |
setName(String name)
The name for this permission.
|
Permission |
setPhotoLink(String photoLink)
A link to the profile photo, if available.
|
Permission |
setRole(String role)
The primary role for this user.
|
Permission |
setSelfLink(String selfLink)
A link back to this permission.
|
Permission |
setType(String type)
The account type.
|
Permission |
setValue(String value)
The email address or domain name for the entity.
|
Permission |
setWithLink(Boolean withLink)
Whether the link is required for this permission.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public List<String> getAdditionalRoles()
null
.public Permission setAdditionalRoles(List<String> additionalRoles)
null
.public String getAuthKey()
null
.public Permission setAuthKey(String authKey)
null
.public String getEtag()
null
.public Permission setEtag(String etag)
null
.public String getId()
null
.public Permission setId(String id)
null
.public String getKind()
null
.public Permission setKind(String kind)
null
.public String getName()
null
.public Permission setName(String name)
null
.public String getPhotoLink()
null
.public Permission setPhotoLink(String photoLink)
null
.public String getRole()
null
.public Permission setRole(String role)
null
.public String getSelfLink()
null
.public Permission setSelfLink(String selfLink)
null
.public String getType()
null
.public Permission setType(String type)
null
.public String getValue()
null
.public Permission setValue(String value)
null
.public Boolean getWithLink()
null
.public Permission setWithLink(Boolean withLink)
null
.