Files
Readarr/src/NzbDrone.Core/Notifications/Webhook/WebhookArtist.cs
T
2020-05-09 22:24:45 +01:00

25 lines
547 B
C#

using NzbDrone.Core.Music;
namespace NzbDrone.Core.Notifications.Webhook
{
public class WebhookArtist
{
public int Id { get; set; }
public string Name { get; set; }
public string Path { get; set; }
public string MBId { get; set; }
public WebhookArtist()
{
}
public WebhookArtist(Author artist)
{
Id = artist.Id;
Name = artist.Name;
Path = artist.Path;
MBId = artist.Metadata.Value.ForeignAuthorId;
}
}
}