Class CapacityOfRole

java.lang.Object
io.gs2.matchmaking.model.CapacityOfRole
All Implemented Interfaces:
IModel, Serializable

public class CapacityOfRole extends Object implements IModel, Serializable
See Also:
  • Constructor Details

    • CapacityOfRole

      public CapacityOfRole()
  • Method Details

    • getRoleName

      public String getRoleName()
    • setRoleName

      public void setRoleName(String roleName)
    • withRoleName

      public CapacityOfRole withRoleName(String roleName)
    • getRoleAliases

      public List<String> getRoleAliases()
    • setRoleAliases

      public void setRoleAliases(List<String> roleAliases)
    • withRoleAliases

      public CapacityOfRole withRoleAliases(List<String> roleAliases)
    • getCapacity

      public Integer getCapacity()
    • setCapacity

      public void setCapacity(Integer capacity)
    • withCapacity

      public CapacityOfRole withCapacity(Integer capacity)
    • getParticipants

      public List<Player> getParticipants()
    • setParticipants

      public void setParticipants(List<Player> participants)
    • withParticipants

      public CapacityOfRole withParticipants(List<Player> participants)
    • fromJson

      public static CapacityOfRole fromJson(com.fasterxml.jackson.databind.JsonNode data)
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object