mlaumcherb/Млаумчерб.Клиент/классы/JavaVersionCatalog.cs
2024-10-18 18:13:22 +05:00

30 lines
720 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace Млаумчерб.Клиент.классы;
public class JavaVersionCatalog
{
}
public class JavaVersionProps
{
[JsonRequired] public Artifact manifest { get; set; }
}
public class JavaVersionManifest
{
[JsonRequired] public Dictionary<string, JavaDistributiveElementProps> manifest { get; set; }
}
public class JavaDistributiveElementProps
{
// "directory" / "file"
[JsonRequired] public string type { get; set; } = "";
public bool? executable { get; set; }
public JavaCompressedArtifact? downloads { get; set; }
}
public class JavaCompressedArtifact
{
public Artifact? lzma { get; set; }
public Artifact raw { get; set; } = null!;
}