Files
UnrealEngineUWP/Engine/Source/Programs/Horde/HordeServer/Models/AgentSoftware.cs
Ben Marsh dadca6221a Horde: Use version numbers from the agent executable for versioning software.
[CL 16561486 by Ben Marsh in ue5-main branch]
2021-06-04 15:03:28 -04:00

47 lines
1.1 KiB
C#

// 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>
public string Version { get; set; }
}
}