2011-01-29 07:10:22 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using NzbDrone.Core.Repository;
|
2011-02-18 17:36:50 +01:00
|
|
|
|
using NzbDrone.Core.Repository.Quality;
|
2011-01-29 07:10:22 +01:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Model
|
|
|
|
|
{
|
|
|
|
|
public class NzbInfoModel
|
|
|
|
|
{
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
public string TitleFix { get; set; }
|
|
|
|
|
public NzbSiteModel Site { get; set; }
|
|
|
|
|
public Uri Link { get; set; }
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
public bool Proper { get; set; }
|
2011-02-18 17:36:50 +01:00
|
|
|
|
public QualityTypes Quality { get; set; }
|
2011-01-29 07:10:22 +01:00
|
|
|
|
|
|
|
|
|
public bool IsPassworded()
|
|
|
|
|
{
|
|
|
|
|
return Title.EndsWith("(Passworded)", StringComparison.InvariantCultureIgnoreCase);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|