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:
  • Field Details

  • Constructor Details

    • LinuxRdma

      public LinuxRdma()
  • Method Details

    • hcaHandles

      public LinuxRdma hcaHandles(Integer hcaHandles)
    • getHcaHandles

      @Nullable public Integer getHcaHandles()
      Maximum number of HCA handles that can be opened. Default is \"no limit\".
      Returns:
      hcaHandles
    • setHcaHandles

      public void setHcaHandles(Integer hcaHandles)
    • hcaObjects

      public LinuxRdma hcaObjects(Integer hcaObjects)
    • getHcaObjects

      @Nullable public Integer getHcaObjects()
      Maximum number of HCA objects that can be created. Default is \"no limit\".
      Returns:
      hcaObjects
    • setHcaObjects

      public void setHcaObjects(Integer hcaObjects)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      public static LinuxRdma fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of LinuxRdma to an JSON string
      Returns:
      JSON string