2017-09-23 01:59:24 +00:00
|
|
|
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; }
|
2017-09-23 01:59:24 +00:00
|
|
|
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;
|
2017-09-23 01:59:24 +00:00
|
|
|
Path = artist.Path;
|
|
|
|
MBId = artist.ForeignArtistId;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|