Package ai.reveng.model
Class BatchBinaryMatchResult
java.lang.Object
ai.reveng.model.BatchBinaryMatchResult
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class BatchBinaryMatchResult
extends Object
BatchBinaryMatchResult
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumPer-binary workflow status -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanerrorMessage(String errorMessage) static BatchBinaryMatchResultCreate an instance of BatchBinaryMatchResult given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Target binaryError description when status=FAILED.Number of source functions that received at least one candidate match.Opaque token for this binary's matching run.Per-binary workflow statusinthashCode()matchedFunctionCount(Long matchedFunctionCount) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBinaryId(Long binaryId) voidsetErrorMessage(String errorMessage) voidsetMatchedFunctionCount(Long matchedFunctionCount) voidsetMatchId(String matchId) voidtoJson()Convert an instance of BatchBinaryMatchResult 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_BINARY_ID
- See Also:
-
SERIALIZED_NAME_ERROR_MESSAGE
- See Also:
-
SERIALIZED_NAME_MATCH_ID
- See Also:
-
SERIALIZED_NAME_MATCHED_FUNCTION_COUNT
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
BatchBinaryMatchResult
public BatchBinaryMatchResult()
-
-
Method Details
-
binaryId
-
getBinaryId
Target binary- Returns:
- binaryId
-
setBinaryId
-
errorMessage
-
getErrorMessage
Error description when status=FAILED.- Returns:
- errorMessage
-
setErrorMessage
-
matchId
-
getMatchId
Opaque token for this binary's matching run. Present on dispatch and when statuses were fetched by token.- Returns:
- matchId
-
setMatchId
-
matchedFunctionCount
-
getMatchedFunctionCount
Number of source functions that received at least one candidate match. Only meaningful when status=COMPLETED.- Returns:
- matchedFunctionCount
-
setMatchedFunctionCount
-
status
-
getStatus
Per-binary workflow status- Returns:
- status
-
setStatus
-
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 BatchBinaryMatchResult 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 BatchBinaryMatchResult
-
fromJson
Create an instance of BatchBinaryMatchResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BatchBinaryMatchResult
- Throws:
IOException- if the JSON string is invalid with respect to BatchBinaryMatchResult
-
toJson
Convert an instance of BatchBinaryMatchResult to an JSON string- Returns:
- JSON string
-