1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Made optional resource properties nullable.

This commit is contained in:
Taloth Saldono 2015-04-11 09:15:15 +02:00
parent 923488bc02
commit 20e40f73b3
2 changed files with 3 additions and 4 deletions

View File

@ -24,7 +24,6 @@ public class EpisodeResource : RestResource
public Nullable<Int32> SceneAbsoluteEpisodeNumber { get; set; }
public Nullable<Int32> SceneEpisodeNumber { get; set; }
public Nullable<Int32> SceneSeasonNumber { get; set; }
public Int32 TvDbEpisodeId { get; set; }
public DateTime? EndTime { get; set; }
public DateTime? GrabDate { get; set; }
public String SeriesTitle { get; set; }

View File

@ -28,9 +28,9 @@ public Int32 SeasonCount
}
}
public Int32 EpisodeCount { get; set; }
public Int32 EpisodeFileCount { get; set; }
public Int64 SizeOnDisk { get; set; }
public Int32? EpisodeCount { get; set; }
public Int32? EpisodeFileCount { get; set; }
public Int64? SizeOnDisk { get; set; }
public SeriesStatusType Status { get; set; }
public String ProfileName { get; set; }
public String Overview { get; set; }