2013-02-09 13:04:18 +03:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2013-04-20 03:05:48 +03:00
|
|
|
using NzbDrone.Api.REST;
|
2013-04-22 00:04:09 +03:00
|
|
|
using NzbDrone.Core.Model;
|
|
|
|
using NzbDrone.Core.Tv;
|
2013-02-09 13:04:18 +03:00
|
|
|
|
|
|
|
namespace NzbDrone.Api.Series
|
|
|
|
{
|
2013-04-20 23:16:33 +03:00
|
|
|
public class SeriesResource : RestResource
|
2013-02-09 13:04:18 +03:00
|
|
|
{
|
|
|
|
//Todo: Sorters should be done completely on the client
|
|
|
|
//Todo: Is there an easy way to keep IgnoreArticlesWhenSorting in sync between, Series, History, Missing?
|
2013-02-10 13:28:56 +03:00
|
|
|
//Todo: We should get the entire QualityProfile instead of ID and Name separately
|
2013-02-09 13:04:18 +03:00
|
|
|
|
|
|
|
//View Only
|
|
|
|
public String Title { get; set; }
|
|
|
|
public Int32 SeasonsCount { get; set; }
|
|
|
|
public Int32 EpisodeCount { get; set; }
|
|
|
|
public Int32 EpisodeFileCount { get; set; }
|
2013-04-22 00:04:09 +03:00
|
|
|
public SeriesStatusType Status { get; set; }
|
2013-02-09 13:04:18 +03:00
|
|
|
public String QualityProfileName { get; set; }
|
|
|
|
public String Overview { get; set; }
|
2013-04-20 23:09:12 +03:00
|
|
|
public DateTime? NextAiring { get; set; }
|
2013-02-09 13:04:18 +03:00
|
|
|
public String Network { get; set; }
|
|
|
|
public String AirTime { get; set; }
|
|
|
|
public Int32 UtcOffset { get; set; }
|
2013-04-10 06:17:41 +03:00
|
|
|
public List<Core.MediaCover.MediaCover> Images { get; set; }
|
2013-02-09 13:04:18 +03:00
|
|
|
|
2013-04-22 00:04:09 +03:00
|
|
|
public String Path { get; set; }
|
|
|
|
|
2013-02-09 13:04:18 +03:00
|
|
|
//View & Edit
|
2013-04-11 18:28:08 +03:00
|
|
|
public int RootFolderId { get; set; }
|
|
|
|
public string FolderName { get; set; }
|
2013-02-09 13:04:18 +03:00
|
|
|
public Int32 QualityProfileId { get; set; }
|
|
|
|
|
|
|
|
//Editing Only
|
|
|
|
public Boolean SeasonFolder { get; set; }
|
|
|
|
public Boolean Monitored { get; set; }
|
2013-04-22 00:04:09 +03:00
|
|
|
public BacklogSettingType BacklogSetting { get; set; }
|
|
|
|
public DateTime? CustomStartDate { get; set; }
|
|
|
|
|
|
|
|
public Boolean UseSceneNumbering { get; set; }
|
|
|
|
public Int32 Id { get; set; }
|
|
|
|
public Int32 Runtime { get; set; }
|
|
|
|
public Int32 TvdbId { get; set; }
|
|
|
|
public Int32 TvRageId { get; set; }
|
|
|
|
public DateTime? FirstAired { get; set; }
|
|
|
|
public DateTime? LastInfoSync { get; set; }
|
|
|
|
public SeriesTypes SeriesType { get; set; }
|
|
|
|
public String CleanTitle { get; set; }
|
|
|
|
public String ImdbId { get; set; }
|
|
|
|
public String TitleSlug { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-09 13:04:18 +03:00
|
|
|
}
|
|
|
|
}
|