Class AnalysisFunctionMatchingRequest

java.lang.Object
ai.reveng.model.AnalysisFunctionMatchingRequest

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

  • Constructor Details

    • AnalysisFunctionMatchingRequest

      public AnalysisFunctionMatchingRequest()
  • Method Details

    • minSimilarity

      public AnalysisFunctionMatchingRequest minSimilarity(@Nullable BigDecimal minSimilarity)
    • getMinSimilarity

      @Nullable public BigDecimal getMinSimilarity()
      Minimum similarity expected for a match as a percentage, default is 90 minimum: 0.0 maximum: 100.0
      Returns:
      minSimilarity
    • setMinSimilarity

      public void setMinSimilarity(@Nullable BigDecimal minSimilarity)
    • filters

      public AnalysisFunctionMatchingRequest filters(@Nullable FunctionMatchingFilters filters)
    • getFilters

      @Nullable public FunctionMatchingFilters getFilters()
      Get filters
      Returns:
      filters
    • setFilters

      public void setFilters(@Nullable FunctionMatchingFilters filters)
    • resultsPerFunction

      public AnalysisFunctionMatchingRequest resultsPerFunction(@Nullable Integer resultsPerFunction)
    • getResultsPerFunction

      @Nullable public Integer getResultsPerFunction()
      Maximum number of matches to return per function, default is 1, max is 10 minimum: 1 maximum: 10
      Returns:
      resultsPerFunction
    • setResultsPerFunction

      public void setResultsPerFunction(@Nullable Integer resultsPerFunction)
    • page

      @Deprecated public AnalysisFunctionMatchingRequest page(@Nullable Integer page)
      Deprecated.
    • getPage

      @Deprecated @Nullable public Integer getPage()
      Deprecated.
      Page number for paginated results, default is 1 (first page) minimum: 1
      Returns:
      page
    • setPage

      @Deprecated public void setPage(@Nullable Integer page)
      Deprecated.
    • pageSize

      @Deprecated public AnalysisFunctionMatchingRequest pageSize(@Nullable Integer pageSize)
      Deprecated.
    • getPageSize

      @Deprecated @Nullable public Integer getPageSize()
      Deprecated.
      Number of functions to return per page, default is 0 (all functions), max is 1000 minimum: 0 maximum: 1000
      Returns:
      pageSize
    • setPageSize

      @Deprecated public void setPageSize(@Nullable Integer pageSize)
      Deprecated.
    • statusOnly

      @Deprecated public AnalysisFunctionMatchingRequest statusOnly(@Nullable Boolean statusOnly)
      Deprecated.
    • getStatusOnly

      @Deprecated @Nullable public Boolean getStatusOnly()
      Deprecated.
      If set to true, only returns the status of the matching operation without the actual results
      Returns:
      statusOnly
    • setStatusOnly

      @Deprecated public void setStatusOnly(@Nullable Boolean statusOnly)
      Deprecated.
    • noCache

      public AnalysisFunctionMatchingRequest noCache(@Nullable Boolean noCache)
    • getNoCache

      @Nullable public Boolean getNoCache()
      If set to true, forces the system to bypass any cached results and perform a fresh computation
      Returns:
      noCache
    • setNoCache

      public void setNoCache(@Nullable Boolean noCache)
    • useCanonicalNames

      public AnalysisFunctionMatchingRequest useCanonicalNames(@Nullable Boolean useCanonicalNames)
    • getUseCanonicalNames

      @Nullable public Boolean getUseCanonicalNames()
      Whether to use canonical function names during function matching for confidence results, default is False
      Returns:
      useCanonicalNames
    • setUseCanonicalNames

      public void setUseCanonicalNames(@Nullable Boolean useCanonicalNames)
    • putAdditionalProperty

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

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

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