wabbajack/Wabbajack.Server/DTOs/DetailedStatus.cs
Timothy Baldridge 817dbef7ae Version 2.0.6.2
2020-06-14 07:13:29 -06:00

29 lines
825 B
C#

using System;
using System.Collections.Generic;
using Wabbajack.Common.Serialization.Json;
using Wabbajack.Lib;
using Wabbajack.Lib.ModListRegistry;
namespace Wabbajack.Server.DTOs
{
[JsonName("DetailedStatus")]
public class DetailedStatus
{
public string Name { get; set; }
public DateTime Checked { get; set; } = DateTime.UtcNow;
public List<DetailedStatusItem> Archives { get; set; }
public DownloadMetadata DownloadMetaData { get; set; }
public bool HasFailures { get; set; }
public string MachineName { get; set; }
}
[JsonName("DetailedStatusItem")]
public class DetailedStatusItem
{
public bool IsFailing { get; set; }
public Archive Archive { get; set; }
public ArchiveStatus ArchiveStatus { get; set; }
}
}