Class PodStatsReport
java.lang.Object
io.github.alersrt.pod4j.openapi.model.PodStatsReport
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PodStatsReport
extends Object
implements Serializable
PodStatsReport
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PodStatsReportCreate an instance of PodStatsReport given an JSON stringHumanized disk usage read + writegetCID()Container IDgetCPU()Percentage of CPU utilized by podgetMem()Percentage of Memory utilized by podHumanized Memory usage and maximumMemory usage and maximum in bytesgetName()Pod NamegetNetIO()Network usage inbound + outboundgetPIDS()Container PIDgetPod()Pod IDinthashCode()memUsageBytes(String memUsageBytes) voidsetBlockIO(String blockIO) voidvoidvoidvoidsetMemUsage(String memUsage) voidsetMemUsageBytes(String memUsageBytes) voidvoidvoidvoidtoJson()Convert an instance of PodStatsReport 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_BLOCK_I_O
- See Also:
-
SERIALIZED_NAME_C_I_D
- See Also:
-
SERIALIZED_NAME_C_P_U
- See Also:
-
SERIALIZED_NAME_MEM
- See Also:
-
SERIALIZED_NAME_MEM_USAGE
- See Also:
-
SERIALIZED_NAME_MEM_USAGE_BYTES
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NET_I_O
- See Also:
-
SERIALIZED_NAME_P_I_D_S
- See Also:
-
SERIALIZED_NAME_POD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PodStatsReport
public PodStatsReport()
-
-
Method Details
-
blockIO
-
getBlockIO
Humanized disk usage read + write- Returns:
- blockIO
-
setBlockIO
-
CID
-
getCID
Container ID- Returns:
- CID
-
setCID
-
CPU
-
getCPU
Percentage of CPU utilized by pod- Returns:
- CPU
-
setCPU
-
mem
-
getMem
Percentage of Memory utilized by pod- Returns:
- mem
-
setMem
-
memUsage
-
getMemUsage
Humanized Memory usage and maximum- Returns:
- memUsage
-
setMemUsage
-
memUsageBytes
-
getMemUsageBytes
Memory usage and maximum in bytes- Returns:
- memUsageBytes
-
setMemUsageBytes
-
name
-
getName
Pod Name- Returns:
- name
-
setName
-
netIO
-
getNetIO
Network usage inbound + outbound- Returns:
- netIO
-
setNetIO
-
PIDS
-
getPIDS
Container PID- Returns:
- PIDS
-
setPIDS
-
pod
-
getPod
Pod ID- Returns:
- pod
-
setPod
-
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 PodStatsReport
-
fromJson
Create an instance of PodStatsReport given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PodStatsReport
- Throws:
IOException- if the JSON string is invalid with respect to PodStatsReport
-
toJson
Convert an instance of PodStatsReport to an JSON string- Returns:
- JSON string
-