2013-02-09 10:04:18 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2013-04-20 00:05:48 +00:00
|
|
|
|
using NzbDrone.Api.REST;
|
2013-02-09 10:04:18 +00:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Api.Series
|
|
|
|
|
{
|
2013-04-20 00:05:48 +00:00
|
|
|
|
public class SeriesResource : RestResource<SeriesResource>
|
2013-02-09 10:04:18 +00: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 10:28:56 +00:00
|
|
|
|
//Todo: We should get the entire QualityProfile instead of ID and Name separately
|
2013-02-09 10:04:18 +00:00
|
|
|
|
|
|
|
|
|
//View Only
|
|
|
|
|
public String Title { get; set; }
|
|
|
|
|
public Int32 SeasonsCount { get; set; }
|
|
|
|
|
public Int32 EpisodeCount { get; set; }
|
|
|
|
|
public Int32 EpisodeFileCount { get; set; }
|
|
|
|
|
public String Status { get; set; }
|
|
|
|
|
public String AirsDayOfWeek { get; set; }
|
|
|
|
|
public String QualityProfileName { get; set; }
|
|
|
|
|
public String Overview { get; set; }
|
|
|
|
|
public Int32 Episodes { get; set; }
|
|
|
|
|
public Boolean HasBanner { get; set; }
|
2013-04-20 20:09:12 +00:00
|
|
|
|
public DateTime? NextAiring { get; set; }
|
2013-02-09 10:04:18 +00:00
|
|
|
|
public String Details { get; set; }
|
|
|
|
|
public String Network { get; set; }
|
|
|
|
|
public String AirTime { get; set; }
|
|
|
|
|
public String Language { get; set; }
|
2013-04-20 20:09:12 +00:00
|
|
|
|
public Int32 NumberOfSeasons { get; set; }
|
2013-02-09 10:04:18 +00:00
|
|
|
|
public Int32 UtcOffset { get; set; }
|
2013-04-10 03:17:41 +00:00
|
|
|
|
public List<Core.MediaCover.MediaCover> Images { get; set; }
|
2013-02-09 10:04:18 +00:00
|
|
|
|
|
|
|
|
|
//View & Edit
|
2013-04-11 15:28:08 +00:00
|
|
|
|
public int RootFolderId { get; set; }
|
|
|
|
|
public string FolderName { get; set; }
|
2013-02-09 10:04:18 +00:00
|
|
|
|
public Int32 QualityProfileId { get; set; }
|
|
|
|
|
|
|
|
|
|
//Editing Only
|
|
|
|
|
public Boolean SeasonFolder { get; set; }
|
|
|
|
|
public Boolean Monitored { get; set; }
|
2013-02-12 05:13:41 +00:00
|
|
|
|
public Int32 BacklogSetting { get; set; }
|
2013-02-10 10:28:56 +00:00
|
|
|
|
public String CustomStartDate { get; set; }
|
2013-02-09 10:04:18 +00:00
|
|
|
|
}
|
|
|
|
|
}
|