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) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Narrow the candidate pool.Source function IDs to match against the rest of the corpus.Similarity floor as a percentage.By default a completed matching run for the same request is reused (response status=COMPLETED, no new run).Max matches returned per source function.Collapse near-duplicate candidate names into canonical buckets and return per-name confidences (the response 'confidences' array).inthashCode()minSimilarity(Double minSimilarity) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resultsPerFunction(Long resultsPerFunction) voidsetFilters(MatchFilters filters) voidsetFunctionIds(List<Long> functionIds) voidsetMinSimilarity(Double minSimilarity) voidsetNoCache(Boolean noCache) voidsetResultsPerFunction(Long resultsPerFunction) voidsetUseCanonicalNames(Boolean useCanonicalNames) toJson()Convert an instance of StartMatchingForFunctionsInputBody to an JSON stringtoString()useCanonicalNames(Boolean useCanonicalNames) 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_NO_CACHE
- See Also:
-
SERIALIZED_NAME_RESULTS_PER_FUNCTION
- See Also:
-
SERIALIZED_NAME_USE_CANONICAL_NAMES
- 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
-
noCache
-
getNoCache
By default a completed matching run for the same request is reused (response status=COMPLETED, no new run). Set true to force a fresh run.- Returns:
- noCache
-
setNoCache
-
resultsPerFunction
-
getResultsPerFunction
Max matches returned per source function. Defaults to 1. minimum: 1 maximum: 30- Returns:
- resultsPerFunction
-
setResultsPerFunction
-
useCanonicalNames
-
getUseCanonicalNames
Collapse near-duplicate candidate names into canonical buckets and return per-name confidences (the response 'confidences' array). Adds a canonicalisation step; defaults to false.- Returns:
- useCanonicalNames
-
setUseCanonicalNames
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the StartMatchingForFunctionsInputBody instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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
-