Battle-Cattle/BCUK-Bot-3

View on GitHub
src/main/java/com/expiredminotaur/bcukbot/mojang/NameWithUUID.java

Summary

Maintainability
A
1 hr
Test Coverage
package com.expiredminotaur.bcukbot.mojang;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public class NameWithUUID
{
    @SerializedName("id")
    @Expose
    private String id;
    @SerializedName("name")
    @Expose
    private String name;

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }
}