-
public final class VideoResolutionsInfoModelRepresents detailed resolution information for a video, including available, configured, and storage resolutions.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringvideoIdprivate final LongvideoLibraryIdprivate final List<String>availableResolutionsprivate final List<String>configuredResolutionsprivate final List<ResolutionReference>playlistResolutionsprivate final List<ResolutionReference>storageResolutionsprivate final List<ResolutionReference>mp4Resolutionsprivate final List<StorageObjectModel>storageObjectsprivate final List<StorageObjectModel>oldResolutionsprivate final BooleanhasBothOldAndNewResolutionFormatprivate final BooleanhasOriginal
-
Constructor Summary
Constructors Constructor Description VideoResolutionsInfoModel(String videoId, Long videoLibraryId, List<String> availableResolutions, List<String> configuredResolutions, List<ResolutionReference> playlistResolutions, List<ResolutionReference> storageResolutions, List<ResolutionReference> mp4Resolutions, List<StorageObjectModel> storageObjects, List<StorageObjectModel> oldResolutions, Boolean hasBothOldAndNewResolutionFormat, Boolean hasOriginal)
-
Method Summary
Modifier and Type Method Description final StringgetVideoId()final LonggetVideoLibraryId()final List<String>getAvailableResolutions()final List<String>getConfiguredResolutions()final List<ResolutionReference>getPlaylistResolutions()final List<ResolutionReference>getStorageResolutions()final List<ResolutionReference>getMp4Resolutions()final List<StorageObjectModel>getStorageObjects()final List<StorageObjectModel>getOldResolutions()final BooleangetHasBothOldAndNewResolutionFormat()final BooleangetHasOriginal()-
-
Constructor Detail
-
VideoResolutionsInfoModel
VideoResolutionsInfoModel(String videoId, Long videoLibraryId, List<String> availableResolutions, List<String> configuredResolutions, List<ResolutionReference> playlistResolutions, List<ResolutionReference> storageResolutions, List<ResolutionReference> mp4Resolutions, List<StorageObjectModel> storageObjects, List<StorageObjectModel> oldResolutions, Boolean hasBothOldAndNewResolutionFormat, Boolean hasOriginal)
- Parameters:
videoId- The unique identifier of the video.videoLibraryId- The ID of the video library.availableResolutions- A list of available resolutions for the video.configuredResolutions- A list of resolutions configured for encoding.playlistResolutions- A list of resolutions used in playlists.storageResolutions- A list of resolutions stored on the server.mp4Resolutions- A list of MP4 fallback resolutions.storageObjects- A list of storage objects related to the video resolutions.oldResolutions- A list of previous resolution objects that may be removed.hasBothOldAndNewResolutionFormat- Indicates if both old and new resolution formats are present.hasOriginal- Indicates if the original video file is available.
-
-
Method Detail
-
getVideoId
final String getVideoId()
-
getVideoLibraryId
final Long getVideoLibraryId()
-
getAvailableResolutions
final List<String> getAvailableResolutions()
-
getConfiguredResolutions
final List<String> getConfiguredResolutions()
-
getPlaylistResolutions
final List<ResolutionReference> getPlaylistResolutions()
-
getStorageResolutions
final List<ResolutionReference> getStorageResolutions()
-
getMp4Resolutions
final List<ResolutionReference> getMp4Resolutions()
-
getStorageObjects
final List<StorageObjectModel> getStorageObjects()
-
getOldResolutions
final List<StorageObjectModel> getOldResolutions()
-
getHasBothOldAndNewResolutionFormat
final Boolean getHasBothOldAndNewResolutionFormat()
-
getHasOriginal
final Boolean getHasOriginal()
-
-
-
-