public final class InvideoTiming
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 |
---|
InvideoTiming() |
Modifier and Type | Method and Description |
---|---|
InvideoTiming |
clone() |
java.math.BigInteger |
getDurationMs()
Defines the duration in milliseconds for which the promotion should be displayed.
|
java.math.BigInteger |
getOffsetMs()
Defines the time at which the promotion will appear.
|
java.lang.String |
getType()
Describes a timing type.
|
InvideoTiming |
set(java.lang.String fieldName,
java.lang.Object value) |
InvideoTiming |
setDurationMs(java.math.BigInteger durationMs)
Defines the duration in milliseconds for which the promotion should be displayed.
|
InvideoTiming |
setOffsetMs(java.math.BigInteger offsetMs)
Defines the time at which the promotion will appear.
|
InvideoTiming |
setType(java.lang.String type)
Describes a timing type.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.math.BigInteger getDurationMs()
null
for nonepublic InvideoTiming setDurationMs(java.math.BigInteger durationMs)
durationMs
- durationMs or null
for nonepublic java.math.BigInteger getOffsetMs()
null
for nonepublic InvideoTiming setOffsetMs(java.math.BigInteger offsetMs)
offsetMs
- offsetMs or null
for nonepublic java.lang.String getType()
null
for nonepublic InvideoTiming setType(java.lang.String type)
type
- type or null
for nonepublic InvideoTiming set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public InvideoTiming clone()
clone
in class com.google.api.client.json.GenericJson