public final class InvideoPromotion 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 |
---|
InvideoPromotion() |
Modifier and Type | Method and Description |
---|---|
List<PromotedItemId> |
getItems()
List of promoted items in decreasing priority.
|
InvideoPosition |
getPosition()
The spatial position within the video where the promoted item will be displayed.
|
InvideoTiming |
getTiming()
The temporal position within the video where the promoted item will be displayed.
|
InvideoPromotion |
setItems(List<PromotedItemId> items)
List of promoted items in decreasing priority.
|
InvideoPromotion |
setPosition(InvideoPosition position)
The spatial position within the video where the promoted item will be displayed.
|
InvideoPromotion |
setTiming(InvideoTiming timing)
The temporal position within the video where the promoted item will be displayed.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public List<PromotedItemId> getItems()
null
.public InvideoPromotion setItems(List<PromotedItemId> items)
null
.public InvideoPosition getPosition()
null
.public InvideoPromotion setPosition(InvideoPosition position)
null
.public InvideoTiming getTiming()
null
.public InvideoPromotion setTiming(InvideoTiming timing)
null
.