Lidarr/src/NzbDrone.Core/Notifications/Webhook/WebhookArtist.cs

23 lines
531 B
C#
Raw Normal View History

using NzbDrone.Core.Music;
namespace NzbDrone.Core.Notifications.Webhook
{
public class WebhookArtist
{
public int Id { get; set; }
2017-10-28 21:38:57 +00:00
public string Name { get; set; }
public string Path { get; set; }
public string MBId { get; set; }
public WebhookArtist() { }
public WebhookArtist(Artist artist)
{
Id = artist.Id;
2017-10-28 21:38:57 +00:00
Name = artist.Name;
Path = artist.Path;
MBId = artist.Metadata.Value.ForeignArtistId;
}
}
}