sonarr-repo-only/NzbDrone.Api/Qualities/QualityProfileResource.cs

22 lines
589 B
C#
Raw Normal View History

2012-11-04 01:39:29 +00:00
using System;
using System.Collections.Generic;
2013-05-31 00:12:20 +00:00
using NzbDrone.Api.REST;
2012-11-04 01:39:29 +00:00
2013-05-20 00:30:02 +00:00
namespace NzbDrone.Api.Qualities
2012-11-04 01:39:29 +00:00
{
2013-05-31 00:12:20 +00:00
public class QualityProfileResource : RestResource
2012-11-04 01:39:29 +00:00
{
public Int32 Id { get; set; }
public String Name { get; set; }
2012-11-09 16:28:59 +00:00
public Int32 Cutoff { get; set; }
2013-05-31 00:12:20 +00:00
public List<QualityResource> Qualities { get; set; }
2012-11-04 01:39:29 +00:00
}
2013-05-31 00:12:20 +00:00
public class QualityResource : RestResource
{
public Int32 Id { get; set; }
public Int32 Weight { get; set; }
public String Name { get; set; }
public Boolean Allowed { get; set; }
}
2012-11-24 08:03:38 +00:00
}