mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
Started the Radarr Settings #865
This commit is contained in:
parent
521f7c3ea0
commit
7595ccf6c4
34 changed files with 637 additions and 33 deletions
8
src/Ombi.Api.Radarr/Models/Cutoff.cs
Normal file
8
src/Ombi.Api.Radarr/Models/Cutoff.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace Ombi.Api.Radarr.Models
|
||||
{
|
||||
public class Cutoff
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string name { get; set; }
|
||||
}
|
||||
}
|
8
src/Ombi.Api.Radarr/Models/Image.cs
Normal file
8
src/Ombi.Api.Radarr/Models/Image.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace Ombi.Api.Radarr.Models
|
||||
{
|
||||
public class Image
|
||||
{
|
||||
public string coverType { get; set; }
|
||||
public string url { get; set; }
|
||||
}
|
||||
}
|
8
src/Ombi.Api.Radarr/Models/Item.cs
Normal file
8
src/Ombi.Api.Radarr/Models/Item.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace Ombi.Api.Radarr.Models
|
||||
{
|
||||
public class Item
|
||||
{
|
||||
public Quality quality { get; set; }
|
||||
public bool allowed { get; set; }
|
||||
}
|
||||
}
|
38
src/Ombi.Api.Radarr/Models/MovieResponse.cs
Normal file
38
src/Ombi.Api.Radarr/Models/MovieResponse.cs
Normal 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; }
|
||||
}
|
||||
}
|
8
src/Ombi.Api.Radarr/Models/Quality.cs
Normal file
8
src/Ombi.Api.Radarr/Models/Quality.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace Ombi.Api.Radarr.Models
|
||||
{
|
||||
public class Quality
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string name { get; set; }
|
||||
}
|
||||
}
|
12
src/Ombi.Api.Radarr/Models/RadarrProfile.cs
Normal file
12
src/Ombi.Api.Radarr/Models/RadarrProfile.cs
Normal 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; }
|
||||
}
|
||||
}
|
9
src/Ombi.Api.Radarr/Models/RadarrRootFolder.cs
Normal file
9
src/Ombi.Api.Radarr/Models/RadarrRootFolder.cs
Normal 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; }
|
||||
}
|
||||
}
|
8
src/Ombi.Api.Radarr/Models/Ratings.cs
Normal file
8
src/Ombi.Api.Radarr/Models/Ratings.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace Ombi.Api.Radarr.Models
|
||||
{
|
||||
public class Ratings
|
||||
{
|
||||
public int votes { get; set; }
|
||||
public double value { get; set; }
|
||||
}
|
||||
}
|
25
src/Ombi.Api.Radarr/Models/SystemStatus.cs
Normal file
25
src/Ombi.Api.Radarr/Models/SystemStatus.cs
Normal 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; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue