Class InspectUlimit
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectUlimit
@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 InspectUlimit
extends Object
InspectUlimit
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic InspectUlimitCreate an instance of InspectUlimit given an JSON stringgetHard()Hard is the hard limit that will be applied.getName()Name is the name (type) of the ulimit.getSoft()Soft is the soft limit that will be applied.inthashCode()voidvoidvoidtoJson()Convert an instance of InspectUlimit 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_NAME
- See Also:
-
SERIALIZED_NAME_SOFT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InspectUlimit
public InspectUlimit()
-
-
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 InspectUlimit
-
fromJson
Create an instance of InspectUlimit given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InspectUlimit
- Throws:
IOException- if the JSON string is invalid with respect to InspectUlimit
-
hard
-
getHard
Hard is the hard limit that will be applied.- Returns:
- hard
-
setHard
-
name
-
getName
Name is the name (type) of the ulimit.- Returns:
- name
-
setName
-
soft
-
getSoft
Soft is the soft limit that will be applied.- Returns:
- soft
-
setSoft
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of InspectUlimit to an JSON string- Returns:
- JSON string
-