com.cisco.trex.stateless.model.stats.Utilization Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trex-java-sdk Show documentation
Show all versions of trex-java-sdk Show documentation
Java client SDK provides an implementation for TRex RPC APIs
package com.cisco.trex.stateless.model.stats;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Utilization {
@JsonProperty("cpu")
private List cpu = new ArrayList<>();
@JsonProperty("mbuf_stats")
private Map>> mbufStats = new HashMap<>();
@JsonProperty("cpu")
public List getCpu() {
return cpu;
}
@JsonProperty("cpu")
public void setCpu(final List cpu) {
this.cpu = cpu;
}
@JsonProperty("mbuf_stats")
public Map>> getMbufStats() {
return mbufStats;
}
@JsonProperty("mbuf_stats")
public void setMbufStats(final Map>> mbufStats) {
this.mbufStats = mbufStats;
}
}