java.lang.Object
io.github.alersrt.pod4j.openapi.model.Mount
All Implemented Interfaces:
Serializable

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Mount extends Object implements Serializable
Mount
See Also:
  • Field Details

  • Constructor Details

    • Mount

      public Mount()
  • Method Details

    • bindOptions

      public Mount bindOptions(BindOptions bindOptions)
    • getBindOptions

      @Nullable @Valid public @Valid BindOptions getBindOptions()
      Get bindOptions
      Returns:
      bindOptions
    • setBindOptions

      public void setBindOptions(BindOptions bindOptions)
    • clusterOptions

      public Mount clusterOptions(Object clusterOptions)
    • getClusterOptions

      @Nullable public Object getClusterOptions()
      Get clusterOptions
      Returns:
      clusterOptions
    • setClusterOptions

      public void setClusterOptions(Object clusterOptions)
    • consistency

      public Mount consistency(String consistency)
    • getConsistency

      @Nullable public String getConsistency()
      Get consistency
      Returns:
      consistency
    • setConsistency

      public void setConsistency(String consistency)
    • readOnly

      public Mount readOnly(Boolean readOnly)
    • getReadOnly

      @Nullable public Boolean getReadOnly()
      Get readOnly
      Returns:
      readOnly
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
    • source

      public Mount source(String source)
    • getSource

      @Nullable public String getSource()
      Source specifies the name of the mount. Depending on mount type, this may be a volume name or a host path, or even ignored. Source is not supported for tmpfs (must be an empty value)
      Returns:
      source
    • setSource

      public void setSource(String source)
    • target

      public Mount target(String target)
    • getTarget

      @Nullable public String getTarget()
      Get target
      Returns:
      target
    • setTarget

      public void setTarget(String target)
    • tmpfsOptions

      public Mount tmpfsOptions(TmpfsOptions tmpfsOptions)
    • getTmpfsOptions

      @Nullable @Valid public @Valid TmpfsOptions getTmpfsOptions()
      Get tmpfsOptions
      Returns:
      tmpfsOptions
    • setTmpfsOptions

      public void setTmpfsOptions(TmpfsOptions tmpfsOptions)
    • type

      public Mount type(String type)
    • getType

      @Nullable public String getType()
      Get type
      Returns:
      type
    • setType

      public void setType(String type)
    • volumeOptions

      public Mount volumeOptions(VolumeOptions volumeOptions)
    • getVolumeOptions

      @Nullable @Valid public @Valid VolumeOptions getVolumeOptions()
      Get volumeOptions
      Returns:
      volumeOptions
    • setVolumeOptions

      public void setVolumeOptions(VolumeOptions volumeOptions)
    • 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 Mount
    • fromJson

      public static Mount fromJson(String jsonString) throws IOException
      Create an instance of Mount given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of Mount
      Throws:
      IOException - if the JSON string is invalid with respect to Mount
    • toJson

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