mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
27 lines
572 B
C#
27 lines
572 B
C#
using NzbDrone.Core.Messaging.Commands;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace NzbDrone.Core.Music.Commands
|
|
{
|
|
public class RefreshArtistCommand : Command
|
|
{
|
|
public int? ArtistId { get; set; }
|
|
|
|
public RefreshArtistCommand()
|
|
{
|
|
}
|
|
|
|
public RefreshArtistCommand(int? artistId)
|
|
{
|
|
ArtistId = artistId;
|
|
}
|
|
|
|
public override bool SendUpdatesToClient => true;
|
|
|
|
public override bool UpdateScheduledTask => !ArtistId.HasValue;
|
|
}
|
|
}
|