using System; using System.Collections.Generic; using Newtonsoft.Json; namespace CRD.Utils.Sonarr.Models; public class SonarrSeries{ /// /// Gets or sets the TVDB identifier. /// /// /// The TVDB identifier. /// [JsonProperty("tvdbId")] public int TvdbId{ get; set; } /// /// Gets or sets the tv rage identifier. /// /// /// The tv rage identifier. /// [JsonProperty("tvRageId")] public long TvRageId{ get; set; } /// /// Gets or sets the imdb identifier. /// /// /// The imdb identifier. /// [JsonProperty("imdbId")] public string ImdbId{ get; set; } /// /// Gets or sets the title. /// /// /// The title. /// [JsonProperty("title")] public string Title{ get; set; } /// /// Gets or sets the clean title. /// /// /// The clean title. /// [JsonProperty("cleanTitle")] public string CleanTitle{ get; set; } /// /// Gets or sets the status. /// /// /// The status. /// [JsonProperty("status")] public SonarrStatus Status{ get; set; } /// /// Gets or sets the overview. /// /// /// The overview. /// [JsonProperty("overview")] public string Overview{ get; set; } /// /// Gets or sets the air time. /// /// /// The air time. /// [JsonProperty("airTime")] public string AirTime{ get; set; } /// /// Gets or sets a value indicating whether this is monitored. /// /// /// true if monitored; otherwise, false. /// [JsonProperty("monitored")] public bool Monitored{ get; set; } /// /// Gets or sets the quality profile identifier. /// /// /// The quality profile identifier. /// [JsonProperty("qualityProfileId")] public long QualityProfileId{ get; set; } /// /// Gets or sets a value indicating whether [season folder]. /// /// /// true if [season folder]; otherwise, false. /// [JsonProperty("seasonFolder")] public bool SeasonFolder{ get; set; } /// /// Gets or sets the last information synchronize. /// /// /// The last information synchronize. /// [JsonProperty("lastInfoSync")] public DateTimeOffset LastInfoSync{ get; set; } /// /// Gets or sets the runtime. /// /// /// The runtime. /// [JsonProperty("runtime")] public long Runtime{ get; set; } /// /// Gets or sets the images. /// /// /// The images. /// [JsonProperty("images")] public List Images{ get; set; } /// /// Gets or sets the type of the series. /// /// /// The type of the series. /// [JsonProperty("seriesType")] public SonarrSeriesType SeriesType{ get; set; } /// /// Gets or sets the network. /// /// /// The network. /// [JsonProperty("network")] public string Network{ get; set; } /// /// Gets or sets a value indicating whether [use scene numbering]. /// /// /// true if [use scene numbering]; otherwise, false. /// [JsonProperty("useSceneNumbering")] public bool UseSceneNumbering{ get; set; } /// /// Gets or sets the title slug. /// /// /// The title slug. /// [JsonProperty("titleSlug")] public string TitleSlug{ get; set; } /// /// Gets or sets the path. /// /// /// The path. /// [JsonProperty("path")] public string Path{ get; set; } /// /// Gets or sets the year. /// /// /// The year. /// [JsonProperty("year")] public int Year{ get; set; } /// /// Gets or sets the first aired. /// /// /// The first aired. /// [JsonProperty("firstAired")] public DateTimeOffset FirstAired{ get; set; } /// /// Gets or sets the quality profile. /// /// /// The quality profile. /// [JsonProperty("qualityProfile")] public SonarrQualityProfile QualityProfile{ get; set; } /// /// Gets or sets the seasons. /// /// /// The seasons. /// [JsonProperty("seasons")] public List Seasons{ get; set; } /// /// Gets or sets the identifier. /// /// /// The identifier. /// [JsonProperty("id")] public int Id{ get; set; } }