mirror of
https://github.com/yawaflua/SkinsApi.git
synced 2025-12-09 03:49:32 +02:00
43 lines
898 B
C#
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; }
|
|
}
|
|
|
|
|
|
}
|