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: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InvideoPromotion() |
| Modifier and Type | Method and Description |
|---|---|
InvideoPromotion |
clone() |
InvideoTiming |
getDefaultTiming()
The default temporal position within the video where the promoted item will be displayed.
|
List<PromotedItem> |
getItems()
List of promoted items in decreasing priority.
|
InvideoPosition |
getPosition()
The spatial position within the video where the promoted item will be displayed.
|
Boolean |
getUseSmartTiming()
Indicates whether the channel's promotional campaign uses "smart timing." This feature attempts
to show promotions at a point in the video when they are more likely to be clicked and less
likely to disrupt the viewing experience.
|
InvideoPromotion |
set(String fieldName,
Object value) |
InvideoPromotion |
setDefaultTiming(InvideoTiming defaultTiming)
The default temporal position within the video where the promoted item will be displayed.
|
InvideoPromotion |
setItems(List<PromotedItem> 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 |
setUseSmartTiming(Boolean useSmartTiming)
Indicates whether the channel's promotional campaign uses "smart timing." This feature attempts
to show promotions at a point in the video when they are more likely to be clicked and less
likely to disrupt the viewing experience.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic InvideoTiming getDefaultTiming()
null for nonepublic InvideoPromotion setDefaultTiming(InvideoTiming defaultTiming)
defaultTiming - defaultTiming or null for nonepublic List<PromotedItem> getItems()
null for nonepublic InvideoPromotion setItems(List<PromotedItem> items)
items - items or null for nonepublic InvideoPosition getPosition()
null for nonepublic InvideoPromotion setPosition(InvideoPosition position)
position - position or null for nonepublic Boolean getUseSmartTiming()
null for nonepublic InvideoPromotion setUseSmartTiming(Boolean useSmartTiming)
useSmartTiming - useSmartTiming or null for nonepublic InvideoPromotion set(String fieldName, Object value)
set in class GenericJsonpublic InvideoPromotion clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.