Tranga/API/Schema/Jobs/MoveFileOrFolderJob.cs
2024-12-14 21:53:29 +01:00

13 lines
521 B
C#

namespace API.Schema.Jobs;
public class MoveFileOrFolderJob(string fromLocation, string toLocation, string? parentJobId = null, string[]? dependsOnJobIds = null)
: Job(TokenGen.CreateToken(typeof(MoveFileOrFolderJob), 64), JobType.MoveFileOrFolderJob, 0, parentJobId, dependsOnJobIds)
{
public string FromLocation { get; init; } = fromLocation;
public string ToLocation { get; init; } = toLocation;
public override IEnumerable<Job> Run()
{
throw new NotImplementedException();
}
}