You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Prowlarr/src/NzbDrone.Core/History/History.cs

33 lines
786 B

using System;
using System.Collections.Generic;
using NzbDrone.Core.Datastore;
namespace NzbDrone.Core.History
{
public class History : ModelBase
{
public History()
{
Data = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
}
public int IndexerId { get; set; }
public DateTime Date { get; set; }
public bool Successful { get; set; }
public HistoryEventType EventType { get; set; }
public Dictionary<string, string> Data { get; set; }
public string DownloadId { get; set; }
}
public enum HistoryEventType
{
Unknown = 0,
ReleaseGrabbed = 1,
IndexerQuery = 2,
IndexerRss = 3,
IndexerAuth = 4,
IndexerInfo = 5
}
}