package io.wdd.rpc.status.beans;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@NoArgsConstructor
@Data
@AllArgsConstructor
@SuperBuilder(toBuilder = true)
public class NetworkMetric {

    /**
     * name
     */
    @JsonProperty("name")
    private String name;
    /**
     * bytesSent
     */
    @JsonProperty("bytesSent")
    private Integer bytesSent;
    /**
     * bytesRecv
     */
    @JsonProperty("bytesRecv")
    private Integer bytesRecv;
    /**
     * packetsSent
     */
    @JsonProperty("packetsSent")
    private Integer packetsSent;
    /**
     * packetsRecv
     */
    @JsonProperty("packetsRecv")
    private Integer packetsRecv;
    /**
     * errin
     */
    @JsonProperty("errin")
    private Integer errin;
    /**
     * errout
     */
    @JsonProperty("errout")
    private Integer errout;
    /**
     * dropin
     */
    @JsonProperty("dropin")
    private Integer dropin;
    /**
     * dropout
     */
    @JsonProperty("dropout")
    private Integer dropout;
    /**
     * fifoin
     */
    @JsonProperty("fifoin")
    private Integer fifoin;
    /**
     * fifoout
     */
    @JsonProperty("fifoout")
    private Integer fifoout;
    /**
     * sendSpeed
     */
    @JsonProperty("SendSpeed")
    private Double sendSpeed;
    /**
     * recvSpeed
     */
    @JsonProperty("RecvSpeed")
    private Double recvSpeed;
}
