Skip to content

Commit 87b1292

Browse files
committed
replace json property annotation in FlowInfoData
Signed-off-by: Leo Ma <[email protected]>
1 parent d554e74 commit 87b1292

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

src/main/java/com/cisco/trex/stateful/model/FlowInfoData.java

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,71 @@
11
package com.cisco.trex.stateful.model;
22

3-
import com.fasterxml.jackson.annotation.JsonProperty;
3+
import com.google.gson.annotations.SerializedName;
44

55
/** counters for flow info */
66
public class FlowInfoData {
77

8-
@JsonProperty("duration")
8+
@SerializedName("duration")
99
private double duration;
1010

11-
@JsonProperty("last_data_recv")
11+
@SerializedName("last_data_recv")
1212
private long lastDataRecv;
1313

14-
@JsonProperty("options")
14+
@SerializedName("options")
1515
private String options;
1616

17-
@JsonProperty("origin")
17+
@SerializedName("origin")
1818
private String origin;
1919

20-
@JsonProperty("rcv_mss")
20+
@SerializedName("rcv_mss")
2121
private long rcvMss;
2222

23-
@JsonProperty("rcv_nxt")
23+
@SerializedName("rcv_nxt")
2424
private long rcvNxt;
2525

26-
@JsonProperty("rcv_ooopack")
26+
@SerializedName("rcv_ooopack")
2727
private long rcvOoopack;
2828

29-
@JsonProperty("rcv_space")
29+
@SerializedName("rcv_space")
3030
private long rcvSpace;
3131

32-
@JsonProperty("rcv_wscale")
32+
@SerializedName("rcv_wscale")
3333
private short rcvWscale;
3434

35-
@JsonProperty("rto")
35+
@SerializedName("rto")
3636
private long rto;
3737

38-
@JsonProperty("rtt")
38+
@SerializedName("rtt")
3939
private long rtt;
4040

41-
@JsonProperty("rttvar")
41+
@SerializedName("rttvar")
4242
private long rttvar;
4343

44-
@JsonProperty("snd_cwnd")
44+
@SerializedName("snd_cwnd")
4545
private long sndCwnd;
4646

47-
@JsonProperty("snd_mss")
47+
@SerializedName("snd_mss")
4848
private long sndMss;
4949

50-
@JsonProperty("snd_nxt")
50+
@SerializedName("snd_nxt")
5151
private long sndNxt;
5252

53-
@JsonProperty("snd_rexmitpack")
53+
@SerializedName("snd_rexmitpack")
5454
private long sndRexmitpack;
5555

56-
@JsonProperty("snd_ssthresh")
56+
@SerializedName("snd_ssthresh")
5757
private long sndSsthresh;
5858

59-
@JsonProperty("snd_wnd")
59+
@SerializedName("snd_wnd")
6060
private long sndWnd;
6161

62-
@JsonProperty("snd_wscale")
62+
@SerializedName("snd_wscale")
6363
private short sndWscale;
6464

65-
@JsonProperty("snd_zerowin")
65+
@SerializedName("snd_zerowin")
6666
private long sndZerowin;
6767

68-
@JsonProperty("state")
68+
@SerializedName("state")
6969
private long state;
7070

7171
public double getDuration() {

0 commit comments

Comments
 (0)