/* * Copyright (C) 2013 EBay Software Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Authors : Ashwin Raveendran, Madhu Venugopal */ package org.opendaylight.ovsdb.lib.jsonrpc; import java.util.List; import com.fasterxml.jackson.databind.JsonNode; import com.google.common.collect.Lists; public class JsonRpc10Response { String id; String error; List result = Lists.newArrayList(); public JsonRpc10Response(String id) { setId(id); } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getError() { return error; } public void setError(String error) { this.error = error; } public List getResult() { return result; } public void setResult(List result) { this.result = result; } }