package de.micromata.borgbutler.json.borg; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import java.io.Serializable; public class RepoInfo extends RepositoryMatcher implements Serializable { private static final long serialVersionUID = -1588038325129799400L; @Getter @JsonProperty("security_dir") private String securityDir; @Getter private Cache cache; @Getter private Encryption encryption; public void updateFrom(RepoInfo repoInfo) { super.updateFrom(repoInfo); this.securityDir = repoInfo.securityDir; this.cache = repoInfo.cache; this.encryption = repoInfo.encryption; } }