Package knf.hydra.core.models
Class ContentData.Single
-
- All Implemented Interfaces:
public final class ContentData.Single extends ContentData
Single model, used to show only one item, (e.g. a movie)
-
-
Field Summary
Fields Modifier and Type Field Description private final ContentItemModelmodelprivate final BooleancanDownload
-
Constructor Summary
Constructors Constructor Description ContentData.Single(ContentItemModel model, Boolean canDownload)
-
Method Summary
Modifier and Type Method Description final ContentItemModelgetModel()The single content item final BooleangetCanDownload()Indicates if the content can be downloaded, default true -
-
Constructor Detail
-
ContentData.Single
ContentData.Single(ContentItemModel model, Boolean canDownload)
-
-
Method Detail
-
getModel
final ContentItemModel getModel()
The single content item
-
getCanDownload
final Boolean getCanDownload()
Indicates if the content can be downloaded, default true
-
-
-
-