20 lines
452 B
C#
20 lines
452 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace NzbDrone.Core.Model.Nzbget
|
|||
|
{
|
|||
|
public class ErrorModel
|
|||
|
{
|
|||
|
public String Name { get; set; }
|
|||
|
public Int32 Code { get; set; }
|
|||
|
public String Message { get; set; }
|
|||
|
|
|||
|
public override string ToString()
|
|||
|
{
|
|||
|
return String.Format("Name: {0}, Code: {1}, Message: {2}", Name, Code, Message);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|