wabbajack/Wabbajack.DTOs/ServerResponses/DetailedStatusItem.cs

14 lines
398 B
C#
Raw Normal View History

2021-09-27 12:42:46 +00:00
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; }
}
}