mirror of
https://github.com/yawaflua/SkinsApi.git
synced 2025-12-10 20:39:35 +02:00
Add project files.
This commit is contained in:
42
Models/DecodedSkinProperty.cs
Normal file
42
Models/DecodedSkinProperty.cs
Normal 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; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user