Class Player

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

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

    • Player

      public Player()
  • Method Details

    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • withUserId

      public Player withUserId(String userId)
    • getAttributes

      public List<Attribute> getAttributes()
    • setAttributes

      public void setAttributes(List<Attribute> attributes)
    • withAttributes

      public Player withAttributes(List<Attribute> attributes)
    • getRoleName

      public String getRoleName()
    • setRoleName

      public void setRoleName(String roleName)
    • withRoleName

      public Player withRoleName(String roleName)
    • getDenyUserIds

      public List<String> getDenyUserIds()
    • setDenyUserIds

      public void setDenyUserIds(List<String> denyUserIds)
    • withDenyUserIds

      public Player withDenyUserIds(List<String> denyUserIds)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public Player withCreatedAt(Long createdAt)
    • fromJson

      public static Player 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