using System.Text.Json.Serialization; namespace HyperBooru.ApiModels; public record MediaUploadRequest { public string? Checksum { get; init; } = null; public DateTime? LastAccessTime { get; init; } = null; public DateTime? LastWriteTime { get; init; } = null; public DateTime? CreateTime { get; init; } = null; public string? Path { get; init; } = null; [JsonConverter(typeof(JsonStringEnumConverter))] public PathType? PathType { get; init; } = null; public Guid[]? Tags { get; init; } = null; public bool IsIngest { get; init; } = true; }