Class TimeSpan

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

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

    • TimeSpan

      public TimeSpan()
  • Method Details

    • getDays

      public Integer getDays()
    • setDays

      public void setDays(Integer days)
    • withDays

      public TimeSpan withDays(Integer days)
    • getHours

      public Integer getHours()
    • setHours

      public void setHours(Integer hours)
    • withHours

      public TimeSpan withHours(Integer hours)
    • getMinutes

      public Integer getMinutes()
    • setMinutes

      public void setMinutes(Integer minutes)
    • withMinutes

      public TimeSpan withMinutes(Integer minutes)
    • fromJson

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