Added more ignorable files to .gitignore
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / jsonrpc / JsonRpc10Response.java
1 /*
2  * Copyright (C) 2013 EBay Software Foundation
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Authors : Ashwin Raveendran, Madhu Venugopal
9  */
10 package org.opendaylight.ovsdb.lib.jsonrpc;
11
12 import java.util.List;
13
14 import com.google.common.collect.Lists;
15
16 public class JsonRpc10Response {
17
18     String id;
19     String error;
20     List<Object> result = Lists.newArrayList();
21
22     public JsonRpc10Response(String id) {
23         setId(id);
24     }
25
26     public String getId() {
27         return id;
28     }
29
30     public void setId(String id) {
31         this.id = id;
32     }
33
34     public String getError() {
35         return error;
36     }
37
38     public void setError(String error) {
39         this.error = error;
40     }
41
42     public List<Object> getResult() {
43         return result;
44     }
45
46     public void setResult(List<Object> result) {
47         this.result = result;
48     }
49 }