com.cisco.trex.stateful.model.stats.LatencyStats Maven / Gradle / Ivy
package com.cisco.trex.stateful.model.stats;
import com.google.gson.annotations.SerializedName;
public class LatencyStats {
/**
* For the structure of this data object:
*
*
* {
* "cpu_util": 0.0,
* "epoch": 24,
* "port-n": {
* "hist": {
* "cnt": 0,
* "high_cnt": 0,
* "histogram": [],
* "max_usec": 0,
* "min_usec": 10,
* "s_avg": 0.0,
* "s_max": 0.0
* },
* "stats": {
* "ignore_bytes": 0,
* "ipv6_n_solic": 0,
* "m_jitter": 0,
* "m_l3_cs_err": 0,
* "m_l4_cs_err": 0,
* "m_length_error": 0,
* "m_no_id": 0,
* "m_no_ipv4_option": 0,
* "m_no_magic": 0,
* "m_pkt_ok": 0,
* "m_rx_check": 0,
* "m_seq_error": 0,
* "m_tx_pkt_err": 0,
* "m_tx_pkt_ok": 11,
* "m_unsup_prot": 0,
* "tx_arp": 0
* }
* } ...
* }
*
*
* see http://trex-tgn.cisco.com/trex/doc/cp_docs/api/json_fields.html#trex-latecny-field for
* detail description.
*/
@SerializedName("data")
public LatencyData data;
@SerializedName("name")
public String name;
@SerializedName("type")
public Integer type;
@SerializedName("data")
public LatencyData getData() {
return data;
}
@SerializedName("data")
public void setData(LatencyData data) {
this.data = data;
}
@SerializedName("name")
public String getName() {
return name;
}
@SerializedName("name")
public void setName(String name) {
this.name = name;
}
@SerializedName("type")
public Integer getType() {
return type;
}
@SerializedName("type")
public void setType(Integer type) {
this.type = type;
}
}