示例#1
0
 public CreateVideoDto(string title, int durationInSeconds, double externalRating, double userRating, string description, string notes, string sourceURL, string siteURL, long seriesId, VideoWatchStatus watchStatus, long publisherId, long libraryId, Nullable <DateTime> releaseDate, Nullable <DateTime> timelineDate, long coverFileId, List <ActorForCharacterFullDto> characters, int timesWatched = 0)
 {
     Title             = title;
     DurationInSeconds = durationInSeconds;
     ExternalRating    = externalRating;
     UserRating        = userRating;
     Description       = description;
     Notes             = notes;
     SourceURL         = sourceURL;
     SiteURL           = siteURL;
     SeriesId          = seriesId;
     WatchStatus       = watchStatus;
     PublisherId       = publisherId;
     LibraryId         = libraryId;
     ReleaseDate       = releaseDate;
     TimelineDate      = timelineDate;
     CoverFileId       = coverFileId;
     Characters        = characters;
     TimesWatched      = timesWatched;
 }
示例#2
0
 public Video(long id, string title, int timesWatched, Nullable <DateTime> lastWatchDate, Nullable <int> durationInSeconds, double externalRating, double userRating, string description, string notes, string sourceURL, string siteURL, long seriesId, VideoWatchStatus watchStatus, Nullable <int> globalRank, long publisherId, long libraryId, Nullable <DateTime> releaseDate, Nullable <DateTime> timelineDate, long coverFileId, bool deleted, string uniqueId = null)
 {
     VideoId           = id;
     Title             = title;
     TimesWatched      = timesWatched;
     LastWatchDate     = lastWatchDate;
     DurationInSeconds = durationInSeconds;
     ExternalRating    = externalRating;
     UserRating        = userRating;
     Description       = description;
     Notes             = notes;
     SourceURL         = sourceURL;
     SiteURL           = siteURL;
     SeriesId          = seriesId;
     WatchStatus       = watchStatus;
     GlobalRank        = globalRank;
     PublisherId       = publisherId;
     LibraryId         = libraryId;
     ReleaseDate       = releaseDate;
     TimelineDate      = timelineDate;
     CoverFileId       = coverFileId;
     Deleted           = deleted;
     UniqueId          = uniqueId;
 }
示例#3
0
 public VideoWatchStatusWrapper(VideoWatchStatus watchStatus)
 {
     WatchStatus = watchStatus;
 }