Klasse BackupEntry

java.lang.Object
io.github.jnodorp.jiffybox.models.BackupEntry

public class BackupEntry extends Object
Backup entries consist of an id and a timestamp.
  • Konstruktordetails

    • BackupEntry

      public BackupEntry()
  • Methodendetails

    • getId

      public String getId()
      Get the backup entries id.
      Gibt zurück:
      The backup entries id.
    • setId

      public void setId(String id)
      Set the id.
      Parameter:
      id - The id.
    • getCreated

      public long getCreated()
      Get the backup entries creation timestamp.
      Gibt zurück:
      The backup entries creation timestamp.
    • setCreated

      public void setCreated(long created)
      Set the creation timestamp.
      Parameter:
      created - The creation timestamp.
    • toString

      public final String toString()
      Try to return the object as JSON.
      Setzt außer Kraft:
      toString in Klasse Object
      Gibt zurück:
      The objects JSON representation.