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 stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Narrow the candidate pool.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.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) voidsetMinSimilarity(Double minSimilarity) voidsetNoCache(Boolean noCache) 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_NO_CACHE
- 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
-
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
-
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 StartMatchingForAnalysisInputBody 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 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
-