57 lines
1.3 KiB
Java
57 lines
1.3 KiB
Java
package com.mojang.realmsclient.dto;
|
|
|
|
import com.google.gson.annotations.SerializedName;
|
|
|
|
public class PlayerInfo extends ValueObject implements ReflectionBasedSerialization {
|
|
@SerializedName("name")
|
|
private String name;
|
|
@SerializedName("uuid")
|
|
private String uuid;
|
|
@SerializedName("operator")
|
|
private boolean operator;
|
|
@SerializedName("accepted")
|
|
private boolean accepted;
|
|
@SerializedName("online")
|
|
private boolean online;
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
|
|
public void setName(final String string) {
|
|
this.name = string;
|
|
}
|
|
|
|
public String getUuid() {
|
|
return this.uuid;
|
|
}
|
|
|
|
public void setUuid(final String string) {
|
|
this.uuid = string;
|
|
}
|
|
|
|
public boolean isOperator() {
|
|
return this.operator;
|
|
}
|
|
|
|
public void setOperator(final boolean boolean1) {
|
|
this.operator = boolean1;
|
|
}
|
|
|
|
public boolean getAccepted() {
|
|
return this.accepted;
|
|
}
|
|
|
|
public void setAccepted(final boolean boolean1) {
|
|
this.accepted = boolean1;
|
|
}
|
|
|
|
public boolean getOnline() {
|
|
return this.online;
|
|
}
|
|
|
|
public void setOnline(final boolean boolean1) {
|
|
this.online = boolean1;
|
|
}
|
|
}
|