public static final class Permission.PermissionDetails extends GenericJson
GenericData.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public Permission.PermissionDetails clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.