1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-01 00:12:30 +01:00
Sonarr/NzbDrone.Api/Series/SeriesResource.cs

52 lines
1.8 KiB
C#
Raw Normal View History

2013-02-09 11:04:18 +01:00
using System;
using System.Collections.Generic;
2013-04-20 02:05:48 +02:00
using NzbDrone.Api.REST;
2013-07-24 07:35:32 +02:00
using NzbDrone.Core.MediaCover;
using NzbDrone.Core.Tv;
2013-02-09 11:04:18 +01:00
namespace NzbDrone.Api.Series
{
2013-04-20 22:16:33 +02:00
public class SeriesResource : RestResource
2013-02-09 11:04:18 +01: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?
//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; }
2013-04-22 03:21:24 +02:00
public Int32 SeasonCount { get; set; }
2013-02-09 11:04:18 +01:00
public Int32 EpisodeCount { get; set; }
public Int32 EpisodeFileCount { get; set; }
public SeriesStatusType Status { get; set; }
2013-02-09 11:04:18 +01:00
public String QualityProfileName { get; set; }
public String Overview { get; set; }
2013-04-20 22:09:12 +02:00
public DateTime? NextAiring { get; set; }
2013-02-09 11:04:18 +01:00
public String Network { get; set; }
public String AirTime { get; set; }
2013-07-24 07:35:32 +02:00
public List<MediaCover> Images { get; set; }
2013-02-09 11:04:18 +01:00
2013-05-26 03:19:03 +02:00
public String RemotePoster { get; set; }
2013-02-09 11:04:18 +01:00
//View & Edit
public String Path { get; set; }
2013-02-09 11:04:18 +01:00
public Int32 QualityProfileId { get; set; }
//Editing Only
public Boolean SeasonFolder { get; set; }
public Boolean Monitored { get; set; }
public Boolean UseSceneNumbering { 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; }
public String RootFolderPath { get; set; }
2013-02-09 11:04:18 +01:00
}
}