Class ContainerNetworkStats
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ContainerNetworkStats
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class ContainerNetworkStats
extends Object
Statistics for an individual container network interface
-
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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element 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
-