All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cisco.trex.stateless.model.stats.LatencyStatErr Maven / Gradle / Ivy

There is a newer version: 1.69
Show newest version
package com.cisco.trex.stateless.model.stats;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class LatencyStatErr {
  @JsonProperty("drp")
  private long drp = 0;

  @JsonProperty("dup")
  private long dup = 0;

  @JsonProperty("ooo")
  private long ooo = 0;

  @JsonProperty("sth")
  private long sth = 0;

  @JsonProperty("stl")
  private long stl = 0;

  @JsonProperty("drp")
  public long getDrp() {
    return drp;
  }

  @JsonProperty("drp")
  public void setDrp(final long drp) {
    this.drp = drp;
  }

  @JsonProperty("dup")
  public long getDup() {
    return dup;
  }

  @JsonProperty("dup")
  public void setDup(final long dup) {
    this.dup = dup;
  }

  @JsonProperty("ooo")
  public long getOoo() {
    return ooo;
  }

  @JsonProperty("ooo")
  public void setOoo(final long ooo) {
    this.ooo = ooo;
  }

  @JsonProperty("sth")
  public long getSth() {
    return sth;
  }

  @JsonProperty("sth")
  public void setSth(final long sth) {
    this.sth = sth;
  }

  @JsonProperty("stl")
  public long getStl() {
    return stl;
  }

  @JsonProperty("stl")
  public void setStl(final long stl) {
    this.stl = stl;
  }

  @JsonIgnore
  public long getTotal() {
    return drp + dup + ooo + sth + stl;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy