Package ai.reveng.model
Class AnalysisFunctionMatchingRequest
java.lang.Object
ai.reveng.model.AnalysisFunctionMatchingRequest
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AnalysisFunctionMatchingRequest
extends Object
AnalysisFunctionMatchingRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfilters(FunctionMatchingFilters filters) Create an instance of AnalysisFunctionMatchingRequest given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get filtersMinimum similarity expected for a match as a percentage, default is 90 minimum: 0.0 maximum: 100.0If set to true, forces the system to bypass any cached results and perform a fresh computationgetPage()Deprecated.Deprecated.Maximum number of matches to return per function, default is 1, max is 10 minimum: 1 maximum: 10Deprecated.Whether to use canonical function names during function matching for confidence results, default is FalseinthashCode()minSimilarity(BigDecimal minSimilarity) Deprecated.Deprecated.putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resultsPerFunction(Integer resultsPerFunction) voidsetFilters(FunctionMatchingFilters filters) voidsetMinSimilarity(BigDecimal minSimilarity) voidsetNoCache(Boolean noCache) voidDeprecated.voidsetPageSize(Integer pageSize) Deprecated.voidsetResultsPerFunction(Integer resultsPerFunction) voidsetStatusOnly(Boolean statusOnly) Deprecated.voidsetUseCanonicalNames(Boolean useCanonicalNames) statusOnly(Boolean statusOnly) Deprecated.toJson()Convert an instance of AnalysisFunctionMatchingRequest 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_MIN_SIMILARITY
- See Also:
-
SERIALIZED_NAME_FILTERS
- See Also:
-
SERIALIZED_NAME_RESULTS_PER_FUNCTION
- See Also:
-
SERIALIZED_NAME_PAGE
- See Also:
-
SERIALIZED_NAME_PAGE_SIZE
- See Also:
-
SERIALIZED_NAME_STATUS_ONLY
- See Also:
-
SERIALIZED_NAME_NO_CACHE
- See Also:
-
SERIALIZED_NAME_USE_CANONICAL_NAMES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AnalysisFunctionMatchingRequest
public AnalysisFunctionMatchingRequest()
-
-
Method Details
-
minSimilarity
-
getMinSimilarity
Minimum similarity expected for a match as a percentage, default is 90 minimum: 0.0 maximum: 100.0- Returns:
- minSimilarity
-
setMinSimilarity
-
filters
-
getFilters
Get filters- Returns:
- filters
-
setFilters
-
resultsPerFunction
-
getResultsPerFunction
Maximum number of matches to return per function, default is 1, max is 10 minimum: 1 maximum: 10- Returns:
- resultsPerFunction
-
setResultsPerFunction
-
page
Deprecated. -
getPage
Deprecated.Page number for paginated results, default is 1 (first page) minimum: 1- Returns:
- page
-
setPage
Deprecated. -
pageSize
Deprecated. -
getPageSize
Deprecated.Number of functions to return per page, default is 0 (all functions), max is 1000 minimum: 0 maximum: 1000- Returns:
- pageSize
-
setPageSize
Deprecated. -
statusOnly
Deprecated. -
getStatusOnly
Deprecated.If set to true, only returns the status of the matching operation without the actual results- Returns:
- statusOnly
-
setStatusOnly
Deprecated. -
noCache
-
getNoCache
If set to true, forces the system to bypass any cached results and perform a fresh computation- Returns:
- noCache
-
setNoCache
-
useCanonicalNames
-
getUseCanonicalNames
Whether to use canonical function names during function matching for confidence results, default is 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 AnalysisFunctionMatchingRequest 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 AnalysisFunctionMatchingRequest
-
fromJson
Create an instance of AnalysisFunctionMatchingRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AnalysisFunctionMatchingRequest
- Throws:
IOException- if the JSON string is invalid with respect to AnalysisFunctionMatchingRequest
-
toJson
Convert an instance of AnalysisFunctionMatchingRequest to an JSON string- Returns:
- JSON string
-