Package ai.reveng.model
Class FunctionMatch
java.lang.Object
ai.reveng.model.FunctionMatch
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class FunctionMatch
extends Object
FunctionMatch
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfidencesItem(NameConfidence confidencesItem) addMatchedFunctionsItem(MatchedFunction matchedFunctionsItem) confidences(List<NameConfidence> confidences) booleanstatic FunctionMatchCreate an instance of FunctionMatch given an JSON stringfunctionId(Long functionId) Per-name confidences when canonify was requestedSource function IDTop candidate matches in similarity-descending orderinthashCode()matchedFunctions(List<MatchedFunction> matchedFunctions) voidsetConfidences(List<NameConfidence> confidences) voidsetFunctionId(Long functionId) voidsetMatchedFunctions(List<MatchedFunction> matchedFunctions) toJson()Convert an instance of FunctionMatch 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_CONFIDENCES
- See Also:
-
SERIALIZED_NAME_FUNCTION_ID
- See Also:
-
SERIALIZED_NAME_MATCHED_FUNCTIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FunctionMatch
public FunctionMatch()
-
-
Method Details
-
confidences
-
addConfidencesItem
-
getConfidences
Per-name confidences when canonify was requested- Returns:
- confidences
-
setConfidences
-
functionId
-
getFunctionId
Source function ID- Returns:
- functionId
-
setFunctionId
-
matchedFunctions
-
addMatchedFunctionsItem
-
getMatchedFunctions
Top candidate matches in similarity-descending order- Returns:
- matchedFunctions
-
setMatchedFunctions
-
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 FunctionMatch
-
fromJson
Create an instance of FunctionMatch given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FunctionMatch
- Throws:
IOException- if the JSON string is invalid with respect to FunctionMatch
-
toJson
Convert an instance of FunctionMatch to an JSON string- Returns:
- JSON string
-