Class Capability

java.lang.Object
ai.reveng.model.Capability

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Capability extends Object
Capability
  • Field Details

  • Constructor Details

    • Capability

      public Capability()
  • Method Details

    • functionName

      public Capability functionName(@Nonnull String functionName)
    • getFunctionName

      @Nonnull public String getFunctionName()
      The name of the function with a capability
      Returns:
      functionName
    • setFunctionName

      public void setFunctionName(@Nonnull String functionName)
    • functionVaddr

      public Capability functionVaddr(@Nonnull Long functionVaddr)
    • getFunctionVaddr

      @Nonnull public Long getFunctionVaddr()
      The virtual address of the function where the capability comes from
      Returns:
      functionVaddr
    • setFunctionVaddr

      public void setFunctionVaddr(@Nonnull Long functionVaddr)
    • capabilities

      public Capability capabilities(@Nonnull List<String> capabilities)
    • addCapabilitiesItem

      public Capability addCapabilitiesItem(String capabilitiesItem)
    • getCapabilities

      @Nonnull public List<String> getCapabilities()
      The list of capabilities associated with the function
      Returns:
      capabilities
    • setCapabilities

      public void setCapabilities(@Nonnull List<String> capabilities)
    • putAdditionalProperty

      public Capability putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the Capability instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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 Capability
    • fromJson

      public static Capability fromJson(String jsonString) throws IOException
      Create an instance of Capability given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of Capability
      Throws:
      IOException - if the JSON string is invalid with respect to Capability
    • toJson

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