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:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LibpodInfoCreate an instance of LibpodInfo given an JSON string@Valid HostInfogetHost()Get host@Valid PluginsGet pluginsGet registries@Valid StoreInfogetStore()Get store@Valid VersionGet versioninthashCode()putRegistriesItem(String key, Object registriesItem) registries(Map<String, Object> registries) voidvoidsetPlugins(Plugins plugins) voidsetRegistries(Map<String, Object> registries) voidvoidsetVersion(Version version) toJson()Convert an instance of LibpodInfo to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_HOST
- See Also:
-
SERIALIZED_NAME_PLUGINS
- See Also:
-
SERIALIZED_NAME_REGISTRIES
- See Also:
-
SERIALIZED_NAME_STORE
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LibpodInfo
public LibpodInfo()
-
-
Method Details
-
host
-
getHost
Get host- Returns:
- host
-
setHost
-
plugins
-
getPlugins
Get plugins- Returns:
- plugins
-
setPlugins
-
registries
-
putRegistriesItem
-
getRegistries
Get registries- Returns:
- registries
-
setRegistries
-
store
-
getStore
Get store- Returns:
- store
-
setStore
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
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
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
Convert an instance of LibpodInfo to an JSON string- Returns:
- JSON string
-