-
public final class VideoModelRepresents a video and its metadata including title, upload date, dimensions, encoding status, and more.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description VideoModel(Long videoLibraryId, String guid, String title, String dateUploaded, Long views, Boolean isPublic, Integer length, VideoModelStatus status, Double framerate, Integer rotation, Integer width, Integer height, String availableResolutions, String outputCodecs, Integer thumbnailCount, Integer encodeProgress, Long storageSize, List<CaptionModel> captions, Boolean hasMP4Fallback, String collectionId, String thumbnailFileName, Long averageWatchTime, Long totalWatchTime, String category, List<ChapterModel> chapters, List<MomentModel> moments, List<MetaTagModel> metaTags, List<TranscodingMessageModel> transcodingMessages)
-
Method Summary
Modifier and Type Method Description final LonggetVideoLibraryId()final StringgetGuid()final StringgetTitle()final StringgetDateUploaded()final LonggetViews()final BooleangetIsPublic()final IntegergetLength()final VideoModelStatusgetStatus()final DoublegetFramerate()final IntegergetRotation()final IntegergetWidth()final IntegergetHeight()final StringgetAvailableResolutions()final StringgetOutputCodecs()final IntegergetThumbnailCount()final IntegergetEncodeProgress()final LonggetStorageSize()final List<CaptionModel>getCaptions()final BooleangetHasMP4Fallback()final StringgetCollectionId()final StringgetThumbnailFileName()final LonggetAverageWatchTime()final LonggetTotalWatchTime()final StringgetCategory()final List<ChapterModel>getChapters()final List<MomentModel>getMoments()final List<MetaTagModel>getMetaTags()final List<TranscodingMessageModel>getTranscodingMessages()-
-
Constructor Detail
-
VideoModel
VideoModel(Long videoLibraryId, String guid, String title, String dateUploaded, Long views, Boolean isPublic, Integer length, VideoModelStatus status, Double framerate, Integer rotation, Integer width, Integer height, String availableResolutions, String outputCodecs, Integer thumbnailCount, Integer encodeProgress, Long storageSize, List<CaptionModel> captions, Boolean hasMP4Fallback, String collectionId, String thumbnailFileName, Long averageWatchTime, Long totalWatchTime, String category, List<ChapterModel> chapters, List<MomentModel> moments, List<MetaTagModel> metaTags, List<TranscodingMessageModel> transcodingMessages)
- Parameters:
videoLibraryId- The ID of the video library that the video belongs to.guid- The unique identifier of the video.title- The title of the video.dateUploaded- The date and time when the video was uploaded.views- The number of views the video has received.isPublic- Determines if the video is publicly accessible.length- The duration of the video in seconds.framerate- The framerate of the video.rotation- The rotation (in degrees) of the video if applicable.width- The width of the original video in pixels.height- The height of the original video in pixels.availableResolutions- A comma-separated list of resolutions available for the video.outputCodecs- A comma-separated list of output codecs used for video encoding.thumbnailCount- The number of thumbnails generated for the video.encodeProgress- The current encoding progress of the video as a percentage.storageSize- The total storage size of the video file in bytes.captions- A list of captions available for the video.hasMP4Fallback- Indicates if MP4 fallback files are available for the video.collectionId- The identifier of the collection that the video belongs to.thumbnailFileName- The file name of the thumbnail stored on the server.averageWatchTime- The average watch time of the video in seconds.totalWatchTime- The total accumulated watch time of the video in seconds.category- The automatically detected category of the video.chapters- A list of chapters within the video.moments- A list of significant moments or events in the video.metaTags- A list of metadata tags associated with the video.transcodingMessages- Messages generated during transcoding that indicate warnings or errors.
-
-
Method Detail
-
getVideoLibraryId
final Long getVideoLibraryId()
-
getDateUploaded
final String getDateUploaded()
-
getIsPublic
final Boolean getIsPublic()
-
getStatus
final VideoModelStatus getStatus()
-
getFramerate
final Double getFramerate()
-
getRotation
final Integer getRotation()
-
getAvailableResolutions
final String getAvailableResolutions()
-
getOutputCodecs
final String getOutputCodecs()
-
getThumbnailCount
final Integer getThumbnailCount()
-
getEncodeProgress
final Integer getEncodeProgress()
-
getStorageSize
final Long getStorageSize()
-
getCaptions
final List<CaptionModel> getCaptions()
-
getHasMP4Fallback
final Boolean getHasMP4Fallback()
-
getCollectionId
final String getCollectionId()
-
getThumbnailFileName
final String getThumbnailFileName()
-
getAverageWatchTime
final Long getAverageWatchTime()
-
getTotalWatchTime
final Long getTotalWatchTime()
-
getCategory
final String getCategory()
-
getChapters
final List<ChapterModel> getChapters()
-
getMoments
final List<MomentModel> getMoments()
-
getMetaTags
final List<MetaTagModel> getMetaTags()
-
getTranscodingMessages
final List<TranscodingMessageModel> getTranscodingMessages()
-
-
-
-