mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
17.24.2021 1c9178997dd15d65b5f84b4870b3e54caa30ff61
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package de.micromata.borgbutler.json.borg;
 
import de.micromata.borgbutler.json.JsonUtils;
 
import java.io.Serializable;
 
/**
 * This object is given by <tt>borg list repo</tt>.
 */
public class BorgArchive implements Serializable {
    private static final long serialVersionUID = -7872260170265536732L;
    private String archive;
    private String barchive;
    private String id;
    private String name;
    private String start;
    private String time;
 
 
    public String toString() {
        return JsonUtils.toJson(this, true);
    }
 
    public String getArchive() {
        return this.archive;
    }
 
    public String getBarchive() {
        return this.barchive;
    }
 
    public String getId() {
        return this.id;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getStart() {
        return this.start;
    }
 
    public String getTime() {
        return this.time;
    }
}