Class SecurityInfo

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SecurityInfo extends Object implements Serializable
SecurityInfo describes the libpod host
See Also:
  • Field Details

  • Constructor Details

    • SecurityInfo

      public SecurityInfo()
  • Method Details

    • 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
    • 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 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
    • toJson

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