public final class Permission
extends com.google.api.client.json.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 Google Keep API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Permission() |
| Modifier and Type | Method and Description |
|---|---|
Permission |
clone() |
Boolean |
getDeleted()
Output only.
|
String |
getEmail()
The email associated with the member.
|
Family |
getFamily()
Output only.
|
Group |
getGroup()
Output only.
|
String |
getName()
Output only.
|
String |
getRole()
The role granted by this permission.
|
User |
getUser()
Output only.
|
Permission |
set(String fieldName,
Object value) |
Permission |
setDeleted(Boolean deleted)
Output only.
|
Permission |
setEmail(String email)
The email associated with the member.
|
Permission |
setFamily(Family family)
Output only.
|
Permission |
setGroup(Group group)
Output only.
|
Permission |
setName(String name)
Output only.
|
Permission |
setRole(String role)
The role granted by this permission.
|
Permission |
setUser(User user)
Output only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getDeleted()
null for nonepublic Permission setDeleted(Boolean deleted)
deleted - deleted or null for nonepublic String getEmail()
null for nonepublic Permission setEmail(String email)
email - email or null for nonepublic Family getFamily()
null for nonepublic Permission setFamily(Family family)
family - family or null for nonepublic Group getGroup()
null for nonepublic Permission setGroup(Group group)
group - group or null for nonepublic String getName()
null for nonepublic Permission setName(String name)
name - name or null for nonepublic String getRole()
null for nonepublic Permission setRole(String role)
role - role or null for nonepublic User getUser()
null for nonepublic Permission setUser(User user)
user - user or null for nonepublic Permission set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Permission clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.