Package ai.reveng.model
Class AnalysisRecord
java.lang.Object
ai.reveng.model.AnalysisRecord
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AnalysisRecord
extends Object
AnalysisRecord
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(TagItem tagsItem) analysisId(Integer analysisId) analysisScope(String analysisScope) baseAddress(BigInteger baseAddress) binaryName(String binaryName) binarySize(Integer binarySize) creation(OffsetDateTime creation) dynamicExecutionStatus(DynamicExecutionStatus dynamicExecutionStatus) dynamicExecutionTaskId(Integer dynamicExecutionTaskId) booleanstatic AnalysisRecordCreate an instance of AnalysisRecord given an JSON stringfunctionBoundariesHash(String functionBoundariesHash) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.ID to identify analysisScope of the analysisThe base address of the binaryID to identify the binary analyseThe name of the file uploadedThe size of the binaryThe datetime of when the analysis was createdIf searching for dynamic execution, the status of the taskIf searching for dynamic execution, the task ID of the taskThe hash of the function boundariesWhether the current user is the owner of a binaryID to identify the model used for analysisName of the model used for analysisThe hash of the binaryThe current status of analysisgetTags()List of tags associated with the analysisThe username of the analysis ownerinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAnalysisId(Integer analysisId) voidsetAnalysisScope(String analysisScope) voidsetBaseAddress(BigInteger baseAddress) voidsetBinaryId(Integer binaryId) voidsetBinaryName(String binaryName) voidsetBinarySize(Integer binarySize) voidsetCreation(OffsetDateTime creation) voidsetDynamicExecutionStatus(DynamicExecutionStatus dynamicExecutionStatus) voidsetDynamicExecutionTaskId(Integer dynamicExecutionTaskId) voidsetFunctionBoundariesHash(String functionBoundariesHash) voidsetIsOwner(Boolean isOwner) voidsetModelId(Integer modelId) voidsetModelName(String modelName) voidsetSha256Hash(String sha256Hash) voidvoidvoidsetUsername(String username) sha256Hash(String sha256Hash) toJson()Convert an instance of AnalysisRecord 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_ANALYSIS_ID
- See Also:
-
SERIALIZED_NAME_ANALYSIS_SCOPE
- See Also:
-
SERIALIZED_NAME_BINARY_ID
- See Also:
-
SERIALIZED_NAME_MODEL_ID
- See Also:
-
SERIALIZED_NAME_MODEL_NAME
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_CREATION
- See Also:
-
SERIALIZED_NAME_IS_OWNER
- See Also:
-
SERIALIZED_NAME_BINARY_NAME
- See Also:
-
SERIALIZED_NAME_SHA256_HASH
- See Also:
-
SERIALIZED_NAME_FUNCTION_BOUNDARIES_HASH
- See Also:
-
SERIALIZED_NAME_BINARY_SIZE
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
SERIALIZED_NAME_DYNAMIC_EXECUTION_STATUS
- See Also:
-
SERIALIZED_NAME_DYNAMIC_EXECUTION_TASK_ID
- See Also:
-
SERIALIZED_NAME_BASE_ADDRESS
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AnalysisRecord
public AnalysisRecord()
-
-
Method Details
-
analysisId
-
getAnalysisId
ID to identify analysis- Returns:
- analysisId
-
setAnalysisId
-
analysisScope
-
getAnalysisScope
Scope of the analysis- Returns:
- analysisScope
-
setAnalysisScope
-
binaryId
-
getBinaryId
ID to identify the binary analyse- Returns:
- binaryId
-
setBinaryId
-
modelId
-
getModelId
ID to identify the model used for analysis- Returns:
- modelId
-
setModelId
-
modelName
-
getModelName
Name of the model used for analysis- Returns:
- modelName
-
setModelName
-
status
-
getStatus
The current status of analysis- Returns:
- status
-
setStatus
-
creation
-
getCreation
The datetime of when the analysis was created- Returns:
- creation
-
setCreation
-
isOwner
-
getIsOwner
Whether the current user is the owner of a binary- Returns:
- isOwner
-
setIsOwner
-
binaryName
-
getBinaryName
The name of the file uploaded- Returns:
- binaryName
-
setBinaryName
-
sha256Hash
-
getSha256Hash
The hash of the binary- Returns:
- sha256Hash
-
setSha256Hash
-
functionBoundariesHash
-
getFunctionBoundariesHash
The hash of the function boundaries- Returns:
- functionBoundariesHash
-
setFunctionBoundariesHash
-
binarySize
-
getBinarySize
The size of the binary- Returns:
- binarySize
-
setBinarySize
-
username
-
getUsername
The username of the analysis owner- Returns:
- username
-
setUsername
-
dynamicExecutionStatus
public AnalysisRecord dynamicExecutionStatus(@Nullable DynamicExecutionStatus dynamicExecutionStatus) -
getDynamicExecutionStatus
If searching for dynamic execution, the status of the task- Returns:
- dynamicExecutionStatus
-
setDynamicExecutionStatus
-
dynamicExecutionTaskId
-
getDynamicExecutionTaskId
If searching for dynamic execution, the task ID of the task- Returns:
- dynamicExecutionTaskId
-
setDynamicExecutionTaskId
-
baseAddress
-
getBaseAddress
The base address of the binary- Returns:
- baseAddress
-
setBaseAddress
-
tags
-
addTagsItem
-
getTags
List of tags associated with the analysis- Returns:
- tags
-
setTags
-
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 AnalysisRecord 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 AnalysisRecord
-
fromJson
Create an instance of AnalysisRecord given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AnalysisRecord
- Throws:
IOException- if the JSON string is invalid with respect to AnalysisRecord
-
toJson
Convert an instance of AnalysisRecord to an JSON string- Returns:
- JSON string
-