Class StartBatchMatchingInputBody

java.lang.Object
ai.reveng.model.StartBatchMatchingInputBody

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

  • Constructor Details

    • StartBatchMatchingInputBody

      public StartBatchMatchingInputBody()
  • Method Details

    • binaryIds

      public StartBatchMatchingInputBody binaryIds(@Nullable List<Long> binaryIds)
    • addBinaryIdsItem

      public StartBatchMatchingInputBody addBinaryIdsItem(Long binaryIdsItem)
    • getBinaryIds

      @Nullable public List<Long> getBinaryIds()
      Binary IDs to match the analysis against, one workflow per binary.
      Returns:
      binaryIds
    • setBinaryIds

      public void setBinaryIds(@Nullable List<Long> binaryIds)
    • debugTypes

      public StartBatchMatchingInputBody debugTypes(@Nullable List<String> debugTypes)
    • addDebugTypesItem

      public StartBatchMatchingInputBody addDebugTypesItem(String debugTypesItem)
    • getDebugTypes

      @Nullable public List<String> getDebugTypes()
      Restrict matches to candidates with these debug source types. Defaults to [\"SYSTEM\"].
      Returns:
      debugTypes
    • setDebugTypes

      public void setDebugTypes(@Nullable List<String> debugTypes)
    • minSimilarity

      public StartBatchMatchingInputBody minSimilarity(@Nullable Double minSimilarity)
    • getMinSimilarity

      @Nullable public Double getMinSimilarity()
      Similarity floor as a percentage. Defaults to 90. minimum: 0 maximum: 100
      Returns:
      minSimilarity
    • setMinSimilarity

      public void setMinSimilarity(@Nullable Double minSimilarity)
    • resultsPerFunction

      public StartBatchMatchingInputBody resultsPerFunction(@Nullable Long resultsPerFunction)
    • getResultsPerFunction

      @Nullable public Long getResultsPerFunction()
      Max matches returned per source function. Defaults to 1. minimum: 1 maximum: 30
      Returns:
      resultsPerFunction
    • setResultsPerFunction

      public void setResultsPerFunction(@Nullable Long resultsPerFunction)
    • putAdditionalProperty

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

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

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