Class ContainerStore
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ContainerStore
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ContainerStore
extends Object
implements Serializable
ContainerStore describes the quantity of containers in the store by status
- See Also:
-
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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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 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
-