summary refs log tree commit diff
path: root/LibSystemdCli.Models/SystemdJournalLogItem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibSystemdCli.Models/SystemdJournalLogItem.cs')
-rw-r--r--LibSystemdCli.Models/SystemdJournalLogItem.cs83
1 files changed, 83 insertions, 0 deletions
diff --git a/LibSystemdCli.Models/SystemdJournalLogItem.cs b/LibSystemdCli.Models/SystemdJournalLogItem.cs
new file mode 100644
index 0000000..c829378
--- /dev/null
+++ b/LibSystemdCli.Models/SystemdJournalLogItem.cs
@@ -0,0 +1,83 @@
+using System.Text.Json.Serialization;
+
+namespace LibSystemdCli;
+
+public class SystemdJournalLogItem {
+    [JsonPropertyName("_BOOT_ID")]
+    public string BootId { get; set; } = null!;
+    
+    [JsonPropertyName("__CURSOR")]
+    public string Cursor { get; set; } = null!;
+    
+    [JsonPropertyName("_SYSTEMD_INVOCATION_ID")]
+    public string SystemdInvocationId { get; set; } = null!;
+    
+    [JsonPropertyName("_MACHINE_ID")]
+    public string MachineId { get; set; } = null!;
+    
+    [JsonPropertyName("__SEQNUM")]
+    public string SequenceNumber { get; set; } = null!;
+    
+    [JsonPropertyName("_RUNTIME_SCOPE")]
+    public string RuntimeScope { get; set; } = null!;
+    
+    [JsonPropertyName("__SEQNUM_ID")]
+    public string SequenceNumberId { get; set; } = null!;
+    
+    [JsonPropertyName("_HOSTNAME")]
+    public string Hostname { get; set; } = null!;
+    
+    [JsonPropertyName("SYSLOG_FACILITY")]
+    public string SyslogFacility { get; set; } = null!;
+    
+    [JsonPropertyName("_COMM")]
+    public string Comm { get; set; } = null!;
+    
+    [JsonPropertyName("SYSLOG_IDENTIFIER")]
+    public string SyslogIdentifier { get; set; } = null!;
+    
+    [JsonPropertyName("_TRANSPORT")]
+    public string Transport { get; set; } = null!;
+    
+    [JsonPropertyName("_GID")]
+    public string Gid { get; set; } = null!;
+    
+    [JsonPropertyName("__MONOTONIC_TIMESTAMP")]
+    public string MonotonicTimestamp { get; set; } = null!;
+    
+    [JsonPropertyName("PRIORITY")]
+    public string Priority { get; set; } = null!;
+    
+    [JsonPropertyName("_SYSTEMD_SLICE")]
+    public string SystemdSlice { get; set; } = null!;
+    
+    [JsonPropertyName("_SYSTEMD_UNIT")]
+    public string SystemdUnit { get; set; } = null!;
+    
+    [JsonPropertyName("_STREAM_ID")]
+    public string StreamId { get; set; } = null!;
+    
+    [JsonPropertyName("_CMDLINE")]
+    public string Cmdline { get; set; } = null!;
+    
+    [JsonPropertyName("__REALTIME_TIMESTAMP")]
+    public string RealtimeTimestamp { get; set; } = null!;
+    
+    [JsonPropertyName("_SYSTEMD_CGROUP")]
+    public string SystemdCgroup { get; set; } = null!;
+    
+    [JsonPropertyName("_PID")]
+    public string Pid { get; set; } = null!;
+    
+    [JsonPropertyName("MESSAGE")]
+    public string Message { get; set; } = null!;
+    
+    [JsonPropertyName("_UID")]
+    public string Uid { get; set; } = null!;
+    
+    [JsonPropertyName("_CAP_EFFECTIVE")]
+    public string CapEffective { get; set; } = null!;
+    
+    [JsonPropertyName("_EXE")]
+    public string Exe { get; set; } = null!;
+}
\ No newline at end of file