Package ai.reveng.model
Class StartMatchingForFunctionsInputBody
java.lang.Object
ai.reveng.model.StartMatchingForFunctionsInputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class StartMatchingForFunctionsInputBody
extends Object
StartMatchingForFunctionsInputBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFunctionIdsItem(Long functionIdsItem) booleanfilters(MatchFilters filters) Create an instance of StartMatchingForFunctionsInputBody given an JSON stringfunctionIds(List<Long> functionIds) Narrow the candidate pool.Source function IDs to match against the rest of the corpus.Similarity floor as a percentage.Max matches returned per source function.inthashCode()minSimilarity(Double minSimilarity) resultsPerFunction(Long resultsPerFunction) voidsetFilters(MatchFilters filters) voidsetFunctionIds(List<Long> functionIds) voidsetMinSimilarity(Double minSimilarity) voidsetResultsPerFunction(Long resultsPerFunction) toJson()Convert an instance of StartMatchingForFunctionsInputBody to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FILTERS
- See Also:
-
SERIALIZED_NAME_FUNCTION_IDS
- See Also:
-
SERIALIZED_NAME_MIN_SIMILARITY
- See Also:
-
SERIALIZED_NAME_RESULTS_PER_FUNCTION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
StartMatchingForFunctionsInputBody
public StartMatchingForFunctionsInputBody()
-
-
Method Details
-
filters
-
getFilters
Narrow the candidate pool.- Returns:
- filters
-
setFilters
-
functionIds
-
addFunctionIdsItem
-
getFunctionIds
Source function IDs to match against the rest of the corpus.- Returns:
- functionIds
-
setFunctionIds
-
minSimilarity
-
getMinSimilarity
Similarity floor as a percentage. Defaults to 90. minimum: 0 maximum: 100- Returns:
- minSimilarity
-
setMinSimilarity
-
resultsPerFunction
-
getResultsPerFunction
Max matches returned per source function. Defaults to 1. minimum: 1 maximum: 30- Returns:
- resultsPerFunction
-
setResultsPerFunction
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 StartMatchingForFunctionsInputBody
-
fromJson
Create an instance of StartMatchingForFunctionsInputBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StartMatchingForFunctionsInputBody
- Throws:
IOException- if the JSON string is invalid with respect to StartMatchingForFunctionsInputBody
-
toJson
Convert an instance of StartMatchingForFunctionsInputBody to an JSON string- Returns:
- JSON string
-