mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 01:02:05 +00:00
26 lines
740 B
C#
26 lines
740 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using NzbDrone.Core.Repository;
|
|
using NzbDrone.Core.Repository.Quality;
|
|
|
|
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; }
|
|
public QualityTypes Quality { get; set; }
|
|
|
|
public bool IsPassworded()
|
|
{
|
|
return Title.EndsWith("(Passworded)", StringComparison.InvariantCultureIgnoreCase);
|
|
}
|
|
}
|
|
}
|