Class LibpodInfo

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class LibpodInfo extends Object implements Serializable
Info is the overall struct that describes the host system running libpod/podman
See Also:
  • Field Details

  • Constructor Details

    • LibpodInfo

      public LibpodInfo()
  • Method Details

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

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