wabbajack/Wabbajack.DTOs/ServerResponses/DetailedStatusItem.cs
2021-09-27 06:42:46 -06:00

14 lines
398 B
C#

using System.Text.Json.Serialization;
namespace Wabbajack.DTOs.ServerResponses
{
public class DetailedStatusItem
{
public bool IsFailing { get; set; }
public Archive Archive { get; set; }
public string Name => string.IsNullOrWhiteSpace(Archive.Name) ? Archive.State.PrimaryKeyString : Archive.Name;
public ArchiveStatus ArchiveStatus { get; set; }
}
}