public final class Actor
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 Drive Activity 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Actor() |
Modifier and Type | Method and Description |
---|---|
Actor |
clone() |
Administrator |
getAdministrator()
An administrator.
|
AnonymousUser |
getAnonymous()
An anonymous user.
|
Impersonation |
getImpersonation()
An account acting on behalf of another.
|
SystemEvent |
getSystem()
A non-user actor (i.e.
|
User |
getUser()
An end user.
|
Actor |
set(String fieldName,
Object value) |
Actor |
setAdministrator(Administrator administrator)
An administrator.
|
Actor |
setAnonymous(AnonymousUser anonymous)
An anonymous user.
|
Actor |
setImpersonation(Impersonation impersonation)
An account acting on behalf of another.
|
Actor |
setSystem(SystemEvent system)
A non-user actor (i.e.
|
Actor |
setUser(User user)
An end 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 Administrator getAdministrator()
null
for nonepublic Actor setAdministrator(Administrator administrator)
administrator
- administrator or null
for nonepublic AnonymousUser getAnonymous()
null
for nonepublic Actor setAnonymous(AnonymousUser anonymous)
anonymous
- anonymous or null
for nonepublic Impersonation getImpersonation()
null
for nonepublic Actor setImpersonation(Impersonation impersonation)
impersonation
- impersonation or null
for nonepublic SystemEvent getSystem()
null
for nonepublic Actor setSystem(SystemEvent system)
system
- system or null
for nonepublic User getUser()
null
for nonepublic Actor set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Actor clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.