Class InspectPodContainerInfo
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectPodContainerInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class InspectPodContainerInfo
extends Object
InspectPodContainerInfo
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic InspectPodContainerInfoCreate an instance of InspectPodContainerInfo given an JSON stringgetId()ID is the ID of the container.getName()Name is the name of the container.getState()State is the current status of the container.inthashCode()voidvoidvoidtoJson()Convert an instance of InspectPodContainerInfo 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_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InspectPodContainerInfo
public InspectPodContainerInfo()
-
-
Method Details
-
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 InspectPodContainerInfo
-
fromJson
Create an instance of InspectPodContainerInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InspectPodContainerInfo
- Throws:
IOException- if the JSON string is invalid with respect to InspectPodContainerInfo
-
id
-
getId
ID is the ID of the container.- Returns:
- id
-
setId
-
name
-
getName
Name is the name of the container.- Returns:
- name
-
setName
-
state
-
getState
State is the current status of the container.- Returns:
- state
-
setState
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of InspectPodContainerInfo to an JSON string- Returns:
- JSON string
-