Package ai.reveng.model
Class StartMatchingForAnalysisInputBody
java.lang.Object
ai.reveng.model.StartMatchingForAnalysisInputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class StartMatchingForAnalysisInputBody
extends Object
StartMatchingForAnalysisInputBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfilters(MatchFilters filters) Create an instance of StartMatchingForAnalysisInputBody given an JSON stringNarrow the candidate pool.Similarity floor as a percentage.Max matches returned per source function.inthashCode()minSimilarity(Double minSimilarity) resultsPerFunction(Long resultsPerFunction) voidsetFilters(MatchFilters filters) voidsetMinSimilarity(Double minSimilarity) voidsetResultsPerFunction(Long resultsPerFunction) toJson()Convert an instance of StartMatchingForAnalysisInputBody 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_MIN_SIMILARITY
- See Also:
-
SERIALIZED_NAME_RESULTS_PER_FUNCTION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
StartMatchingForAnalysisInputBody
public StartMatchingForAnalysisInputBody()
-
-
Method Details
-
filters
-
getFilters
Narrow the candidate pool.- Returns:
- filters
-
setFilters
-
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 StartMatchingForAnalysisInputBody
-
fromJson
Create an instance of StartMatchingForAnalysisInputBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StartMatchingForAnalysisInputBody
- Throws:
IOException- if the JSON string is invalid with respect to StartMatchingForAnalysisInputBody
-
toJson
Convert an instance of StartMatchingForAnalysisInputBody to an JSON string- Returns:
- JSON string
-