16 package org.openkilda.messaging.info.stats;
21 import com.fasterxml.jackson.annotation.JsonInclude;
22 import com.fasterxml.jackson.annotation.JsonProperty;
23 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
25 import java.util.List;
30 @JsonInclude(JsonInclude.Include.NON_NULL)
37 private static final long serialVersionUID = 1L;
39 @JsonProperty(
"switch_id")
43 private List<PortStatsReply> stats;
46 @JsonProperty(
"stats") List<PortStatsReply> switchStats) {
47 this.switchId = switchId;
48 this.stats = switchStats;
List< PortStatsReply > getStats()
PortStatsData(@JsonProperty("switch_id") SwitchId switchId, @JsonProperty("stats") List< PortStatsReply > switchStats)