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. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ActivitySnippet() |
Modifier and Type | Method and Description |
---|---|
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
The value returned may be
null . |
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 |
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
The value set may be
null . |
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.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getChannelId()
null
.public ActivitySnippet setChannelId(String channelId)
null
.public String getChannelTitle()
null
.public ActivitySnippet setChannelTitle(String channelTitle)
null
.public String getDescription()
null
.public ActivitySnippet setDescription(String description)
null
.public String getGroupId()
null
.public ActivitySnippet setGroupId(String groupId)
null
.public DateTime getPublishedAt()
null
.public ActivitySnippet setPublishedAt(DateTime publishedAt)
null
.public ThumbnailDetails getThumbnails()
null
.public ActivitySnippet setThumbnails(ThumbnailDetails thumbnails)
null
.public String getTitle()
null
.public ActivitySnippet setTitle(String title)
null
.public String getType()
null
.public ActivitySnippet setType(String type)
null
.