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

Kai Reinhard
10.17.2018 feff94fdffe67ba32b92e932704d2352c7778543
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
package de.micromata.borgbutler.json.borg;
 
import com.fasterxml.jackson.annotation.JsonProperty;
import de.micromata.borgbutler.json.JsonUtils;
import lombok.Getter;
 
import java.io.Serializable;
 
/**
 * This object is given by <tt>borg list archive</tt>.
 */
public class Archive2 implements Serializable {
    private static final long serialVersionUID = 4734056884088174992L;
    @Getter
    @JsonProperty("chunker_params")
    private int[] chunkerParams;
    /**
     * The command line used for creating this archive: borg create --filter...
     */
    @Getter
    @JsonProperty("command_line")
    private String[] commandLine;
    @Getter
    private String comment;
    @Getter
    private String start;
    @Getter
    private ArchiveStats stats;
    @Getter
    private String username;
    public String toString() {
        return JsonUtils.toJson(this, true);
    }
}