mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 07:55:22 +02:00
Merged Mark's fork in
This commit is contained in:
21
NzbDrone.Core/Repository/ItemInfo.cs
Normal file
21
NzbDrone.Core/Repository/ItemInfo.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NzbDrone.Core.Repository
|
||||
{
|
||||
public class ItemInfo
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Title { get; set; }
|
||||
public Site Site { get; set; }
|
||||
public Uri Link { get; set; }
|
||||
public string Description { get; set; }
|
||||
|
||||
public bool IsPassworded()
|
||||
{
|
||||
return Title.EndsWith("(Passworded)", StringComparison.InvariantCultureIgnoreCase);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user