Class PodStatsReport
java.lang.Object
io.github.alersrt.pod4j.openapi.model.PodStatsReport
@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 PodStatsReport
extends Object
PodStatsReport
-
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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
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 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
-