create
Creates an AdBreak from a T type object.
Return
an AdBreak mapped from input with mapper.
Parameters
adsOffset
Initial offset of the AdBreak.
input
object to map from.
mapper
Function implementation to map.
<T>
Type of the input.
Creates an AdBreak with startPosition, endPosition and ads.
Return
the instantiated AdBreak.
Parameters
Creates an AdBreak with an Id, startPosition, endPosition and ads.
Return
the instantiated AdBreak.
Parameters
id
the AdBreak id
startPosition
startPosition of the AdBreak
endPosition
endPosition of the AdBreak.
ads
Collection of Ad.