File tree Expand file tree Collapse file tree 3 files changed +6
-152
lines changed
src/main/java/io/github/sridharbandi/pw/modal/axe Expand file tree Collapse file tree 3 files changed +6
-152
lines changed Original file line number Diff line number Diff line change 1010
1111@ JsonInclude (JsonInclude .Include .NON_NULL )
1212@ JsonPropertyOrder ({
13- "data" ,
1413 "id" ,
1514 "impact" ,
1615 "message" ,
1918@ Generated ("jsonschema2pojo" )
2019public class Checks {
2120
22- @ JsonProperty ("data" )
23- private Object data ;
2421 @ JsonProperty ("id" )
2522 private String id ;
2623 @ JsonProperty ("impact" )
2724 private String impact ;
2825 @ JsonProperty ("message" )
2926 private String message ;
3027 @ JsonProperty ("relatedNodes" )
31- private List <Object > relatedNodes = null ;
28+ private List <RelatedNode > relatedNodes = null ;
3229 @ JsonIgnore
3330 private Map <String , Object > additionalProperties = new HashMap <String , Object >();
3431
35- @ JsonProperty ("data" )
36- public Object getData () {
37- return data ;
38- }
39-
40- @ JsonProperty ("data" )
41- public void setData (Object data ) {
42- this .data = data ;
43- }
44-
4532 @ JsonProperty ("id" )
4633 public String getId () {
4734 return id ;
@@ -73,12 +60,12 @@ public void setMessage(String message) {
7360 }
7461
7562 @ JsonProperty ("relatedNodes" )
76- public List <Object > getRelatedNodes () {
63+ public List <RelatedNode > getRelatedNodes () {
7764 return relatedNodes ;
7865 }
7966
8067 @ JsonProperty ("relatedNodes" )
81- public void setRelatedNodes (List <Object > relatedNodes ) {
68+ public void setRelatedNodes (List <RelatedNode > relatedNodes ) {
8269 this .relatedNodes = relatedNodes ;
8370 }
8471
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public class Node {
2727 @ JsonProperty ("html" )
2828 private String html ;
2929 @ JsonProperty ("impact" )
30- private Object impact ;
30+ private String impact ;
3131 @ JsonProperty ("none" )
3232 private List <Checks > none = null ;
3333 @ JsonProperty ("target" )
@@ -66,12 +66,12 @@ public void setHtml(String html) {
6666 }
6767
6868 @ JsonProperty ("impact" )
69- public Object getImpact () {
69+ public String getImpact () {
7070 return impact ;
7171 }
7272
7373 @ JsonProperty ("impact" )
74- public void setImpact (Object impact ) {
74+ public void setImpact (String impact ) {
7575 this .impact = impact ;
7676 }
7777
You can’t perform that action at this time.
0 commit comments