File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
src/main/java/com/cisco/trex/stateless/model Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 55
66@ JsonIgnoreProperties (ignoreUnknown = true )
77public class L2Configuration {
8+
89 @ JsonProperty ("dst" )
910 private String dst ;
1011
1112 @ JsonProperty ("src" )
1213 private String src ;
1314
14- @ JsonProperty ("status " )
15+ @ JsonProperty ("state " )
1516 private String state ;
1617
1718 @ JsonProperty ("dst" )
@@ -34,13 +35,13 @@ public void setSrc(String src) {
3435 this .src = src ;
3536 }
3637
37- @ JsonProperty ("status " )
38- public String getStatus () {
38+ @ JsonProperty ("state " )
39+ public String getState () {
3940 return state ;
4041 }
4142
42- @ JsonProperty ("status " )
43- public void setStatus (String status ) {
44- this .state = status ;
43+ @ JsonProperty ("state " )
44+ public void setState (String state ) {
45+ this .state = state ;
4546 }
4647}
Original file line number Diff line number Diff line change 55
66@ JsonIgnoreProperties (ignoreUnknown = true )
77public class L3Configuration {
8+
89 @ JsonProperty ("dst" )
910 private String dst ;
1011
@@ -34,6 +35,11 @@ public void setSrc(String src) {
3435 this .src = src ;
3536 }
3637
38+ @ JsonProperty ("state" )
39+ public String getState () {
40+ return state ;
41+ }
42+
3743 @ JsonProperty ("state" )
3844 public void setState (String state ) {
3945 this .state = state ;
You can’t perform that action at this time.
0 commit comments