public class CapacityOfRole extends Object implements IModel, Serializable
| Constructor and Description |
|---|
CapacityOfRole() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static CapacityOfRole |
fromJson(com.fasterxml.jackson.databind.JsonNode data) |
Integer |
getCapacity() |
List<Player> |
getParticipants() |
List<String> |
getRoleAliases() |
String |
getRoleName() |
int |
hashCode() |
void |
setCapacity(Integer capacity) |
void |
setParticipants(List<Player> participants) |
void |
setRoleAliases(List<String> roleAliases) |
void |
setRoleName(String roleName) |
com.fasterxml.jackson.databind.JsonNode |
toJson() |
CapacityOfRole |
withCapacity(Integer capacity) |
CapacityOfRole |
withParticipants(List<Player> participants) |
CapacityOfRole |
withRoleAliases(List<String> roleAliases) |
CapacityOfRole |
withRoleName(String roleName) |
public String getRoleName()
public void setRoleName(String roleName)
public CapacityOfRole withRoleName(String roleName)
public CapacityOfRole withRoleAliases(List<String> roleAliases)
public Integer getCapacity()
public void setCapacity(Integer capacity)
public CapacityOfRole withCapacity(Integer capacity)
public CapacityOfRole withParticipants(List<Player> participants)
public static CapacityOfRole fromJson(com.fasterxml.jackson.databind.JsonNode data)
public com.fasterxml.jackson.databind.JsonNode toJson()
Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.