Class SecurityInfo
java.lang.Object
io.github.alersrt.pod4j.openapi.model.SecurityInfo
@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 SecurityInfo
extends Object
SecurityInfo describes the libpod host
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapparmorEnabled(Boolean apparmorEnabled) capabilities(String capabilities) booleanstatic SecurityInfoCreate an instance of SecurityInfo given an JSON stringGet apparmorEnabledGet capabilitiesGet rootlessGet seccompEnabledGet seccompProfilePathGet selinuxEnabledinthashCode()seccompEnabled(Boolean seccompEnabled) seccompProfilePath(String seccompProfilePath) selinuxEnabled(Boolean selinuxEnabled) voidsetApparmorEnabled(Boolean apparmorEnabled) voidsetCapabilities(String capabilities) voidsetRootless(Boolean rootless) voidsetSeccompEnabled(Boolean seccompEnabled) voidsetSeccompProfilePath(String seccompProfilePath) voidsetSelinuxEnabled(Boolean selinuxEnabled) toJson()Convert an instance of SecurityInfo 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_APPARMOR_ENABLED
- See Also:
-
SERIALIZED_NAME_CAPABILITIES
- See Also:
-
SERIALIZED_NAME_ROOTLESS
- See Also:
-
SERIALIZED_NAME_SECCOMP_ENABLED
- See Also:
-
SERIALIZED_NAME_SECCOMP_PROFILE_PATH
- See Also:
-
SERIALIZED_NAME_SELINUX_ENABLED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SecurityInfo
public SecurityInfo()
-
-
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 SecurityInfo
-
fromJson
Create an instance of SecurityInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SecurityInfo
- Throws:
IOException- if the JSON string is invalid with respect to SecurityInfo
-
apparmorEnabled
-
getApparmorEnabled
Get apparmorEnabled- Returns:
- apparmorEnabled
-
setApparmorEnabled
-
capabilities
-
getCapabilities
Get capabilities- Returns:
- capabilities
-
setCapabilities
-
rootless
-
getRootless
Get rootless- Returns:
- rootless
-
setRootless
-
seccompEnabled
-
getSeccompEnabled
Get seccompEnabled- Returns:
- seccompEnabled
-
setSeccompEnabled
-
seccompProfilePath
-
getSeccompProfilePath
Get seccompProfilePath- Returns:
- seccompProfilePath
-
setSeccompProfilePath
-
selinuxEnabled
-
getSelinuxEnabled
Get selinuxEnabled- Returns:
- selinuxEnabled
-
setSelinuxEnabled
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of SecurityInfo to an JSON string- Returns:
- JSON string
-