using System;
using Newtonsoft.Json;
namespace Unity.Pipeline.Models
{
///
/// Response model for /api/status endpoint.
/// Provides Editor state information for CLI tools and automation scripts.
///
[Serializable]
public class StatusResponse
{
///
/// Current Editor status: "ready", "compiling", "busy"
///
[JsonProperty("status")]
public string Status { get; set; }
///
/// Whether Unity is currently compiling scripts
///
[JsonProperty("compiling")]
public bool Compiling { get; set; }
///
/// Whether a domain reload is in progress
///
[JsonProperty("domainReloadInProgress")]
public bool DomainReloadInProgress { get; set; }
///
/// Current play mode state: "stopped", "playing", "paused"
///
[JsonProperty("playMode")]
public string PlayMode { get; set; }
///
/// Timestamp of last heartbeat update
///
[JsonProperty("lastHeartbeat")]
public DateTime LastHeartbeat { get; set; }
///
/// Full path to the Unity project
///
[JsonProperty("projectPath")]
public string ProjectPath { get; set; }
///
/// Unity Editor version string
///
[JsonProperty("unityVersion")]
public string UnityVersion { get; set; }
}
}