mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
74a38415cf
Indexes are created with the same uniqueness when copying a table New: Non-English episode support New: Renamed Quality Profiles to Profiles and made them more powerful New: Configurable wait time before grabbing a release to wait for a better quality
22 lines
476 B
C#
22 lines
476 B
C#
using System;
|
|
|
|
namespace NzbDrone.Core.DecisionEngine
|
|
{
|
|
public class Rejection
|
|
{
|
|
public String Reason { get; set; }
|
|
public RejectionType Type { get; set; }
|
|
|
|
public Rejection(string reason, RejectionType type = RejectionType.Permanent)
|
|
{
|
|
Reason = reason;
|
|
Type = type;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return String.Format("[{0}] {1}", Type, Reason);
|
|
}
|
|
}
|
|
}
|