tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
SwarmUpdateRequest.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.ComponentModel.DataAnnotations;
4
6
8{
12 public sealed class SwarmUpdateRequest
13 {
17 [Required]
18 public Version? UpdateVersion { get; init; }
19
23 [Required]
24 public string? SourceNode { get; init; }
25
29 public Dictionary<string, FileTicketResponse>? DownloadTickets { get; init; }
30 }
31}
A request to update the swarm's TGS version.
Dictionary< string, FileTicketResponse >? DownloadTickets
The map of Api.Models.Internal.SwarmServer.Identifiers to FileTicketResponses for retrieving the upda...
string? SourceNode
The Api.Models.Internal.SwarmServer.Identifier of the node to download the update package from.
Version? UpdateVersion
The TGS Version to update to.