Package ai.reveng.model
Class FunctionMatchingRequest
java.lang.Object
ai.reveng.model.FunctionMatchingRequest
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class FunctionMatchingRequest
extends Object
FunctionMatchingRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFunctionIdsItem(Long functionIdsItem) booleanfilters(FunctionMatchingFilters filters) static FunctionMatchingRequestCreate an instance of FunctionMatchingRequest given an JSON stringfunctionIds(List<Long> functionIds) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get filtersID's of functions to find matches for, must be at least one function IDMinimum similarity expected for a match as a percentage, default is 90 minimum: 0.0 maximum: 100.0ID of the model used for function matching, used to determine the embedding modelIf 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 50 minimum: 1 maximum: 50Deprecated.inthashCode()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) voidsetFunctionIds(List<Long> functionIds) voidsetMinSimilarity(BigDecimal minSimilarity) voidsetModelId(Integer modelId) voidsetNoCache(Boolean noCache) voidDeprecated.voidsetPageSize(Integer pageSize) Deprecated.voidsetResultsPerFunction(Integer resultsPerFunction) voidsetStatusOnly(Boolean statusOnly) Deprecated.statusOnly(Boolean statusOnly) Deprecated.toJson()Convert an instance of FunctionMatchingRequest 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_MODEL_ID
- See Also:
-
SERIALIZED_NAME_FUNCTION_IDS
- See Also:
-
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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FunctionMatchingRequest
public FunctionMatchingRequest()
-
-
Method Details
-
modelId
-
getModelId
ID of the model used for function matching, used to determine the embedding model- Returns:
- modelId
-
setModelId
-
functionIds
-
addFunctionIdsItem
-
getFunctionIds
ID's of functions to find matches for, must be at least one function ID- Returns:
- functionIds
-
setFunctionIds
-
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 50 minimum: 1 maximum: 50- 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
-
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 FunctionMatchingRequest 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 FunctionMatchingRequest
-
fromJson
Create an instance of FunctionMatchingRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FunctionMatchingRequest
- Throws:
IOException- if the JSON string is invalid with respect to FunctionMatchingRequest
-
toJson
Convert an instance of FunctionMatchingRequest to an JSON string- Returns:
- JSON string
-