Class POSIXRlimit
java.lang.Object
io.github.alersrt.pod4j.openapi.model.POSIXRlimit
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class POSIXRlimit
extends Object
POSIXRlimit type and restrictions
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic POSIXRlimitCreate an instance of POSIXRlimit given an JSON stringgetHard()Hard is the hard limit for the specified typegetSoft()Soft is the soft limit for the specified typegetType()Type of the rlimit to setinthashCode()voidvoidvoidtoJson()Convert an instance of POSIXRlimit 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_HARD
- See Also:
-
SERIALIZED_NAME_SOFT
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
POSIXRlimit
public POSIXRlimit()
-
-
Method Details
-
hard
-
getHard
Hard is the hard limit for the specified type- Returns:
- hard
-
setHard
-
soft
-
getSoft
Soft is the soft limit for the specified type- Returns:
- soft
-
setSoft
-
type
-
getType
Type of the rlimit to set- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-
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 POSIXRlimit
-
fromJson
Create an instance of POSIXRlimit given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of POSIXRlimit
- Throws:
IOException- if the JSON string is invalid with respect to POSIXRlimit
-
toJson
Convert an instance of POSIXRlimit to an JSON string- Returns:
- JSON string
-