mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
25 lines
650 B
C#
25 lines
650 B
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using NzbDrone.Core.Repository;
|
||
|
|
||
|
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 bool IsPassworded()
|
||
|
{
|
||
|
return Title.EndsWith("(Passworded)", StringComparison.InvariantCultureIgnoreCase);
|
||
|
}
|
||
|
}
|
||
|
}
|