Class ListPodsReport
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ListPodsReport
@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 ListPodsReport
extends Object
ListPodsReport
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContainersItem(ListPodContainer containersItem) addNetworksItem(String networksItem) containers(List<ListPodContainer> containers) created(OffsetDateTime created) booleanstatic ListPodsReportCreate an instance of ListPodsReport given an JSON stringGet cgroupGet containersGet createdgetId()Get idGet infraIdGet labelsgetName()Get nameGet namespaceNetwork names connected to infra containerGet statusinthashCode()putLabelsItem(String key, String labelsItem) voidvoidsetContainers(List<ListPodContainer> containers) voidsetCreated(OffsetDateTime created) voidvoidsetInfraId(String infraId) voidvoidvoidsetNamespace(String namespace) voidsetNetworks(List<String> networks) voidtoJson()Convert an instance of ListPodsReport 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_CGROUP
- See Also:
-
SERIALIZED_NAME_CONTAINERS
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_INFRA_ID
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
SERIALIZED_NAME_NETWORKS
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListPodsReport
public ListPodsReport()
-
-
Method Details
-
cgroup
-
getCgroup
Get cgroup- Returns:
- cgroup
-
setCgroup
-
containers
-
addContainersItem
-
getContainers
Get containers- Returns:
- containers
-
setContainers
-
created
-
getCreated
Get created- Returns:
- created
-
setCreated
-
id
-
getId
Get id- Returns:
- id
-
setId
-
infraId
-
getInfraId
Get infraId- Returns:
- infraId
-
setInfraId
-
labels
-
putLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
name
-
getName
Get name- Returns:
- name
-
setName
-
namespace
-
getNamespace
Get namespace- Returns:
- namespace
-
setNamespace
-
networks
-
addNetworksItem
-
getNetworks
Network names connected to infra container- Returns:
- networks
-
setNetworks
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
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 ListPodsReport
-
fromJson
Create an instance of ListPodsReport given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListPodsReport
- Throws:
IOException- if the JSON string is invalid with respect to ListPodsReport
-
toJson
Convert an instance of ListPodsReport to an JSON string- Returns:
- JSON string
-