mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-08-10 06:16:53 +00:00
14cbff9877
- 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>
23 lines
634 B
C#
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}";
|
|
}
|
|
}
|