Class Counter

java.lang.Object
io.gs2.mission.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)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • withUserId

      public Counter withUserId(String userId)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • withName

      public Counter withName(String name)
    • getValues

      public List<ScopedValue> getValues()
    • setValues

      public void setValues(List<ScopedValue> values)
    • withValues

      public Counter withValues(List<ScopedValue> values)
    • 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