public final class SearchResultSnippet
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 |
|---|
SearchResultSnippet() |
| Modifier and Type | Method and Description |
|---|---|
SearchResultSnippet |
clone() |
java.lang.String |
getChannelId()
The value that YouTube uses to uniquely identify the channel that published the resource that
the search result identifies.
|
java.lang.String |
getChannelTitle()
The title of the channel that published the resource that the search result identifies.
|
java.lang.String |
getDescription()
A description of the search result.
|
java.lang.String |
getLiveBroadcastContent()
It indicates if the resource (video or channel) has upcoming/active live broadcast content.
|
com.google.api.client.util.DateTime |
getPublishedAt()
The creation date and time of the resource that the search result identifies.
|
ThumbnailDetails |
getThumbnails()
A map of thumbnail images associated with the search result.
|
java.lang.String |
getTitle()
The title of the search result.
|
SearchResultSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
SearchResultSnippet |
setChannelId(java.lang.String channelId)
The value that YouTube uses to uniquely identify the channel that published the resource that
the search result identifies.
|
SearchResultSnippet |
setChannelTitle(java.lang.String channelTitle)
The title of the channel that published the resource that the search result identifies.
|
SearchResultSnippet |
setDescription(java.lang.String description)
A description of the search result.
|
SearchResultSnippet |
setLiveBroadcastContent(java.lang.String liveBroadcastContent)
It indicates if the resource (video or channel) has upcoming/active live broadcast content.
|
SearchResultSnippet |
setPublishedAt(com.google.api.client.util.DateTime publishedAt)
The creation date and time of the resource that the search result identifies.
|
SearchResultSnippet |
setThumbnails(ThumbnailDetails thumbnails)
A map of thumbnail images associated with the search result.
|
SearchResultSnippet |
setTitle(java.lang.String title)
The title of the search result.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getChannelId()
null for nonepublic SearchResultSnippet setChannelId(java.lang.String channelId)
channelId - channelId or null for nonepublic java.lang.String getChannelTitle()
null for nonepublic SearchResultSnippet setChannelTitle(java.lang.String channelTitle)
channelTitle - channelTitle or null for nonepublic java.lang.String getDescription()
null for nonepublic SearchResultSnippet setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getLiveBroadcastContent()
null for nonepublic SearchResultSnippet setLiveBroadcastContent(java.lang.String liveBroadcastContent)
liveBroadcastContent - liveBroadcastContent or null for nonepublic com.google.api.client.util.DateTime getPublishedAt()
null for nonepublic SearchResultSnippet setPublishedAt(com.google.api.client.util.DateTime publishedAt)
publishedAt - publishedAt or null for nonepublic ThumbnailDetails getThumbnails()
null for nonepublic SearchResultSnippet setThumbnails(ThumbnailDetails thumbnails)
thumbnails - thumbnails or null for nonepublic java.lang.String getTitle()
null for nonepublic SearchResultSnippet setTitle(java.lang.String title)
title - title or null for nonepublic SearchResultSnippet set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic SearchResultSnippet clone()
clone in class com.google.api.client.json.GenericJson