Class LinuxRdma
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxRdma
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LinuxRdma
extends Object
implements Serializable
LinuxRdma for Linux cgroup 'rdma' resource management (Linux 4.11)
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LinuxRdmaCreate an instance of LinuxRdma given an JSON stringMaximum number of HCA handles that can be opened.Maximum number of HCA objects that can be created.inthashCode()hcaHandles(Integer hcaHandles) hcaObjects(Integer hcaObjects) voidsetHcaHandles(Integer hcaHandles) voidsetHcaObjects(Integer hcaObjects) toJson()Convert an instance of LinuxRdma 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_HCA_HANDLES
- See Also:
-
SERIALIZED_NAME_HCA_OBJECTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LinuxRdma
public LinuxRdma()
-
-
Method Details
-
hcaHandles
-
getHcaHandles
Maximum number of HCA handles that can be opened. Default is \"no limit\".- Returns:
- hcaHandles
-
setHcaHandles
-
hcaObjects
-
getHcaObjects
Maximum number of HCA objects that can be created. Default is \"no limit\".- Returns:
- hcaObjects
-
setHcaObjects
-
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 LinuxRdma
-
fromJson
Create an instance of LinuxRdma given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LinuxRdma
- Throws:
IOException- if the JSON string is invalid with respect to LinuxRdma
-
toJson
Convert an instance of LinuxRdma to an JSON string- Returns:
- JSON string
-