mirror of
https://github.com/4sval/FModel.git
synced 2026-04-03 15:45:59 -05:00
22 lines
703 B
C#
22 lines
703 B
C#
using System.Diagnostics;
|
|
using J = Newtonsoft.Json.JsonPropertyAttribute;
|
|
|
|
namespace FModel.ViewModels.ApiEndpoints.Models;
|
|
|
|
[DebuggerDisplay("{" + nameof(FileName) + "}")]
|
|
public class MappingsResponse
|
|
{
|
|
[J] public string Url { get; private set; }
|
|
[J] public string FileName { get; private set; }
|
|
[J] public string Hash { get; private set; }
|
|
[J] public long Length { get; private set; }
|
|
[J] public string Uploaded { get; private set; }
|
|
[J] public Meta Meta { get; private set; }
|
|
}
|
|
|
|
[DebuggerDisplay("{" + nameof(CompressionMethod) + "}")]
|
|
public class Meta
|
|
{
|
|
[J] public string Version { get; private set; }
|
|
[J] public string CompressionMethod { get; private set; }
|
|
} |