mirror of https://github.com/lidarr/Lidarr
23 lines
518 B
C#
23 lines
518 B
C#
|
using NzbDrone.Core.Music;
|
||
|
|
||
|
namespace NzbDrone.Core.Notifications.Webhook
|
||
|
{
|
||
|
public class WebhookArtist
|
||
|
{
|
||
|
public int Id { get; set; }
|
||
|
public string Title { get; set; }
|
||
|
public string Path { get; set; }
|
||
|
public string MBId { get; set; }
|
||
|
|
||
|
public WebhookArtist() { }
|
||
|
|
||
|
public WebhookArtist(Artist artist)
|
||
|
{
|
||
|
Id = artist.Id;
|
||
|
Title = artist.Name;
|
||
|
Path = artist.Path;
|
||
|
MBId = artist.ForeignArtistId;
|
||
|
}
|
||
|
}
|
||
|
}
|