Class SecurityInfo
java.lang.Object
io.github.alersrt.pod4j.openapi.model.SecurityInfo
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class SecurityInfo
extends Object
implements Serializable
SecurityInfo describes the libpod host
- See Also:
-
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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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
-
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 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
-
toJson
Convert an instance of SecurityInfo to an JSON string- Returns:
- JSON string
-