Class LinuxPids
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxPids
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LinuxPids
extends Object
implements Serializable
LinuxPids for Linux cgroup 'pids' resource management (Linux 4.3)
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LinuxPidsCreate an instance of LinuxPids given an JSON stringgetLimit()Maximum number of PIDs.inthashCode()voidtoJson()Convert an instance of LinuxPids 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_LIMIT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LinuxPids
public LinuxPids()
-
-
Method Details
-
limit
-
getLimit
Maximum number of PIDs. Default is \"no limit\".- Returns:
- limit
-
setLimit
-
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 LinuxPids
-
fromJson
Create an instance of LinuxPids given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LinuxPids
- Throws:
IOException- if the JSON string is invalid with respect to LinuxPids
-
toJson
Convert an instance of LinuxPids to an JSON string- Returns:
- JSON string
-