Class ContainerNetworkStats
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ContainerNetworkStats
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ContainerNetworkStats
extends Object
implements Serializable
Statistics for an individual container network interface
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ContainerNetworkStatsCreate an instance of ContainerNetworkStats given an JSON stringGet rxBytesGet rxDroppedGet rxErrorsGet rxPacketsGet txBytesGet txDroppedGet txErrorsGet txPacketsinthashCode()voidsetRxBytes(Integer rxBytes) voidsetRxDropped(Integer rxDropped) voidsetRxErrors(Integer rxErrors) voidsetRxPackets(Integer rxPackets) voidsetTxBytes(Integer txBytes) voidsetTxDropped(Integer txDropped) voidsetTxErrors(Integer txErrors) voidsetTxPackets(Integer txPackets) toJson()Convert an instance of ContainerNetworkStats to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_RX_BYTES
- See Also:
-
SERIALIZED_NAME_RX_DROPPED
- See Also:
-
SERIALIZED_NAME_RX_ERRORS
- See Also:
-
SERIALIZED_NAME_RX_PACKETS
- See Also:
-
SERIALIZED_NAME_TX_BYTES
- See Also:
-
SERIALIZED_NAME_TX_DROPPED
- See Also:
-
SERIALIZED_NAME_TX_ERRORS
- See Also:
-
SERIALIZED_NAME_TX_PACKETS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ContainerNetworkStats
public ContainerNetworkStats()
-
-
Method Details
-
rxBytes
-
getRxBytes
Get rxBytes- Returns:
- rxBytes
-
setRxBytes
-
rxDropped
-
getRxDropped
Get rxDropped- Returns:
- rxDropped
-
setRxDropped
-
rxErrors
-
getRxErrors
Get rxErrors- Returns:
- rxErrors
-
setRxErrors
-
rxPackets
-
getRxPackets
Get rxPackets- Returns:
- rxPackets
-
setRxPackets
-
txBytes
-
getTxBytes
Get txBytes- Returns:
- txBytes
-
setTxBytes
-
txDropped
-
getTxDropped
Get txDropped- Returns:
- txDropped
-
setTxDropped
-
txErrors
-
getTxErrors
Get txErrors- Returns:
- txErrors
-
setTxErrors
-
txPackets
-
getTxPackets
Get txPackets- Returns:
- txPackets
-
setTxPackets
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ContainerNetworkStats
-
fromJson
Create an instance of ContainerNetworkStats given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ContainerNetworkStats
- Throws:
IOException- if the JSON string is invalid with respect to ContainerNetworkStats
-
toJson
Convert an instance of ContainerNetworkStats to an JSON string- Returns:
- JSON string
-