blob: fc974aefdbda95fa7334d7c7d0bd7eb3d9ea7b35 [file] [log] [blame]
Deniss Afonin3311a9b2017-04-18 19:27:49 +03001include "JavaTypes.thrift"
2
3namespace java thrift.test
4
5struct 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
15struct DeepCopyBar {
16 1: optional string a,
17 2: optional i32 b,
18 3: optional bool c,
19}