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 YouTube Data API v3. 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() |
ActivityContentDetails |
getContentDetails()
The contentDetails object contains information about the content associated with the activity.
|
String |
getEtag()
Etag of this resource
|
String |
getId()
The ID that YouTube uses to uniquely identify the activity.
|
String |
getKind()
Identifies what kind of resource this is.
|
ActivitySnippet |
getSnippet()
The snippet object contains basic details about the activity, including the activity's type and
group ID.
|
Activity |
set(String fieldName,
Object value) |
Activity |
setContentDetails(ActivityContentDetails contentDetails)
The contentDetails object contains information about the content associated with the activity.
|
Activity |
setEtag(String etag)
Etag of this resource
|
Activity |
setId(String id)
The ID that YouTube uses to uniquely identify the activity.
|
Activity |
setKind(String kind)
Identifies what kind of resource this is.
|
Activity |
setSnippet(ActivitySnippet snippet)
The snippet object contains basic details about the activity, including the activity's type and
group ID.
|
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 ActivityContentDetails getContentDetails()
null for nonepublic Activity setContentDetails(ActivityContentDetails contentDetails)
contentDetails - contentDetails or null for nonepublic String getEtag()
null for nonepublic Activity setEtag(String etag)
etag - etag or null for nonepublic String getId()
null for nonepublic Activity setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Activity setKind(String kind)
kind - kind or null for nonepublic ActivitySnippet getSnippet()
null for nonepublic Activity setSnippet(ActivitySnippet snippet)
snippet - snippet or null for nonepublic Activity set(String fieldName, Object value)
set in class GenericJsonpublic Activity clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.