Class SimilarFunctionsResponse

java.lang.Object
ai.reveng.model.SimilarFunctionsResponse

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

  • Constructor Details

    • SimilarFunctionsResponse

      public SimilarFunctionsResponse()
  • Method Details

    • functionId

      public SimilarFunctionsResponse functionId(@Nonnull Integer functionId)
    • getFunctionId

      @Nonnull public Integer getFunctionId()
      Get functionId
      Returns:
      functionId
    • setFunctionId

      public void setFunctionId(@Nonnull Integer functionId)
    • functionName

      public SimilarFunctionsResponse functionName(@Nonnull String functionName)
    • getFunctionName

      @Nonnull public String getFunctionName()
      Get functionName
      Returns:
      functionName
    • setFunctionName

      public void setFunctionName(@Nonnull String functionName)
    • binaryId

      public SimilarFunctionsResponse binaryId(@Nonnull Integer binaryId)
    • getBinaryId

      @Nonnull public Integer getBinaryId()
      Get binaryId
      Returns:
      binaryId
    • setBinaryId

      public void setBinaryId(@Nonnull Integer binaryId)
    • binaryName

      public SimilarFunctionsResponse binaryName(@Nonnull String binaryName)
    • getBinaryName

      @Nonnull public String getBinaryName()
      Get binaryName
      Returns:
      binaryName
    • setBinaryName

      public void setBinaryName(@Nonnull String binaryName)
    • distance

      public SimilarFunctionsResponse distance(@Nonnull BigDecimal distance)
    • getDistance

      @Nonnull public BigDecimal getDistance()
      Get distance
      Returns:
      distance
    • setDistance

      public void setDistance(@Nonnull BigDecimal distance)
    • embedding3d

      public SimilarFunctionsResponse embedding3d(@Nonnull List<BigDecimal> embedding3d)
    • addEmbedding3dItem

      public SimilarFunctionsResponse addEmbedding3dItem(BigDecimal embedding3dItem)
    • getEmbedding3d

      @Nonnull public List<BigDecimal> getEmbedding3d()
      Get embedding3d
      Returns:
      embedding3d
    • setEmbedding3d

      public void setEmbedding3d(@Nonnull List<BigDecimal> embedding3d)
    • embedding1d

      public SimilarFunctionsResponse embedding1d(@Nonnull List<BigDecimal> embedding1d)
    • addEmbedding1dItem

      public SimilarFunctionsResponse addEmbedding1dItem(BigDecimal embedding1dItem)
    • getEmbedding1d

      @Nonnull public List<BigDecimal> getEmbedding1d()
      Get embedding1d
      Returns:
      embedding1d
    • setEmbedding1d

      public void setEmbedding1d(@Nonnull List<BigDecimal> embedding1d)
    • sha256Hash

      public SimilarFunctionsResponse sha256Hash(@Nonnull String sha256Hash)
    • getSha256Hash

      @Nonnull public String getSha256Hash()
      Get sha256Hash
      Returns:
      sha256Hash
    • setSha256Hash

      public void setSha256Hash(@Nonnull String sha256Hash)
    • putAdditionalProperty

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

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

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