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
-
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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
validateJsonElement
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
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
-
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
-
toJson
Convert an instance of LibpodInfo to an JSON string- Returns:
- JSON string
-