Class ContainerStore
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ContainerStore
@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 ContainerStore
extends Object
ContainerStore describes the quantity of containers in the store by status
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ContainerStoreCreate an instance of ContainerStore given an JSON stringGet numberGet pausedGet runningGet stoppedinthashCode()voidvoidvoidsetRunning(Long running) voidsetStopped(Long stopped) toJson()Convert an instance of ContainerStore 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_NUMBER
- See Also:
-
SERIALIZED_NAME_PAUSED
- See Also:
-
SERIALIZED_NAME_RUNNING
- See Also:
-
SERIALIZED_NAME_STOPPED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ContainerStore
public ContainerStore()
-
-
Method Details
-
number
-
getNumber
Get number- Returns:
- number
-
setNumber
-
paused
-
getPaused
Get paused- Returns:
- paused
-
setPaused
-
running
-
getRunning
Get running- Returns:
- running
-
setRunning
-
stopped
-
getStopped
Get stopped- Returns:
- stopped
-
setStopped
-
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 ContainerStore
-
fromJson
Create an instance of ContainerStore given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ContainerStore
- Throws:
IOException- if the JSON string is invalid with respect to ContainerStore
-
toJson
Convert an instance of ContainerStore to an JSON string- Returns:
- JSON string
-