public final class Privileges
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 Admin Directory 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.Flags
Constructor and Description |
---|
Privileges() |
Modifier and Type | Method and Description |
---|---|
Privileges |
clone() |
java.lang.String |
getEtag()
ETag of the resource.
|
java.util.List<Privilege> |
getItems()
A list of Privilege resources.
|
java.lang.String |
getKind()
The type of the API resource.
|
Privileges |
set(java.lang.String fieldName,
java.lang.Object value) |
Privileges |
setEtag(java.lang.String etag)
ETag of the resource.
|
Privileges |
setItems(java.util.List<Privilege> items)
A list of Privilege resources.
|
Privileges |
setKind(java.lang.String kind)
The type of the API resource.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getEtag()
null
for nonepublic Privileges setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.util.List<Privilege> getItems()
null
for nonepublic Privileges setItems(java.util.List<Privilege> items)
items
- items or null
for nonepublic java.lang.String getKind()
null
for nonepublic Privileges setKind(java.lang.String kind)
kind
- kind or null
for nonepublic Privileges set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Privileges clone()
clone
in class com.google.api.client.json.GenericJson