Class LinuxPersonality
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxPersonality
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LinuxPersonality
extends Object
implements Serializable
LinuxPersonality represents the Linux personality syscall input
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFlagsItem(String flagsItem) booleanstatic LinuxPersonalityCreate an instance of LinuxPersonality given an JSON stringGet domaingetFlags()Additional flagsinthashCode()voidvoidtoJson()Convert an instance of LinuxPersonality 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_DOMAIN
- See Also:
-
SERIALIZED_NAME_FLAGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LinuxPersonality
public LinuxPersonality()
-
-
Method Details
-
domain
-
getDomain
Get domain- Returns:
- domain
-
setDomain
-
flags
-
addFlagsItem
-
getFlags
Additional flags- Returns:
- flags
-
setFlags
-
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 LinuxPersonality
-
fromJson
Create an instance of LinuxPersonality given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LinuxPersonality
- Throws:
IOException- if the JSON string is invalid with respect to LinuxPersonality
-
toJson
Convert an instance of LinuxPersonality to an JSON string- Returns:
- JSON string
-