Files
SkinsApi/Models/DecodedSkinProperty.cs
Dmitriy yawaflua Andreev 3c37e25485 Add project files.
2024-07-31 07:26:18 +03:00

43 lines
898 B
C#

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; }
}
}