.NET Format Style Fixes

This commit is contained in:
refringe
2025-06-18 17:09:20 +00:00
committed by Format Bot
parent ca0a7d6345
commit 6e01428b2b
774 changed files with 23507 additions and 40003 deletions
@@ -5,39 +5,19 @@ namespace SPTarkov.Server.Core.Models.Spt.Config;
public record BackupConfig : BaseConfig
{
[JsonPropertyName("kind")]
public override string Kind
{
get;
set;
} = "spt-backup";
public override string Kind { get; set; } = "spt-backup";
[JsonPropertyName("enabled")]
public required bool Enabled
{
get;
set;
}
public required bool Enabled { get; set; }
[JsonPropertyName("maxBackups")]
public int MaxBackups
{
get;
set;
}
public int MaxBackups { get; set; }
[JsonPropertyName("directory")]
public string Directory
{
get;
set;
} = string.Empty;
public string Directory { get; set; } = string.Empty;
[JsonPropertyName("backupInterval")]
public required BackupConfigInterval BackupInterval
{
get;
set;
}
public required BackupConfigInterval BackupInterval { get; set; }
}
public record BackupConfigInterval
@@ -46,16 +26,8 @@ public record BackupConfigInterval
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("enabled")]
public bool Enabled
{
get;
set;
}
public bool Enabled { get; set; }
[JsonPropertyName("intervalMinutes")]
public int IntervalMinutes
{
get;
set;
}
public int IntervalMinutes { get; set; }
}