2021-04-29 15:10:34 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
using HordeServer.Api;
|
|
|
|
|
using HordeServer.Collections;
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
using AgentSoftwareVersion = HordeServer.Utilities.StringId<HordeServer.Collections.IAgentSoftwareCollection>;
|
|
|
|
|
using AgentSoftwareChannelName = HordeServer.Utilities.StringId<HordeServer.Services.AgentSoftwareChannels>;
|
|
|
|
|
|
|
|
|
|
namespace HordeServer.Models
|
|
|
|
|
{
|
|
|
|
|
/// <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
|
|
|
}
|
|
|
|
|
}
|