public static final class Permission.PermissionDetails extends GenericJson
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PermissionDetails() |
| Modifier and Type | Method and Description |
|---|---|
Permission.PermissionDetails |
clone() |
Boolean |
getInherited()
Whether this permission is inherited.
|
String |
getInheritedFrom()
The ID of the item from which this permission is inherited.
|
String |
getPermissionType()
The permission type for this user.
|
String |
getRole()
The primary role for this user.
|
Permission.PermissionDetails |
set(String fieldName,
Object value) |
Permission.PermissionDetails |
setInherited(Boolean inherited)
Whether this permission is inherited.
|
Permission.PermissionDetails |
setInheritedFrom(String inheritedFrom)
The ID of the item from which this permission is inherited.
|
Permission.PermissionDetails |
setPermissionType(String permissionType)
The permission type for this user.
|
Permission.PermissionDetails |
setRole(String role)
The primary role for this user.
|
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 getInherited()
null for nonepublic Permission.PermissionDetails setInherited(Boolean inherited)
inherited - inherited or null for nonepublic String getInheritedFrom()
null for nonepublic Permission.PermissionDetails setInheritedFrom(String inheritedFrom)
inheritedFrom - inheritedFrom or null for nonepublic String getPermissionType()
null for nonepublic Permission.PermissionDetails setPermissionType(String permissionType)
permissionType - permissionType or null for nonepublic String getRole()
null for nonepublic Permission.PermissionDetails setRole(String role)
role - role or null for nonepublic Permission.PermissionDetails set(String fieldName, Object value)
set in class GenericJsonpublic Permission.PermissionDetails clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.