2021-04-29 15:10:34 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
using HordeServer.Api;
|
|
|
|
|
using HordeServer.Collections;
|
2021-08-07 19:19:42 -04:00
|
|
|
using HordeServer.Services;
|
2021-04-29 15:10:34 -04:00
|
|
|
using HordeServer.Utilities;
|
|
|
|
|
using MongoDB.Bson;
|
|
|
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.IO.Compression;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text.Json;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace HordeServer.Models
|
|
|
|
|
{
|
2021-08-07 19:19:42 -04:00
|
|
|
using AgentSoftwareVersion = StringId<IAgentSoftwareCollection>;
|
|
|
|
|
using AgentSoftwareChannelName = StringId<AgentSoftwareChannels>;
|
|
|
|
|
|
2021-04-29 15:10:34 -04:00
|
|
|
/// <summary>
|
|
|
|
|
/// A software channel
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IAgentSoftwareChannel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The channel id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public AgentSoftwareChannelName Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the user that made the last modification
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? ModifiedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Last modification time
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime ModifiedTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The software version number
|
|
|
|
|
/// </summary>
|
2021-06-04 15:03:28 -04:00
|
|
|
public string Version { get; set; }
|
2021-04-29 15:10:34 -04:00
|
|
|
}
|
|
|
|
|
}
|