Add project files.

This commit is contained in:
Dmitriy yawaflua Andreev
2024-07-31 07:26:18 +03:00
parent f5be6053ea
commit 3c37e25485
19 changed files with 819 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
using System.Text.Json.Serialization;
namespace SkinsApi.Models
{
public class Metadata
{
[JsonPropertyName("model")]
public string Model { get; set; }
}
public class DecodedSkinProperty
{
[JsonPropertyName("timestamp")]
public long Timestamp { get; set; }
[JsonPropertyName("profileId")]
public string ProfileId { get; set; }
[JsonPropertyName("profileName")]
public string ProfileName { get; set; }
[JsonPropertyName("textures")]
public Textures Textures { get; set; }
}
public class SKIN
{
[JsonPropertyName("url")]
public string Url { get; set; }
[JsonPropertyName("metadata")]
public Metadata Metadata { get; set; }
}
public class Textures
{
[JsonPropertyName("SKIN")]
public SKIN SKIN { get; set; }
}
}