mirror of
https://github.com/plexusorg/Plex.git
synced 2024-07-03 01:50:01 +00:00
53 lines
1.0 KiB
Java
53 lines
1.0 KiB
Java
|
package dev.plex.util;
|
||
|
|
||
|
import com.google.common.collect.Lists;
|
||
|
import com.google.gson.annotations.SerializedName;
|
||
|
import lombok.Getter;
|
||
|
import lombok.NoArgsConstructor;
|
||
|
import lombok.Setter;
|
||
|
|
||
|
import java.time.LocalDateTime;
|
||
|
import java.util.List;
|
||
|
|
||
|
@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")
|
||
|
private LocalDateTime localDateTime;
|
||
|
}
|
||
|
|
||
|
@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;
|
||
|
}
|
||
|
}
|