mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-26 22:46:53 -04:00
19 lines
572 B
C#
19 lines
572 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using NzbDrone.Core.CustomFormats;
|
|
|
|
namespace NzbDrone.Core.Notifications.Webhook
|
|
{
|
|
public class WebhookCustomFormatInfo
|
|
{
|
|
public List<WebhookCustomFormat> CustomFormats { get; set; }
|
|
public int CustomFormatScore { get; set; }
|
|
|
|
public WebhookCustomFormatInfo(List<CustomFormat> customFormats, int customFormatScore)
|
|
{
|
|
CustomFormats = customFormats.Select(c => new WebhookCustomFormat(c)).ToList();
|
|
CustomFormatScore = customFormatScore;
|
|
}
|
|
}
|
|
}
|