package com.cisco.trex.stateful.model;

import com.fasterxml.jackson.annotation.JsonProperty;

/** counters for flow info */
public class FlowInfoData {

  @JsonProperty("duration")
  private double duration;

  @JsonProperty("last_data_recv")
  private long lastDataRecv;

  @JsonProperty("options")
  private String options;

  @JsonProperty("origin")
  private String origin;

  @JsonProperty("rcv_mss")
  private long rcvMss;

  @JsonProperty("rcv_nxt")
  private long rcvNxt;

  @JsonProperty("rcv_ooopack")
  private long rcvOoopack;

  @JsonProperty("rcv_space")
  private long rcvSpace;

  @JsonProperty("rcv_wscale")
  private short rcvWscale;

  @JsonProperty("rto")
  private long rto;

  @JsonProperty("rtt")
  private long rtt;

  @JsonProperty("rttvar")
  private long rttvar;

  @JsonProperty("snd_cwnd")
  private long sndCwnd;

  @JsonProperty("snd_mss")
  private long sndMss;

  @JsonProperty("snd_nxt")
  private long sndNxt;

  @JsonProperty("snd_rexmitpack")
  private long sndRexmitpack;

  @JsonProperty("snd_ssthresh")
  private long sndSsthresh;

  @JsonProperty("snd_wnd")
  private long sndWnd;

  @JsonProperty("snd_wscale")
  private short sndWscale;

  @JsonProperty("snd_zerowin")
  private long sndZerowin;

  @JsonProperty("state")
  private long state;

  public double getDuration() {
    return duration;
  }

  public long getLastDataRecv() {
    return lastDataRecv;
  }

  public String getOptions() {
    return options;
  }

  public String getOrigin() {
    return origin;
  }

  public long getRcvMss() {
    return rcvMss;
  }

  public long getRcvNxt() {
    return rcvNxt;
  }

  public long getRcvOoopack() {
    return rcvOoopack;
  }

  public long getRcvSpace() {
    return rcvSpace;
  }

  public short getRcvWscale() {
    return rcvWscale;
  }

  public long getRto() {
    return rto;
  }

  public long getRtt() {
    return rtt;
  }

  public long getRttvar() {
    return rttvar;
  }

  public long getSndCwnd() {
    return sndCwnd;
  }

  public long getSndMss() {
    return sndMss;
  }

  public long getSndNxt() {
    return sndNxt;
  }

  public long getSndRexmitpack() {
    return sndRexmitpack;
  }

  public long getSndSsthresh() {
    return sndSsthresh;
  }

  public long getSndWnd() {
    return sndWnd;
  }

  public short getSndWscale() {
    return sndWscale;
  }

  public long getSndZerowin() {
    return sndZerowin;
  }

  public long getState() {
    return state;
  }
}

@@ -48,49 +48,46 @@
 com.
-fasterxml.jackson.annotation.JsonProperty
+google.gson.annotations.SerializedName
 ;%0A%0A/
@@ -147,28 +147,30 @@
 a %7B%0A%0A  @
-JsonProperty
+SerializedName
 (%22durati
@@ -205,28 +205,30 @@
 on;%0A%0A  @
-JsonProperty
+SerializedName
 (%22last_d
@@ -271,28 +271,30 @@
 cv;%0A%0A  @
-JsonProperty
+SerializedName
 (%22option
@@ -327,28 +327,30 @@
 ns;%0A%0A  @
-JsonProperty
+SerializedName
 (%22origin
@@ -377,36 +377,38 @@
 origin;%0A%0A  @
-JsonProperty
+SerializedName
 (%22rcv_mss%22)%0A
@@ -430,36 +430,38 @@
 rcvMss;%0A%0A  @
-JsonProperty
+SerializedName
 (%22rcv_nxt%22)%0A
@@ -483,36 +483,38 @@
 rcvNxt;%0A%0A  @
-JsonProperty
+SerializedName
 (%22rcv_ooopac
@@ -544,36 +544,38 @@
 oopack;%0A%0A  @
-JsonProperty
+SerializedName
 (%22rcv_space%22
@@ -605,28 +605,30 @@
 ce;%0A%0A  @
-JsonProperty
+SerializedName
 (%22rcv_ws
@@ -661,36 +661,38 @@
 Wscale;%0A%0A  @
-JsonProperty
+SerializedName
 (%22rto%22)%0A  pr
@@ -707,36 +707,38 @@
 ng rto;%0A%0A  @
-JsonProperty
+SerializedName
 (%22rtt%22)%0A  pr
@@ -757,28 +757,30 @@
 tt;%0A%0A  @
-JsonProperty
+SerializedName
 (%22rttvar
@@ -805,36 +805,38 @@
 rttvar;%0A%0A  @
-JsonProperty
+SerializedName
 (%22snd_cwnd%22)
@@ -860,36 +860,38 @@
 ndCwnd;%0A%0A  @
-JsonProperty
+SerializedName
 (%22snd_mss%22)%0A
@@ -913,36 +913,38 @@
 sndMss;%0A%0A  @
-JsonProperty
+SerializedName
 (%22snd_nxt%22)%0A
@@ -966,36 +966,38 @@
 sndNxt;%0A%0A  @
-JsonProperty
+SerializedName
 (%22snd_rexmit
@@ -1033,36 +1033,38 @@
 itpack;%0A%0A  @
-JsonProperty
+SerializedName
 (%22snd_ssthre
@@ -1096,36 +1096,38 @@
 thresh;%0A%0A  @
-JsonProperty
+SerializedName
 (%22snd_wnd%22)%0A
@@ -1149,36 +1149,38 @@
 sndWnd;%0A%0A  @
-JsonProperty
+SerializedName
 (%22snd_wscale
@@ -1213,28 +1213,30 @@
 le;%0A%0A  @
-JsonProperty
+SerializedName
 (%22snd_ze
@@ -1278,20 +1278,22 @@
 %0A  @
-JsonProperty
+SerializedName
 (%22st

replace json property annotation in FlowInfoData