Class StoreInfo
java.lang.Object
io.github.alersrt.pod4j.openapi.model.StoreInfo
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class StoreInfo
extends Object
implements Serializable
StoreInfo describes the container storage and its attributes
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigFile(String configFile) containerStore(ContainerStore containerStore) booleanstatic StoreInfoCreate an instance of StoreInfo given an JSON stringGet configFile@Valid ContainerStoreGet containerStoreGet graphDriverNameGet graphOptionsGet graphRootGraphRootAllocated is how much space the graphroot has in bytesGraphRootUsed is how much of graphroot is used in bytesGet graphStatusGet imageCopyTmpDir@Valid ImageStoreGet imageStoreGet runRootGet transientStoreGet volumePathgraphDriverName(String graphDriverName) graphOptions(Map<String, Object> graphOptions) graphRootAllocated(Integer graphRootAllocated) graphRootUsed(Integer graphRootUsed) graphStatus(Map<String, String> graphStatus) inthashCode()imageCopyTmpDir(String imageCopyTmpDir) imageStore(ImageStore imageStore) putGraphOptionsItem(String key, Object graphOptionsItem) putGraphStatusItem(String key, String graphStatusItem) voidsetConfigFile(String configFile) voidsetContainerStore(ContainerStore containerStore) voidsetGraphDriverName(String graphDriverName) voidsetGraphOptions(Map<String, Object> graphOptions) voidsetGraphRoot(String graphRoot) voidsetGraphRootAllocated(Integer graphRootAllocated) voidsetGraphRootUsed(Integer graphRootUsed) voidsetGraphStatus(Map<String, String> graphStatus) voidsetImageCopyTmpDir(String imageCopyTmpDir) voidsetImageStore(ImageStore imageStore) voidsetRunRoot(String runRoot) voidsetTransientStore(Boolean transientStore) voidsetVolumePath(String volumePath) toJson()Convert an instance of StoreInfo to an JSON stringtoString()transientStore(Boolean transientStore) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundvolumePath(String volumePath)
-
Field Details
-
SERIALIZED_NAME_CONFIG_FILE
- See Also:
-
SERIALIZED_NAME_CONTAINER_STORE
- See Also:
-
SERIALIZED_NAME_GRAPH_DRIVER_NAME
- See Also:
-
SERIALIZED_NAME_GRAPH_OPTIONS
- See Also:
-
SERIALIZED_NAME_GRAPH_ROOT
- See Also:
-
SERIALIZED_NAME_GRAPH_ROOT_ALLOCATED
- See Also:
-
SERIALIZED_NAME_GRAPH_ROOT_USED
- See Also:
-
SERIALIZED_NAME_GRAPH_STATUS
- See Also:
-
SERIALIZED_NAME_IMAGE_COPY_TMP_DIR
- See Also:
-
SERIALIZED_NAME_IMAGE_STORE
- See Also:
-
SERIALIZED_NAME_RUN_ROOT
- See Also:
-
SERIALIZED_NAME_TRANSIENT_STORE
- See Also:
-
SERIALIZED_NAME_VOLUME_PATH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
StoreInfo
public StoreInfo()
-
-
Method Details
-
configFile
-
getConfigFile
Get configFile- Returns:
- configFile
-
setConfigFile
-
containerStore
-
getContainerStore
Get containerStore- Returns:
- containerStore
-
setContainerStore
-
graphDriverName
-
getGraphDriverName
Get graphDriverName- Returns:
- graphDriverName
-
setGraphDriverName
-
graphOptions
-
putGraphOptionsItem
-
getGraphOptions
Get graphOptions- Returns:
- graphOptions
-
setGraphOptions
-
graphRoot
-
getGraphRoot
Get graphRoot- Returns:
- graphRoot
-
setGraphRoot
-
graphRootAllocated
-
getGraphRootAllocated
GraphRootAllocated is how much space the graphroot has in bytes- Returns:
- graphRootAllocated
-
setGraphRootAllocated
-
graphRootUsed
-
getGraphRootUsed
GraphRootUsed is how much of graphroot is used in bytes- Returns:
- graphRootUsed
-
setGraphRootUsed
-
graphStatus
-
putGraphStatusItem
-
getGraphStatus
Get graphStatus- Returns:
- graphStatus
-
setGraphStatus
-
imageCopyTmpDir
-
getImageCopyTmpDir
Get imageCopyTmpDir- Returns:
- imageCopyTmpDir
-
setImageCopyTmpDir
-
imageStore
-
getImageStore
Get imageStore- Returns:
- imageStore
-
setImageStore
-
runRoot
-
getRunRoot
Get runRoot- Returns:
- runRoot
-
setRunRoot
-
transientStore
-
getTransientStore
Get transientStore- Returns:
- transientStore
-
setTransientStore
-
volumePath
-
getVolumePath
Get volumePath- Returns:
- volumePath
-
setVolumePath
-
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 StoreInfo
-
fromJson
Create an instance of StoreInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StoreInfo
- Throws:
IOException- if the JSON string is invalid with respect to StoreInfo
-
toJson
Convert an instance of StoreInfo to an JSON string- Returns:
- JSON string
-