Class BindOptions

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

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

  • Constructor Details

    • BindOptions

      public BindOptions()
  • Method Details

    • createMountpoint

      public BindOptions createMountpoint(Boolean createMountpoint)
    • getCreateMountpoint

      @Nullable public Boolean getCreateMountpoint()
      Get createMountpoint
      Returns:
      createMountpoint
    • setCreateMountpoint

      public void setCreateMountpoint(Boolean createMountpoint)
    • nonRecursive

      public BindOptions nonRecursive(Boolean nonRecursive)
    • getNonRecursive

      @Nullable public Boolean getNonRecursive()
      Get nonRecursive
      Returns:
      nonRecursive
    • setNonRecursive

      public void setNonRecursive(Boolean nonRecursive)
    • propagation

      public BindOptions propagation(String propagation)
    • getPropagation

      @Nullable public String getPropagation()
      Get propagation
      Returns:
      propagation
    • setPropagation

      public void setPropagation(String propagation)
    • readOnlyForceRecursive

      public BindOptions readOnlyForceRecursive(Boolean readOnlyForceRecursive)
    • getReadOnlyForceRecursive

      @Nullable public Boolean getReadOnlyForceRecursive()
      ReadOnlyForceRecursive raises an error if the mount cannot be made recursively read-only.
      Returns:
      readOnlyForceRecursive
    • setReadOnlyForceRecursive

      public void setReadOnlyForceRecursive(Boolean readOnlyForceRecursive)
    • readOnlyNonRecursive

      public BindOptions readOnlyNonRecursive(Boolean readOnlyNonRecursive)
    • getReadOnlyNonRecursive

      @Nullable public Boolean getReadOnlyNonRecursive()
      ReadOnlyNonRecursive makes the mount non-recursively read-only, but still leaves the mount recursive (unless NonRecursive is set to true in conjunction).
      Returns:
      readOnlyNonRecursive
    • setReadOnlyNonRecursive

      public void setReadOnlyNonRecursive(Boolean readOnlyNonRecursive)
    • 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 BindOptions
    • fromJson

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

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