tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ServerUpdateResponse.cs
Go to the documentation of this file.
1using System;
2
3using Newtonsoft.Json;
4
6{
11 {
15 public Version NewVersion { get; }
16
22 [JsonConstructor]
23 public ServerUpdateResponse(Version newVersion, string? fileTicket)
24 {
25 NewVersion = newVersion ?? throw new ArgumentNullException(nameof(newVersion));
26 FileTicket = fileTicket;
27 }
28 }
29}
Response for when file transfers are necessary.
virtual ? string FileTicket
The ticket to use to access the Routes.Transfer controller.
Version NewVersion
The version of tgstation-server pending update.
ServerUpdateResponse(Version newVersion, string? fileTicket)
Initializes a new instance of the ServerUpdateResponse class.