com.github.dockerjava.api.model.StatisticNetworksConfig Maven / Gradle / Ivy
package com.github.dockerjava.api.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import javax.annotation.CheckForNull;
import java.io.Serializable;
/**
* Used in {@link Statistics}
*
* @author Yuting Liu
*/
@EqualsAndHashCode
@ToString
public class StatisticNetworksConfig extends DockerObject implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("rx_bytes")
private Long rxBytes;
@JsonProperty("rx_dropped")
private Long rxDropped;
@JsonProperty("rx_errors")
private Long rxErrors;
@JsonProperty("rx_packets")
private Long rxPackets;
@JsonProperty("tx_bytes")
private Long txBytes;
@JsonProperty("tx_dropped")
private Long txDropped;
@JsonProperty("tx_errors")
private Long txErrors;
@JsonProperty("tx_packets")
private Long txPackets;
/**
* @see #rxBytes
*/
@CheckForNull
public Long getRxBytes() {
return rxBytes;
}
/**
* @see #rxDropped
*/
@CheckForNull
public Long getRxDropped() {
return rxDropped;
}
/**
* @see #rxErrors
*/
@CheckForNull
public Long getRxErrors() {
return rxErrors;
}
/**
* @see #rxPackets
*/
@CheckForNull
public Long getRxPackets() {
return rxPackets;
}
/**
* @see #txBytes
*/
@CheckForNull
public Long getTxBytes() {
return txBytes;
}
/**
* @see #txDropped
*/
@CheckForNull
public Long getTxDropped() {
return txDropped;
}
/**
* @see #txErrors
*/
@CheckForNull
public Long getTxErrors() {
return txErrors;
}
/**
* @see #txPackets
*/
@CheckForNull
public Long getTxPackets() {
return txPackets;
}
}