tgstation-server 6.14.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
JobResponse.cs
Go to the documentation of this file.
2{
6 public sealed class JobResponse : Internal.Job
7 {
12 public long? InstanceId { get; set; }
13
17 public UserName? StartedBy { get; set; }
18
22 [ResponseOptions]
23 public UserName? CancelledBy { get; set; }
24
29 [ResponseOptions]
30 public int? Progress { get; set; }
31
36 [ResponseOptions]
37 public string? Stage { get; set; }
38 }
39}
Represents a long running job on the server. Model is read-only, updates attempt to cancel the job.
Definition JobResponse.cs:7
int? Progress
Optional progress between 0 and 100 inclusive.
UserName? StartedBy
The UserResponse that started the job.
long? InstanceId
The EntityId.Id of the Instance.
string? Stage
Optional description of the job's current progress.
UserName? CancelledBy
The UserResponse that cancelled the job.
Base class for user names.
Definition UserName.cs:7