public final class ActivitySnippet
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 YouTube Data 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
Constructor and Description |
---|
ActivitySnippet() |
Modifier and Type | Method and Description |
---|---|
ActivitySnippet |
clone() |
java.lang.String |
getChannelId()
The ID that YouTube uses to uniquely identify the channel associated with the activity.
|
java.lang.String |
getChannelTitle()
Channel title for the channel responsible for this activity
|
java.lang.String |
getDescription()
The description of the resource primarily associated with the activity.
|
java.lang.String |
getGroupId()
The group ID associated with the activity.
|
com.google.api.client.util.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.
|
java.lang.String |
getTitle()
The title of the resource primarily associated with the activity.
|
java.lang.String |
getType()
The type of activity that the resource describes.
|
ActivitySnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
ActivitySnippet |
setChannelId(java.lang.String channelId)
The ID that YouTube uses to uniquely identify the channel associated with the activity.
|
ActivitySnippet |
setChannelTitle(java.lang.String channelTitle)
Channel title for the channel responsible for this activity
|
ActivitySnippet |
setDescription(java.lang.String description)
The description of the resource primarily associated with the activity.
|
ActivitySnippet |
setGroupId(java.lang.String groupId)
The group ID associated with the activity.
|
ActivitySnippet |
setPublishedAt(com.google.api.client.util.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(java.lang.String title)
The title of the resource primarily associated with the activity.
|
ActivitySnippet |
setType(java.lang.String type)
The type of activity that the resource describes.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getChannelId()
null
for nonepublic ActivitySnippet setChannelId(java.lang.String channelId)
channelId
- channelId or null
for nonepublic java.lang.String getChannelTitle()
null
for nonepublic ActivitySnippet setChannelTitle(java.lang.String channelTitle)
channelTitle
- channelTitle or null
for nonepublic java.lang.String getDescription()
null
for nonepublic ActivitySnippet setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getGroupId()
null
for nonepublic ActivitySnippet setGroupId(java.lang.String groupId)
groupId
- groupId or null
for nonepublic com.google.api.client.util.DateTime getPublishedAt()
null
for nonepublic ActivitySnippet setPublishedAt(com.google.api.client.util.DateTime publishedAt)
publishedAt
- publishedAt or null
for nonepublic ThumbnailDetails getThumbnails()
null
for nonepublic ActivitySnippet setThumbnails(ThumbnailDetails thumbnails)
thumbnails
- thumbnails or null
for nonepublic java.lang.String getTitle()
null
for nonepublic ActivitySnippet setTitle(java.lang.String title)
title
- title or null
for nonepublic java.lang.String getType()
null
for nonepublic ActivitySnippet setType(java.lang.String type)
type
- type or null
for nonepublic ActivitySnippet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ActivitySnippet clone()
clone
in class com.google.api.client.json.GenericJson