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