Class SecurityInfo

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]", comments="Generator version: 7.7.0") public class SecurityInfo extends Object
SecurityInfo describes the libpod host
  • Field Details

  • Constructor Details

    • SecurityInfo

      public SecurityInfo()
  • Method Details

    • 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 SecurityInfo
    • fromJson

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

      public SecurityInfo apparmorEnabled(Boolean apparmorEnabled)
    • getApparmorEnabled

      @Nullable public Boolean getApparmorEnabled()
      Get apparmorEnabled
      Returns:
      apparmorEnabled
    • setApparmorEnabled

      public void setApparmorEnabled(Boolean apparmorEnabled)
    • capabilities

      public SecurityInfo capabilities(String capabilities)
    • getCapabilities

      @Nullable public String getCapabilities()
      Get capabilities
      Returns:
      capabilities
    • setCapabilities

      public void setCapabilities(String capabilities)
    • rootless

      public SecurityInfo rootless(Boolean rootless)
    • getRootless

      @Nullable public Boolean getRootless()
      Get rootless
      Returns:
      rootless
    • setRootless

      public void setRootless(Boolean rootless)
    • seccompEnabled

      public SecurityInfo seccompEnabled(Boolean seccompEnabled)
    • getSeccompEnabled

      @Nullable public Boolean getSeccompEnabled()
      Get seccompEnabled
      Returns:
      seccompEnabled
    • setSeccompEnabled

      public void setSeccompEnabled(Boolean seccompEnabled)
    • seccompProfilePath

      public SecurityInfo seccompProfilePath(String seccompProfilePath)
    • getSeccompProfilePath

      @Nullable public String getSeccompProfilePath()
      Get seccompProfilePath
      Returns:
      seccompProfilePath
    • setSeccompProfilePath

      public void setSeccompProfilePath(String seccompProfilePath)
    • selinuxEnabled

      public SecurityInfo selinuxEnabled(Boolean selinuxEnabled)
    • getSelinuxEnabled

      @Nullable public Boolean getSelinuxEnabled()
      Get selinuxEnabled
      Returns:
      selinuxEnabled
    • setSelinuxEnabled

      public void setSelinuxEnabled(Boolean selinuxEnabled)
    • 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
    • toJson

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