Class ListContainerNamespaces
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ListContainerNamespaces
@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 ListContainerNamespaces
extends Object
ListContainerNamespaces contains the identifiers of the container's Linux namespaces
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ListContainerNamespacesCreate an instance of ListContainerNamespaces given an JSON stringCgroup namespacegetIpc()IPC namespacegetMnt()Mount namespacegetNet()Network namespacegetPidns()PID namespacegetUser()User namespacegetUts()UTS namespaceinthashCode()voidvoidvoidvoidvoidvoidvoidtoJson()Convert an instance of ListContainerNamespaces 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_CGROUP
- See Also:
-
SERIALIZED_NAME_IPC
- See Also:
-
SERIALIZED_NAME_MNT
- See Also:
-
SERIALIZED_NAME_NET
- See Also:
-
SERIALIZED_NAME_PIDNS
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
SERIALIZED_NAME_UTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListContainerNamespaces
public ListContainerNamespaces()
-
-
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 ListContainerNamespaces
-
fromJson
Create an instance of ListContainerNamespaces given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListContainerNamespaces
- Throws:
IOException- if the JSON string is invalid with respect to ListContainerNamespaces
-
cgroup
-
getCgroup
Cgroup namespace- Returns:
- cgroup
-
setCgroup
-
ipc
-
getIpc
IPC namespace- Returns:
- ipc
-
setIpc
-
mnt
-
getMnt
Mount namespace- Returns:
- mnt
-
setMnt
-
net
-
getNet
Network namespace- Returns:
- net
-
setNet
-
pidns
-
getPidns
PID namespace- Returns:
- pidns
-
setPidns
-
user
-
getUser
User namespace- Returns:
- user
-
setUser
-
uts
-
getUts
UTS namespace- Returns:
- uts
-
setUts
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of ListContainerNamespaces to an JSON string- Returns:
- JSON string
-