public final class PromotedItemId
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 |
|---|
PromotedItemId() |
| Modifier and Type | Method and Description |
|---|---|
PromotedItemId |
clone() |
java.lang.String |
getRecentlyUploadedBy()
If type is recentUpload, this field identifies the channel from which to take the recent
upload.
|
java.lang.String |
getType()
Describes the type of the promoted item.
|
java.lang.String |
getVideoId()
If the promoted item represents a video, this field represents the unique YouTube ID
identifying it.
|
java.lang.String |
getWebsiteUrl()
If the promoted item represents a website, this field represents the url pointing to the
website.
|
PromotedItemId |
set(java.lang.String fieldName,
java.lang.Object value) |
PromotedItemId |
setRecentlyUploadedBy(java.lang.String recentlyUploadedBy)
If type is recentUpload, this field identifies the channel from which to take the recent
upload.
|
PromotedItemId |
setType(java.lang.String type)
Describes the type of the promoted item.
|
PromotedItemId |
setVideoId(java.lang.String videoId)
If the promoted item represents a video, this field represents the unique YouTube ID
identifying it.
|
PromotedItemId |
setWebsiteUrl(java.lang.String websiteUrl)
If the promoted item represents a website, this field represents the url pointing to the
website.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getRecentlyUploadedBy()
null for nonepublic PromotedItemId setRecentlyUploadedBy(java.lang.String recentlyUploadedBy)
recentlyUploadedBy - recentlyUploadedBy or null for nonepublic java.lang.String getType()
null for nonepublic PromotedItemId setType(java.lang.String type)
type - type or null for nonepublic java.lang.String getVideoId()
null for nonepublic PromotedItemId setVideoId(java.lang.String videoId)
videoId - videoId or null for nonepublic java.lang.String getWebsiteUrl()
null for nonepublic PromotedItemId setWebsiteUrl(java.lang.String websiteUrl)
websiteUrl - websiteUrl or null for nonepublic PromotedItemId set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PromotedItemId clone()
clone in class com.google.api.client.json.GenericJson