Klasse BackupEntry
java.lang.Object
io.github.jnodorp.jiffybox.models.BackupEntry
Backup entries consist of an id and a timestamp.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglong
Get the backup entries creation timestamp.getId()
Get the backup entries id.void
setCreated
(long created) Set the creation timestamp.void
Set the id.final String
toString()
Try to return the object as JSON.
-
Konstruktordetails
-
BackupEntry
public BackupEntry()
-
-
Methodendetails
-
getId
Get the backup entries id.- Gibt zurück:
- The backup entries id.
-
setId
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
Try to return the object as JSON.
-