Class AddCalleeInputBody

java.lang.Object
ai.reveng.model.AddCalleeInputBody

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

  • Constructor Details

    • AddCalleeInputBody

      public AddCalleeInputBody()
  • Method Details

    • calleeFunctionId

      public AddCalleeInputBody calleeFunctionId(@Nullable Long calleeFunctionId)
    • getCalleeFunctionId

      @Nullable public Long getCalleeFunctionId()
      Internal callee function ID; 0 means not provided minimum: 0
      Returns:
      calleeFunctionId
    • setCalleeFunctionId

      public void setCalleeFunctionId(@Nullable Long calleeFunctionId)
    • calleeName

      public AddCalleeInputBody calleeName(@Nullable String calleeName)
    • getCalleeName

      @Nullable public String getCalleeName()
      Callee name (for external calls)
      Returns:
      calleeName
    • setCalleeName

      public void setCalleeName(@Nullable String calleeName)
    • calleeVaddr

      public AddCalleeInputBody calleeVaddr(@Nonnull Long calleeVaddr)
    • getCalleeVaddr

      @Nonnull public Long getCalleeVaddr()
      Virtual address of the callee
      Returns:
      calleeVaddr
    • setCalleeVaddr

      public void setCalleeVaddr(@Nonnull Long calleeVaddr)
    • isExternal

      public AddCalleeInputBody isExternal(@Nonnull Boolean isExternal)
    • getIsExternal

      @Nonnull public Boolean getIsExternal()
      Whether the callee is outside the binary
      Returns:
      isExternal
    • setIsExternal

      public void setIsExternal(@Nonnull Boolean isExternal)
    • thunkedVaddr

      public AddCalleeInputBody thunkedVaddr(@Nullable Long thunkedVaddr)
    • getThunkedVaddr

      @Nullable public Long getThunkedVaddr()
      Thunked virtual address minimum: 0
      Returns:
      thunkedVaddr
    • setThunkedVaddr

      public void setThunkedVaddr(@Nullable Long thunkedVaddr)
    • putAdditionalProperty

      public AddCalleeInputBody 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 AddCalleeInputBody 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 AddCalleeInputBody
    • fromJson

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

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