void.cat/VoidCat/Model/IngressPayload.cs

10 lines
286 B
C#
Raw Normal View History

2022-02-21 22:35:06 +00:00
namespace VoidCat.Model;
2022-02-28 20:47:57 +00:00
public sealed record IngressPayload(Stream InStream, SecretVoidFileMeta Meta)
2022-02-21 22:35:06 +00:00
{
2022-03-01 11:32:41 +00:00
public Guid Id { get; init; } = Guid.NewGuid();
2022-02-21 22:35:06 +00:00
public Guid? EditSecret { get; init; }
2022-02-28 20:47:57 +00:00
public string? Hash { get; init; }
2022-03-01 16:48:42 +00:00
public bool IsAppend { get; init; }
2022-02-21 22:35:06 +00:00
}