blob: f9976de269fce24b05905a07ff75ee4efe2ce5a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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;
}
|