Deniss Afonin | 3311a9b | 2017-04-18 19:27:49 +0300 | [diff] [blame] | 1 | include "JavaTypes.thrift" |
2 | |||||
3 | namespace java thrift.test | ||||
4 | |||||
5 | struct DeepCopyFoo { | ||||
6 | 1: optional list<DeepCopyBar> l, | ||||
7 | 2: optional set<DeepCopyBar> s, | ||||
8 | 3: optional map<string, DeepCopyBar> m, | ||||
9 | 4: optional list<JavaTypes.Object> li, | ||||
10 | 5: optional set<JavaTypes.Object> si, | ||||
11 | 6: optional map<string, JavaTypes.Object> mi, | ||||
12 | 7: optional DeepCopyBar bar, | ||||
13 | } | ||||
14 | |||||
15 | struct DeepCopyBar { | ||||
16 | 1: optional string a, | ||||
17 | 2: optional i32 b, | ||||
18 | 3: optional bool c, | ||||
19 | } |