tgstation-server 6.4.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
TestMergeParameters.cs
Go to the documentation of this file.
1using System.ComponentModel.DataAnnotations;
2
4{
8 public class TestMergeParameters
9 {
13 public int Number { get; set; }
14
18 [Required]
19 [StringLength(40)]
20 public virtual string? TargetCommitSha { get; set; }
21
25 [ResponseOptions]
26 [StringLength(Limits.MaximumStringLength)]
27 public string? Comment { get; set; }
28 }
29}
Sanity limits to prevent users from overloading.
Definition: Limits.cs:9
const int MaximumStringLength
Length limit for strings in fields.
Definition: Limits.cs:13
Parameters for creating a TestMerge.
virtual ? string TargetCommitSha
The sha of the test merge revision to merge. If not specified, the latest commit from the source will...
string? Comment
Optional comment about the test.
int Number
The number of the test merge source.