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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalysisId(Integer analysisId) analysisScope(String analysisScope) baseAddress(Integer baseAddress) binaryName(String binaryName) binarySize(Integer binarySize) creation(OffsetDateTime creation) dynamicExecutionStatus(AppApiRestV2AnalysesEnumsDynamicExecutionStatus dynamicExecutionStatus) dynamicExecutionTaskId(Integer dynamicExecutionTaskId) booleanstatic AnalysisRecordCreate an instance of AnalysisRecord given an JSON stringfunctionBoundariesHash(String functionBoundariesHash) 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 current status of analysisGet dynamicExecutionStatusGet dynamicExecutionTaskIdThe 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 analysisThe username of the analysis ownerinthashCode()voidsetAnalysisId(Integer analysisId) voidsetAnalysisScope(String analysisScope) voidsetBaseAddress(Integer baseAddress) voidsetBinaryId(Integer binaryId) voidsetBinaryName(String binaryName) voidsetBinarySize(Integer binarySize) voidsetCreation(OffsetDateTime creation) voidsetDynamicExecutionStatus(AppApiRestV2AnalysesEnumsDynamicExecutionStatus dynamicExecutionStatus) voidsetDynamicExecutionTaskId(Integer dynamicExecutionTaskId) voidsetFunctionBoundariesHash(String functionBoundariesHash) voidsetIsOwner(Boolean isOwner) voidsetModelId(Integer modelId) voidsetModelName(String modelName) voidsetSha256Hash(String sha256Hash) voidvoidsetUsername(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:
-
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 current status of analysis- 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 AppApiRestV2AnalysesEnumsDynamicExecutionStatus dynamicExecutionStatus) -
getDynamicExecutionStatus
Get dynamicExecutionStatus- Returns:
- dynamicExecutionStatus
-
setDynamicExecutionStatus
public void setDynamicExecutionStatus(@Nullable AppApiRestV2AnalysesEnumsDynamicExecutionStatus dynamicExecutionStatus) -
dynamicExecutionTaskId
-
getDynamicExecutionTaskId
Get dynamicExecutionTaskId- Returns:
- dynamicExecutionTaskId
-
setDynamicExecutionTaskId
-
baseAddress
-
getBaseAddress
The base address of the binary- Returns:
- baseAddress
-
setBaseAddress
-
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
-