mirror of
https://github.com/Radarr/Radarr
synced 2026-03-05 12:03:41 +01:00
New: Include Path/Relative Path for on download Webhooks New: IsUpgrade flag for on download Webhooks
28 lines
No EOL
913 B
C#
28 lines
No EOL
913 B
C#
using NzbDrone.Core.MediaFiles;
|
|
|
|
namespace NzbDrone.Core.Notifications.Webhook
|
|
{
|
|
public class WebhookEpisodeFile
|
|
{
|
|
public WebhookEpisodeFile() { }
|
|
|
|
public WebhookEpisodeFile(EpisodeFile episodeFile)
|
|
{
|
|
Id = episodeFile.Id;
|
|
RelativePath = episodeFile.RelativePath;
|
|
Path = episodeFile.Path;
|
|
Quality = episodeFile.Quality.Quality.Name;
|
|
QualityVersion = episodeFile.Quality.Revision.Version;
|
|
ReleaseGroup = episodeFile.ReleaseGroup;
|
|
SceneName = episodeFile.SceneName;
|
|
}
|
|
|
|
public int Id { get; set; }
|
|
public string RelativePath { get; set; }
|
|
public string Path { get; set; }
|
|
public string Quality { get; set; }
|
|
public int QualityVersion { get; set; }
|
|
public string ReleaseGroup { get; set; }
|
|
public string SceneName { get; set; }
|
|
}
|
|
} |