create
Creates an AdBreak from a T type object.
Return
an AdBreak mapped from input with mapper.
Parameters
ads Offset
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
start Position
startPosition of the AdBreak
end Position
endPosition of the AdBreak.
ads
Collection of Ad.