Started the Radarr Settings #865

This commit is contained in:
Jamie.Rees 2017-06-01 08:49:14 +01:00
commit 7595ccf6c4
34 changed files with 637 additions and 33 deletions

View file

@ -0,0 +1,8 @@
namespace Ombi.Api.Radarr.Models
{
public class Cutoff
{
public int id { get; set; }
public string name { get; set; }
}
}

View file

@ -0,0 +1,8 @@
namespace Ombi.Api.Radarr.Models
{
public class Image
{
public string coverType { get; set; }
public string url { get; set; }
}
}

View file

@ -0,0 +1,8 @@
namespace Ombi.Api.Radarr.Models
{
public class Item
{
public Quality quality { get; set; }
public bool allowed { get; set; }
}
}

View file

@ -0,0 +1,38 @@
using System.Collections.Generic;
namespace Ombi.Api.Radarr.Models
{
public class MovieResponse
{
public string title { get; set; }
public string sortTitle { get; set; }
public double sizeOnDisk { get; set; }
public string status { get; set; }
public string overview { get; set; }
public string inCinemas { get; set; }
public string physicalRelease { get; set; }
public List<Image> images { get; set; }
public string website { get; set; }
public bool downloaded { get; set; }
public int year { get; set; }
public bool hasFile { get; set; }
public string youTubeTrailerId { get; set; }
public string studio { get; set; }
public string path { get; set; }
public int profileId { get; set; }
public bool monitored { get; set; }
public int runtime { get; set; }
public string lastInfoSync { get; set; }
public string cleanTitle { get; set; }
public string imdbId { get; set; }
public int tmdbId { get; set; }
public string titleSlug { get; set; }
public List<string> genres { get; set; }
public List<object> tags { get; set; }
public string added { get; set; }
public Ratings ratings { get; set; }
public List<string> alternativeTitles { get; set; }
public int qualityProfileId { get; set; }
public int id { get; set; }
}
}

View file

@ -0,0 +1,8 @@
namespace Ombi.Api.Radarr.Models
{
public class Quality
{
public int id { get; set; }
public string name { get; set; }
}
}

View file

@ -0,0 +1,12 @@
using System.Collections.Generic;
namespace Ombi.Api.Radarr.Models
{
public class RadarrProfile
{
public string name { get; set; }
public Cutoff cutoff { get; set; }
public List<Item> items { get; set; }
public int id { get; set; }
}
}

View file

@ -0,0 +1,9 @@
namespace Ombi.Api.Radarr.Models
{
public class RadarrRootFolder
{
public int id { get; set; }
public string path { get; set; }
public long freespace { get; set; }
}
}

View file

@ -0,0 +1,8 @@
namespace Ombi.Api.Radarr.Models
{
public class Ratings
{
public int votes { get; set; }
public double value { get; set; }
}
}

View file

@ -0,0 +1,25 @@
namespace Ombi.Api.Radarr.Models
{
public class SystemStatus
{
public string version { get; set; }
public string buildTime { get; set; }
public bool isDebug { get; set; }
public bool isProduction { get; set; }
public bool isAdmin { get; set; }
public bool isUserInteractive { get; set; }
public string startupPath { get; set; }
public string appData { get; set; }
public string osVersion { get; set; }
public bool isMonoRuntime { get; set; }
public bool isMono { get; set; }
public bool isLinux { get; set; }
public bool isOsx { get; set; }
public bool isWindows { get; set; }
public string branch { get; set; }
public string authentication { get; set; }
public string sqliteVersion { get; set; }
public string urlBase { get; set; }
public string runtimeVersion { get; set; }
}
}