mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Fixed a sonarr deseralization error.
This commit is contained in:
parent
2b27559277
commit
20c4ce8b7d
3 changed files with 36 additions and 8 deletions
|
@ -25,7 +25,7 @@ namespace Ombi.Api.Models.Sonarr
|
|||
{
|
||||
public SonarrAddSeries()
|
||||
{
|
||||
images = new List<string>();
|
||||
images = new List<SonarrImage>();
|
||||
}
|
||||
public AddOptions addOptions { get; set; }
|
||||
public string title { get; set; }
|
||||
|
@ -40,7 +40,7 @@ namespace Ombi.Api.Models.Sonarr
|
|||
public string imdbId { get; set; }
|
||||
public string titleSlug { get; set; }
|
||||
public int id { get; set; }
|
||||
public List<string> images { get; set; }
|
||||
public List<SonarrImage> images { get; set; }
|
||||
[JsonIgnore]
|
||||
public List<string> ErrorMessages { get; set; }
|
||||
}
|
||||
|
@ -51,4 +51,18 @@ namespace Ombi.Api.Models.Sonarr
|
|||
public bool ignoreEpisodesWithoutFiles { get; set; }
|
||||
public bool searchForMissingEpisodes { get; set; }
|
||||
}
|
||||
|
||||
public class Addoptions
|
||||
{
|
||||
public bool searchForMissingEpisodes { get; set; }
|
||||
public bool ignoreEpisodesWithFiles { get; set; }
|
||||
public bool ignoreEpisodesWithoutFiles { get; set; }
|
||||
}
|
||||
|
||||
public class SonarrImage
|
||||
{
|
||||
public string coverType { get; set; }
|
||||
public string url { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue