mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02:00
24 lines
606 B
C#
24 lines
606 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 Title { get; set; }
|
|
public string TitleFix { get; set; }
|
|
public Uri Link { get; set; }
|
|
public bool Proper { get; set; }
|
|
public QualityTypes Quality { get; set; }
|
|
|
|
public bool IsPassworded()
|
|
{
|
|
return Title.EndsWith("(Passworded)", StringComparison.InvariantCultureIgnoreCase);
|
|
}
|
|
}
|
|
}
|