tgstation-server 5.12.7
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 {
11 public UserName? StartedBy { get; set; }
12
16 [ResponseOptions]
17 public UserName? CancelledBy { get; set; }
18
22 [ResponseOptions]
23 public int? Progress { get; set; }
24
28 [ResponseOptions]
29 public string? Stage { get; set; }
30 }
31}
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.
Definition: JobResponse.cs:23
UserName? StartedBy
The UserResponse that started the job.
Definition: JobResponse.cs:11
string? Stage
Optional description of the job's current .
Definition: JobResponse.cs:29
UserName? CancelledBy
The UserResponse that cancelled the job.
Definition: JobResponse.cs:17
Base class for user names.
Definition: UserName.cs:7