Class Key

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

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

    • Key

      public Key()
  • Method Details

    • getKeyId

      public String getKeyId()
    • setKeyId

      public void setKeyId(String keyId)
    • withKeyId

      public Key withKeyId(String keyId)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • withName

      public Key withName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • withDescription

      public Key withDescription(String description)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public Key withCreatedAt(Long createdAt)
    • getUpdatedAt

      public Long getUpdatedAt()
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
    • withUpdatedAt

      public Key withUpdatedAt(Long updatedAt)
    • getRevision

      public Long getRevision()
    • setRevision

      public void setRevision(Long revision)
    • withRevision

      public Key withRevision(Long revision)
    • fromJson

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

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

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

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

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