public final class ActivitySnippet 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 |
|---|
ActivitySnippet() |
| Modifier and Type | Method and Description |
|---|---|
ActivitySnippet |
clone() |
String |
getChannelId()
The ID that YouTube uses to uniquely identify the channel associated with the activity.
|
String |
getChannelTitle()
Channel title for the channel responsible for this activity
|
String |
getDescription()
The description of the resource primarily associated with the activity.
|
String |
getGroupId()
The group ID associated with the activity.
|
DateTime |
getPublishedAt()
The date and time that the video was uploaded.
|
ThumbnailDetails |
getThumbnails()
A map of thumbnail images associated with the resource that is primarily associated with the
activity.
|
String |
getTitle()
The title of the resource primarily associated with the activity.
|
String |
getType()
The type of activity that the resource describes.
|
ActivitySnippet |
set(String fieldName,
Object value) |
ActivitySnippet |
setChannelId(String channelId)
The ID that YouTube uses to uniquely identify the channel associated with the activity.
|
ActivitySnippet |
setChannelTitle(String channelTitle)
Channel title for the channel responsible for this activity
|
ActivitySnippet |
setDescription(String description)
The description of the resource primarily associated with the activity.
|
ActivitySnippet |
setGroupId(String groupId)
The group ID associated with the activity.
|
ActivitySnippet |
setPublishedAt(DateTime publishedAt)
The date and time that the video was uploaded.
|
ActivitySnippet |
setThumbnails(ThumbnailDetails thumbnails)
A map of thumbnail images associated with the resource that is primarily associated with the
activity.
|
ActivitySnippet |
setTitle(String title)
The title of the resource primarily associated with the activity.
|
ActivitySnippet |
setType(String type)
The type of activity that the resource describes.
|
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 String getChannelId()
null for nonepublic ActivitySnippet setChannelId(String channelId)
channelId - channelId or null for nonepublic String getChannelTitle()
null for nonepublic ActivitySnippet setChannelTitle(String channelTitle)
channelTitle - channelTitle or null for nonepublic String getDescription()
null for nonepublic ActivitySnippet setDescription(String description)
description - description or null for nonepublic String getGroupId()
null for nonepublic ActivitySnippet setGroupId(String groupId)
groupId - groupId or null for nonepublic DateTime getPublishedAt()
null for nonepublic ActivitySnippet setPublishedAt(DateTime publishedAt)
publishedAt - publishedAt or null for nonepublic ThumbnailDetails getThumbnails()
null for nonepublic ActivitySnippet setThumbnails(ThumbnailDetails thumbnails)
thumbnails - thumbnails or null for nonepublic String getTitle()
null for nonepublic ActivitySnippet setTitle(String title)
title - title or null for nonepublic String getType()
null for nonepublic ActivitySnippet setType(String type)
type - type or null for nonepublic ActivitySnippet set(String fieldName, Object value)
set in class GenericJsonpublic ActivitySnippet clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.