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 borg list archive. */ public class BorgArchive2 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 BorgArchiveStats stats; @Getter private String username; public String toString() { return JsonUtils.toJson(this, true); } }