Class LibpodInfo

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

@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 LibpodInfo extends Object
Info is the overall struct that describes the host system running libpod/podman
  • Field Details

  • Constructor Details

    • LibpodInfo

      public LibpodInfo()
  • 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 LibpodInfo
    • fromJson

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

      public LibpodInfo host(HostInfo host)
    • getHost

      @Nullable @Valid public @Valid HostInfo getHost()
      Get host
      Returns:
      host
    • setHost

      public void setHost(HostInfo host)
    • plugins

      public LibpodInfo plugins(Plugins plugins)
    • getPlugins

      @Nullable @Valid public @Valid Plugins getPlugins()
      Get plugins
      Returns:
      plugins
    • setPlugins

      public void setPlugins(Plugins plugins)
    • registries

      public LibpodInfo registries(Map<String,Object> registries)
    • putRegistriesItem

      public LibpodInfo putRegistriesItem(String key, Object registriesItem)
    • getRegistries

      @Nullable public Map<String,Object> getRegistries()
      Get registries
      Returns:
      registries
    • setRegistries

      public void setRegistries(Map<String,Object> registries)
    • store

      public LibpodInfo store(StoreInfo store)
    • getStore

      @Nullable @Valid public @Valid StoreInfo getStore()
      Get store
      Returns:
      store
    • setStore

      public void setStore(StoreInfo store)
    • version

      public LibpodInfo version(Version version)
    • getVersion

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

      public void setVersion(Version 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
    • toJson

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