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:
  • Field Details

  • Constructor Details

    • StoreInfo

      public StoreInfo()
  • Method Details

    • configFile

      public StoreInfo configFile(String configFile)
    • getConfigFile

      @Nullable public String getConfigFile()
      Get configFile
      Returns:
      configFile
    • setConfigFile

      public void setConfigFile(String configFile)
    • containerStore

      public StoreInfo containerStore(ContainerStore containerStore)
    • getContainerStore

      @Nullable @Valid public @Valid ContainerStore getContainerStore()
      Get containerStore
      Returns:
      containerStore
    • setContainerStore

      public void setContainerStore(ContainerStore containerStore)
    • graphDriverName

      public StoreInfo graphDriverName(String graphDriverName)
    • getGraphDriverName

      @Nullable public String getGraphDriverName()
      Get graphDriverName
      Returns:
      graphDriverName
    • setGraphDriverName

      public void setGraphDriverName(String graphDriverName)
    • graphOptions

      public StoreInfo graphOptions(Map<String,Object> graphOptions)
    • putGraphOptionsItem

      public StoreInfo putGraphOptionsItem(String key, Object graphOptionsItem)
    • getGraphOptions

      @Nullable public Map<String,Object> getGraphOptions()
      Get graphOptions
      Returns:
      graphOptions
    • setGraphOptions

      public void setGraphOptions(Map<String,Object> graphOptions)
    • graphRoot

      public StoreInfo graphRoot(String graphRoot)
    • getGraphRoot

      @Nullable public String getGraphRoot()
      Get graphRoot
      Returns:
      graphRoot
    • setGraphRoot

      public void setGraphRoot(String graphRoot)
    • graphRootAllocated

      public StoreInfo graphRootAllocated(Integer graphRootAllocated)
    • getGraphRootAllocated

      @Nullable public Integer getGraphRootAllocated()
      GraphRootAllocated is how much space the graphroot has in bytes
      Returns:
      graphRootAllocated
    • setGraphRootAllocated

      public void setGraphRootAllocated(Integer graphRootAllocated)
    • graphRootUsed

      public StoreInfo graphRootUsed(Integer graphRootUsed)
    • getGraphRootUsed

      @Nullable public Integer getGraphRootUsed()
      GraphRootUsed is how much of graphroot is used in bytes
      Returns:
      graphRootUsed
    • setGraphRootUsed

      public void setGraphRootUsed(Integer graphRootUsed)
    • graphStatus

      public StoreInfo graphStatus(Map<String,String> graphStatus)
    • putGraphStatusItem

      public StoreInfo putGraphStatusItem(String key, String graphStatusItem)
    • getGraphStatus

      @Nullable public Map<String,String> getGraphStatus()
      Get graphStatus
      Returns:
      graphStatus
    • setGraphStatus

      public void setGraphStatus(Map<String,String> graphStatus)
    • imageCopyTmpDir

      public StoreInfo imageCopyTmpDir(String imageCopyTmpDir)
    • getImageCopyTmpDir

      @Nullable public String getImageCopyTmpDir()
      Get imageCopyTmpDir
      Returns:
      imageCopyTmpDir
    • setImageCopyTmpDir

      public void setImageCopyTmpDir(String imageCopyTmpDir)
    • imageStore

      public StoreInfo imageStore(ImageStore imageStore)
    • getImageStore

      @Nullable @Valid public @Valid ImageStore getImageStore()
      Get imageStore
      Returns:
      imageStore
    • setImageStore

      public void setImageStore(ImageStore imageStore)
    • runRoot

      public StoreInfo runRoot(String runRoot)
    • getRunRoot

      @Nullable public String getRunRoot()
      Get runRoot
      Returns:
      runRoot
    • setRunRoot

      public void setRunRoot(String runRoot)
    • transientStore

      public StoreInfo transientStore(Boolean transientStore)
    • getTransientStore

      @Nullable public Boolean getTransientStore()
      Get transientStore
      Returns:
      transientStore
    • setTransientStore

      public void setTransientStore(Boolean transientStore)
    • volumePath

      public StoreInfo volumePath(String volumePath)
    • getVolumePath

      @Nullable public String getVolumePath()
      Get volumePath
      Returns:
      volumePath
    • setVolumePath

      public void setVolumePath(String volumePath)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      public static StoreInfo fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of StoreInfo to an JSON string
      Returns:
      JSON string