Class ContainerSize
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ContainerSize
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ContainerSize
extends Object
implements Serializable
ContainerSize holds the size of the container's root filesystem and top read-write layer.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ContainerSizeCreate an instance of ContainerSize given an JSON stringGet rootFsSizeGet rwSizeinthashCode()rootFsSize(Long rootFsSize) voidsetRootFsSize(Long rootFsSize) voidtoJson()Convert an instance of ContainerSize 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_ROOT_FS_SIZE
- See Also:
-
SERIALIZED_NAME_RW_SIZE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ContainerSize
public ContainerSize()
-
-
Method Details
-
rootFsSize
-
getRootFsSize
Get rootFsSize- Returns:
- rootFsSize
-
setRootFsSize
-
rwSize
-
getRwSize
Get rwSize- Returns:
- rwSize
-
setRwSize
-
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 ContainerSize
-
fromJson
Create an instance of ContainerSize given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ContainerSize
- Throws:
IOException- if the JSON string is invalid with respect to ContainerSize
-
toJson
Convert an instance of ContainerSize to an JSON string- Returns:
- JSON string
-