public final class Activity extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Activity() |
| Modifier and Type | Method and Description |
|---|---|
Activity |
clone() |
Event |
getCombinedEvent()
The fields common to all of the singleEvents that make up the Activity.
|
List<Event> |
getSingleEvents()
A list of all the Events that make up the Activity.
|
Activity |
set(String fieldName,
Object value) |
Activity |
setCombinedEvent(Event combinedEvent)
The fields common to all of the singleEvents that make up the Activity.
|
Activity |
setSingleEvents(List<Event> singleEvents)
A list of all the Events that make up the Activity.
|
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 Event getCombinedEvent()
null for nonepublic Activity setCombinedEvent(Event combinedEvent)
combinedEvent - combinedEvent or null for nonepublic List<Event> getSingleEvents()
null for nonepublic Activity setSingleEvents(List<Event> singleEvents)
singleEvents - singleEvents or null for nonepublic Activity set(String fieldName, Object value)
set in class GenericJsonpublic Activity clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.