begin application build overhaul
This commit is contained in:
23
Models/WorkerConfig.cs
Normal file
23
Models/WorkerConfig.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace UnifiedFarmLauncher.Models
|
||||
{
|
||||
public class WorkerConfig
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("enabled")]
|
||||
public bool Enabled { get; set; } = true;
|
||||
|
||||
[JsonPropertyName("ssh")]
|
||||
public SshConfig Ssh { get; set; } = new();
|
||||
|
||||
[JsonPropertyName("workerTypes")]
|
||||
public WorkerTypeConfig WorkerTypes { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user