Class SlirpInfo

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SlirpInfo extends Object implements Serializable
SlirpInfo describes the slirp executable that is being used
See Also:
  • Field Details

  • Constructor Details

    • SlirpInfo

      public SlirpInfo()
  • Method Details

    • executable

      public SlirpInfo executable(String executable)
    • getExecutable

      @Nullable public String getExecutable()
      Get executable
      Returns:
      executable
    • setExecutable

      public void setExecutable(String executable)
    • _package

      public SlirpInfo _package(String _package)
    • getPackage

      @Nullable public String getPackage()
      Get _package
      Returns:
      _package
    • setPackage

      public void setPackage(String _package)
    • version

      public SlirpInfo version(String version)
    • getVersion

      @Nullable public String getVersion()
      Get version
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • 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 SlirpInfo
    • fromJson

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

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