oi-metrology/Shared/Models/NginxFileSystem.cs
Mike Phares 811f45a7df NginxFileSystem
Remove Reactors and Working Directory
AppSettings
2024-03-18 12:59:15 -07:00

21 lines
708 B
C#

using System.Text.Json.Serialization;
namespace OI.Metrology.Shared.Models;
public record NginxFileSystem(
[property: JsonPropertyName("name")] string Name,
[property: JsonPropertyName("type")] string Type,
[property: JsonPropertyName("mtime")] string MTime,
[property: JsonPropertyName("size")] float Size);
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(NginxFileSystem))]
public partial class NginxFileSystemSourceGenerationContext : JsonSerializerContext
{
}
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(NginxFileSystem[]))]
public partial class NginxFileSystemCollectionSourceGenerationContext : JsonSerializerContext
{
}