2013-02-09 11:04:18 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
2013-02-10 11:28:56 +01:00
|
|
|
|
using NzbDrone.Api.QualityProfiles;
|
2013-02-09 11:04:18 +01:00
|
|
|
|
using NzbDrone.Core.Model;
|
2013-03-01 05:59:06 +01:00
|
|
|
|
using NzbDrone.Core.Qualities;
|
2013-02-09 11:04:18 +01:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Api.Series
|
|
|
|
|
{
|
2013-02-13 07:32:17 +01:00
|
|
|
|
public class SeriesResource
|
2013-02-09 11:04:18 +01:00
|
|
|
|
{
|
|
|
|
|
public Int32 Id { get; set; }
|
|
|
|
|
|
|
|
|
|
//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 11:28:56 +01:00
|
|
|
|
//Todo: We should get the entire QualityProfile instead of ID and Name separately
|
2013-02-09 11:04:18 +01: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; }
|
|
|
|
|
public DateTime NextAiring { get; set; }
|
|
|
|
|
public String Details { get; set; }
|
|
|
|
|
public String Network { get; set; }
|
|
|
|
|
public String AirTime { get; set; }
|
|
|
|
|
public String Language { get; set; }
|
|
|
|
|
|
|
|
|
|
public Int32 SeasonCount { get; set; }
|
|
|
|
|
public Int32 UtcOffset { get; set; }
|
|
|
|
|
|
|
|
|
|
//View & Edit
|
|
|
|
|
public String Path { get; set; }
|
|
|
|
|
public Int32 QualityProfileId { get; set; }
|
|
|
|
|
|
|
|
|
|
//Editing Only
|
|
|
|
|
public Boolean SeasonFolder { get; set; }
|
|
|
|
|
public Boolean Monitored { get; set; }
|
2013-02-12 06:13:41 +01:00
|
|
|
|
public Int32 BacklogSetting { get; set; }
|
2013-02-10 11:28:56 +01:00
|
|
|
|
public String CustomStartDate { get; set; }
|
2013-02-09 11:04:18 +01:00
|
|
|
|
}
|
|
|
|
|
}
|