Class FunctionSearchResult

java.lang.Object
ai.reveng.model.FunctionSearchResult

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

  • Constructor Details

    • FunctionSearchResult

      public FunctionSearchResult()
  • Method Details

    • functionId

      public FunctionSearchResult functionId(@Nonnull Long functionId)
    • getFunctionId

      @Nonnull public Long getFunctionId()
      The function ID
      Returns:
      functionId
    • setFunctionId

      public void setFunctionId(@Nonnull Long functionId)
    • functionName

      public FunctionSearchResult functionName(@Nonnull String functionName)
    • getFunctionName

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

      public void setFunctionName(@Nonnull String functionName)
    • binaryName

      public FunctionSearchResult binaryName(@Nonnull String binaryName)
    • getBinaryName

      @Nonnull public String getBinaryName()
      The name of the binary the function belongs to
      Returns:
      binaryName
    • setBinaryName

      public void setBinaryName(@Nonnull String binaryName)
    • createdAt

      public FunctionSearchResult createdAt(@Nonnull OffsetDateTime createdAt)
    • getCreatedAt

      @Nonnull public OffsetDateTime getCreatedAt()
      The creation date of the function
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nonnull OffsetDateTime createdAt)
    • modelId

      public FunctionSearchResult modelId(@Nonnull Integer modelId)
    • getModelId

      @Nonnull public Integer getModelId()
      The model ID used to analyze the binary the function belongs to
      Returns:
      modelId
    • setModelId

      public void setModelId(@Nonnull Integer modelId)
    • modelName

      public FunctionSearchResult modelName(@Nonnull String modelName)
    • getModelName

      @Nonnull public String getModelName()
      The name of the model used to analyze the binary the function belongs to
      Returns:
      modelName
    • setModelName

      public void setModelName(@Nonnull String modelName)
    • ownedBy

      public FunctionSearchResult ownedBy(@Nonnull String ownedBy)
    • getOwnedBy

      @Nonnull public String getOwnedBy()
      The owner of the binary the function belongs to
      Returns:
      ownedBy
    • setOwnedBy

      public void setOwnedBy(@Nonnull String ownedBy)
    • putAdditionalProperty

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

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

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