Class BindOptions

java.lang.Object
io.github.alersrt.pod4j.openapi.model.BindOptions

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]", comments="Generator version: 7.7.0") public class BindOptions extends Object
BindOptions
  • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element 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