20 lines
663 B
C#
20 lines
663 B
C#
|
|
namespace Extrudex.Domain.DTOs.Moonraker;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Response DTO for the Moonraker /server/history/items endpoint.
|
||
|
|
/// Wraps the paginated list of print job history items.
|
||
|
|
/// </summary>
|
||
|
|
public class MoonrakerHistoryResponse
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// The list of print job history items returned by Moonraker.
|
||
|
|
/// Most recent jobs appear first (descending by start time).
|
||
|
|
/// </summary>
|
||
|
|
public List<MoonrakerPrintJob> Items { get; set; } = [];
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Total number of print jobs available on the server
|
||
|
|
/// (for pagination; the Items list may be a subset).
|
||
|
|
/// </summary>
|
||
|
|
public int TotalCount { get; set; }
|
||
|
|
}
|