mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-24 22:55:21 -04:00
22 lines
474 B
C#
22 lines
474 B
C#
using NzbDrone.Core.Messaging.Commands;
|
|
|
|
namespace NzbDrone.Core.Tv.Commands
|
|
{
|
|
public class RefreshMovieCommand : Command
|
|
{
|
|
public int? MovieId { get; set; }
|
|
|
|
public RefreshMovieCommand()
|
|
{
|
|
}
|
|
|
|
public RefreshMovieCommand(int? movieId)
|
|
{
|
|
MovieId = movieId;
|
|
}
|
|
|
|
public override bool SendUpdatesToClient => true;
|
|
|
|
public override bool UpdateScheduledTask => !MovieId.HasValue;
|
|
}
|
|
} |