/* * Copyright (c) 2015 OpenSilk Productions LLC * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * */ package syncthing.api.model.event; import org.joda.time.DateTime; import java.util.Collections; import java.util.List; /** * Created by drew on 10/11/15. */ public class FolderErrors extends Event<FolderErrors.Data> { public FolderErrors(long id, DateTime time, EventType type, Data data) { super(id, time, type, data); } public static class Data { public List<Error> errors = Collections.emptyList(); public String folder; } public static class Error { public String error; public String path; } }