namespace Extrudex.Domain.DTOs.Moonraker;
///
/// Response DTO for the Moonraker /printer/info endpoint.
/// Contains the current operational state of the Klipper printer.
/// Used to determine whether the printer is idle, printing, paused, or in error.
///
public class MoonrakerPrinterInfo
{
///
/// Current Klipper state: "ready", "startup", "shutdown", "error", "cancelled".
/// A "ready" state means the printer is connected and idle.
///
public string State { get; set; } = string.Empty;
///
/// Detailed state message from Klipper. May contain error details
/// when the state is "error" or "shutdown".
///
public string StateMessage { get; set; } = string.Empty;
///
/// Whether the Klipper firmware is currently connected and responsive.
///
public bool KlippyReady { get; set; }
}