Files
PSProxmoxVE/src/PSProxmoxVE.Core/Models/Vms/PveTaskLog.cs
T
Clint Branham 14cbff9877 docs: add XML doc comments to Core public API and remove CS1591 suppression
- Add missing XML doc comments to all public types and members in
  PSProxmoxVE.Core (Authentication, Exceptions, Models, Client)
- Remove CS1591 suppression from PSProxmoxVE.Core.csproj
- Build succeeds with 0 warnings

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 12:21:54 -05:00

23 lines
634 B
C#

using Newtonsoft.Json;
namespace PSProxmoxVE.Core.Models.Vms
{
/// <summary>
/// Represents a single log line from a Proxmox VE task log,
/// as returned by the /nodes/{node}/tasks/{upid}/log endpoint.
/// </summary>
public class PveTaskLog
{
/// <summary>Line number (1-based).</summary>
[JsonProperty("n")]
public int LineNumber { get; set; }
/// <summary>Log line text.</summary>
[JsonProperty("t")]
public string Text { get; set; } = string.Empty;
/// <inheritdoc />
public override string ToString() => $"{LineNumber,4}: {Text}";
}
}