Class ContainerJSON
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ContainerJSON
@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 ContainerJSON
extends Object
ContainerJSON is newly used struct along with MountPoint
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArgsItem(String argsItem) addExecIDsItem(String execIDsItem) addMountsItem(MountPoint mountsItem) appArmorProfile(String appArmorProfile) booleanstatic ContainerJSONCreate an instance of ContainerJSON given an JSON stringGet appArmorProfilegetArgs()Get args@Valid ConfigGet configGet createdGet driverGet execIDs@Valid GraphDriverDataGet graphDriver@Valid HostConfigGet hostConfigGet hostnamePathGet hostsPathgetId()Get idgetImage()Get imageGet logPathGet mountLabel@Valid List<@Valid MountPoint>Get mountsgetName()Get name@Valid NetworkSettingsGet networkSettings@Valid ContainerNodegetNode()Get nodegetPath()Get pathGet platformGet processLabelGet resolvConfPathGet restartCountGet sizeRootFsGet sizeRw@Valid ContainerStategetState()Get stategraphDriver(GraphDriverData graphDriver) inthashCode()hostConfig(HostConfig hostConfig) hostnamePath(String hostnamePath) mountLabel(String mountLabel) mounts(List<@Valid MountPoint> mounts) networkSettings(NetworkSettings networkSettings) node(ContainerNode node) processLabel(String processLabel) resolvConfPath(String resolvConfPath) restartCount(Long restartCount) voidsetAppArmorProfile(String appArmorProfile) voidvoidvoidsetCreated(String created) voidvoidsetExecIDs(List<String> execIDs) voidsetGraphDriver(GraphDriverData graphDriver) voidsetHostConfig(HostConfig hostConfig) voidsetHostnamePath(String hostnamePath) voidsetHostsPath(String hostsPath) voidvoidvoidsetLogPath(String logPath) voidsetMountLabel(String mountLabel) voidsetMounts(List<@Valid MountPoint> mounts) voidvoidsetNetworkSettings(NetworkSettings networkSettings) voidsetNode(ContainerNode node) voidvoidsetPlatform(String platform) voidsetProcessLabel(String processLabel) voidsetResolvConfPath(String resolvConfPath) voidsetRestartCount(Long restartCount) voidsetSizeRootFs(Long sizeRootFs) voidvoidsetState(ContainerState state) sizeRootFs(Long sizeRootFs) state(ContainerState state) toJson()Convert an instance of ContainerJSON 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_APP_ARMOR_PROFILE
- See Also:
-
SERIALIZED_NAME_ARGS
- See Also:
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_DRIVER
- See Also:
-
SERIALIZED_NAME_EXEC_I_DS
- See Also:
-
SERIALIZED_NAME_GRAPH_DRIVER
- See Also:
-
SERIALIZED_NAME_HOST_CONFIG
- See Also:
-
SERIALIZED_NAME_HOSTNAME_PATH
- See Also:
-
SERIALIZED_NAME_HOSTS_PATH
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_IMAGE
- See Also:
-
SERIALIZED_NAME_LOG_PATH
- See Also:
-
SERIALIZED_NAME_MOUNT_LABEL
- See Also:
-
SERIALIZED_NAME_MOUNTS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NETWORK_SETTINGS
- See Also:
-
SERIALIZED_NAME_NODE
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_PLATFORM
- See Also:
-
SERIALIZED_NAME_PROCESS_LABEL
- See Also:
-
SERIALIZED_NAME_RESOLV_CONF_PATH
- See Also:
-
SERIALIZED_NAME_RESTART_COUNT
- See Also:
-
SERIALIZED_NAME_SIZE_ROOT_FS
- See Also:
-
SERIALIZED_NAME_SIZE_RW
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ContainerJSON
public ContainerJSON()
-
-
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 ContainerJSON
-
fromJson
Create an instance of ContainerJSON given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ContainerJSON
- Throws:
IOException- if the JSON string is invalid with respect to ContainerJSON
-
appArmorProfile
-
getAppArmorProfile
Get appArmorProfile- Returns:
- appArmorProfile
-
setAppArmorProfile
-
args
-
addArgsItem
-
getArgs
Get args- Returns:
- args
-
setArgs
-
config
-
getConfig
Get config- Returns:
- config
-
setConfig
-
created
-
getCreated
Get created- Returns:
- created
-
setCreated
-
driver
-
getDriver
Get driver- Returns:
- driver
-
setDriver
-
execIDs
-
addExecIDsItem
-
getExecIDs
Get execIDs- Returns:
- execIDs
-
setExecIDs
-
graphDriver
-
getGraphDriver
Get graphDriver- Returns:
- graphDriver
-
setGraphDriver
-
hostConfig
-
getHostConfig
Get hostConfig- Returns:
- hostConfig
-
setHostConfig
-
hostnamePath
-
getHostnamePath
Get hostnamePath- Returns:
- hostnamePath
-
setHostnamePath
-
hostsPath
-
getHostsPath
Get hostsPath- Returns:
- hostsPath
-
setHostsPath
-
id
-
getId
Get id- Returns:
- id
-
setId
-
image
-
getImage
Get image- Returns:
- image
-
setImage
-
logPath
-
getLogPath
Get logPath- Returns:
- logPath
-
setLogPath
-
mountLabel
-
getMountLabel
Get mountLabel- Returns:
- mountLabel
-
setMountLabel
-
mounts
-
addMountsItem
-
getMounts
Get mounts- Returns:
- mounts
-
setMounts
-
name
-
getName
Get name- Returns:
- name
-
setName
-
networkSettings
-
getNetworkSettings
Get networkSettings- Returns:
- networkSettings
-
setNetworkSettings
-
node
-
getNode
Get node- Returns:
- node
-
setNode
-
path
-
getPath
Get path- Returns:
- path
-
setPath
-
platform
-
getPlatform
Get platform- Returns:
- platform
-
setPlatform
-
processLabel
-
getProcessLabel
Get processLabel- Returns:
- processLabel
-
setProcessLabel
-
resolvConfPath
-
getResolvConfPath
Get resolvConfPath- Returns:
- resolvConfPath
-
setResolvConfPath
-
restartCount
-
getRestartCount
Get restartCount- Returns:
- restartCount
-
setRestartCount
-
sizeRootFs
-
getSizeRootFs
Get sizeRootFs- Returns:
- sizeRootFs
-
setSizeRootFs
-
sizeRw
-
getSizeRw
Get sizeRw- Returns:
- sizeRw
-
setSizeRw
-
state
-
getState
Get state- Returns:
- state
-
setState
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of ContainerJSON to an JSON string- Returns:
- JSON string
-