2022-02-07 05:06:55 +00:00
|
|
|
package dev.plex.util;
|
|
|
|
|
|
|
|
import com.google.gson.annotations.SerializedName;
|
|
|
|
import lombok.Getter;
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import lombok.Setter;
|
|
|
|
|
2023-03-08 20:26:10 +00:00
|
|
|
import java.time.ZonedDateTime;
|
|
|
|
|
2022-02-07 05:06:55 +00:00
|
|
|
@Getter
|
|
|
|
@Setter
|
|
|
|
public class AshconInfo
|
|
|
|
{
|
|
|
|
private String uuid;
|
|
|
|
private String username;
|
|
|
|
|
|
|
|
@SerializedName("username_history")
|
|
|
|
private UsernameHistory[] usernameHistories;
|
|
|
|
|
|
|
|
private Textures textures;
|
|
|
|
|
|
|
|
@Getter
|
|
|
|
@Setter
|
|
|
|
@NoArgsConstructor
|
|
|
|
public static class UsernameHistory
|
|
|
|
{
|
|
|
|
private String username;
|
|
|
|
@SerializedName("changed_at")
|
2022-04-19 21:49:45 +00:00
|
|
|
private ZonedDateTime zonedDateTime;
|
2022-02-07 05:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Getter
|
|
|
|
@Setter
|
|
|
|
@NoArgsConstructor
|
|
|
|
public static class Textures
|
|
|
|
{
|
|
|
|
private boolean custom;
|
|
|
|
private boolean slim;
|
|
|
|
private SkinData raw;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Getter
|
|
|
|
@Setter
|
|
|
|
@NoArgsConstructor
|
|
|
|
public static class SkinData
|
|
|
|
{
|
|
|
|
private String value;
|
|
|
|
private String signature;
|
|
|
|
}
|
|
|
|
}
|