Class Counter

java.lang.Object
io.gs2.limit.model.Counter
All Implemented Interfaces:
IModel, Serializable, Comparable<Counter>

public class Counter extends Object implements IModel, Serializable, Comparable<Counter>
See Also:
  • Constructor Details

    • Counter

      public Counter()
  • Method Details

    • getCounterId

      public String getCounterId()
    • setCounterId

      public void setCounterId(String counterId)
    • withCounterId

      public Counter withCounterId(String counterId)
    • getLimitName

      public String getLimitName()
    • setLimitName

      public void setLimitName(String limitName)
    • withLimitName

      public Counter withLimitName(String limitName)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • withName

      public Counter withName(String name)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • withUserId

      public Counter withUserId(String userId)
    • getCount

      public Integer getCount()
    • setCount

      public void setCount(Integer count)
    • withCount

      public Counter withCount(Integer count)
    • getNextResetAt

      public Long getNextResetAt()
    • setNextResetAt

      public void setNextResetAt(Long nextResetAt)
    • withNextResetAt

      public Counter withNextResetAt(Long nextResetAt)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public Counter withCreatedAt(Long createdAt)
    • getUpdatedAt

      public Long getUpdatedAt()
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
    • withUpdatedAt

      public Counter withUpdatedAt(Long updatedAt)
    • getRevision

      public Long getRevision()
    • setRevision

      public void setRevision(Long revision)
    • withRevision

      public Counter withRevision(Long revision)
    • fromJson

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

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

      public int compareTo(Counter o)
      Specified by:
      compareTo in interface Comparable<Counter>
    • hashCode

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

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