@@ -12,6 +12,7 @@ public class NearbyResultItem {
12
12
@ SerializedName ("class" ) private final ResultTuple className ;
13
13
@ SerializedName ("classLabel" ) private final ResultTuple classLabel ;
14
14
@ SerializedName ("commonsCategory" ) private final ResultTuple commonsCategory ;
15
+ @ SerializedName ("pic" ) private final ResultTuple pic ;
15
16
16
17
public NearbyResultItem (ResultTuple item ,
17
18
ResultTuple wikipediaArticle ,
@@ -20,7 +21,8 @@ public NearbyResultItem(ResultTuple item,
20
21
ResultTuple label ,
21
22
ResultTuple icon , ResultTuple className ,
22
23
ResultTuple classLabel ,
23
- ResultTuple commonsCategory ) {
24
+ ResultTuple commonsCategory ,
25
+ ResultTuple pic ) {
24
26
this .item = item ;
25
27
this .wikipediaArticle = wikipediaArticle ;
26
28
this .commonsArticle = commonsArticle ;
@@ -30,6 +32,7 @@ public NearbyResultItem(ResultTuple item,
30
32
this .className = className ;
31
33
this .classLabel = classLabel ;
32
34
this .commonsCategory = commonsCategory ;
35
+ this .pic = pic ;
33
36
}
34
37
35
38
public ResultTuple getItem () {
@@ -67,4 +70,7 @@ public ResultTuple getClassLabel() {
67
70
public ResultTuple getCommonsCategory () {
68
71
return commonsCategory == null ? new ResultTuple ():commonsCategory ;
69
72
}
73
+ public ResultTuple getPic () {
74
+ return pic == null ? new ResultTuple ():pic ;
75
+ }
70
76
}
0 commit comments