Package ai.reveng.model
Class AnalysisRecordBody
java.lang.Object
ai.reveng.model.AnalysisRecordBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AnalysisRecordBody
extends Object
AnalysisRecordBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumScope of the analysisstatic class -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(AnalysisTagBody tagsItem) analysisId(Long analysisId) analysisScope(AnalysisRecordBody.AnalysisScopeEnum analysisScope) baseAddress(Long baseAddress) binaryName(String binaryName) binarySize(Long binarySize) creation(OffsetDateTime creation) booleanstatic AnalysisRecordBodyCreate an instance of AnalysisRecordBody given an JSON stringfunctionBoundariesHash(String functionBoundariesHash) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Analysis IDScope of the analysisBinary base addressBinary IDBinary filenameBinary size in bytesWhen the analysis was createdHash of the binary's provided function boundariesTrue when the caller owns the analysisModel IDModel nameSHA-256 hash of the binaryAnalysis statusgetTags()Tags associated with the binaryUsername of the analysis ownerinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAnalysisId(Long analysisId) voidsetAnalysisScope(AnalysisRecordBody.AnalysisScopeEnum analysisScope) voidsetBaseAddress(Long baseAddress) voidsetBinaryId(Long binaryId) voidsetBinaryName(String binaryName) voidsetBinarySize(Long binarySize) voidsetCreation(OffsetDateTime creation) voidsetFunctionBoundariesHash(String functionBoundariesHash) voidsetIsOwner(Boolean isOwner) voidsetModelId(Long modelId) voidsetModelName(String modelName) voidsetSha256Hash(String sha256Hash) voidvoidsetTags(List<AnalysisTagBody> tags) voidsetUsername(String username) sha256Hash(String sha256Hash) tags(List<AnalysisTagBody> tags) toJson()Convert an instance of AnalysisRecordBody 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_BASE_ADDRESS
- See Also:
-
SERIALIZED_NAME_BINARY_ID
- See Also:
-
SERIALIZED_NAME_BINARY_NAME
- See Also:
-
SERIALIZED_NAME_BINARY_SIZE
- See Also:
-
SERIALIZED_NAME_CREATION
- See Also:
-
SERIALIZED_NAME_FUNCTION_BOUNDARIES_HASH
- See Also:
-
SERIALIZED_NAME_IS_OWNER
- See Also:
-
SERIALIZED_NAME_MODEL_ID
- See Also:
-
SERIALIZED_NAME_MODEL_NAME
- See Also:
-
SERIALIZED_NAME_SHA256_HASH
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AnalysisRecordBody
public AnalysisRecordBody()
-
-
Method Details
-
analysisId
-
getAnalysisId
Analysis ID- Returns:
- analysisId
-
setAnalysisId
-
analysisScope
public AnalysisRecordBody analysisScope(@Nonnull AnalysisRecordBody.AnalysisScopeEnum analysisScope) -
getAnalysisScope
Scope of the analysis- Returns:
- analysisScope
-
setAnalysisScope
-
baseAddress
-
getBaseAddress
Binary base address- Returns:
- baseAddress
-
setBaseAddress
-
binaryId
-
getBinaryId
Binary ID- Returns:
- binaryId
-
setBinaryId
-
binaryName
-
getBinaryName
Binary filename- Returns:
- binaryName
-
setBinaryName
-
binarySize
-
getBinarySize
Binary size in bytes- Returns:
- binarySize
-
setBinarySize
-
creation
-
getCreation
When the analysis was created- Returns:
- creation
-
setCreation
-
functionBoundariesHash
-
getFunctionBoundariesHash
Hash of the binary's provided function boundaries- Returns:
- functionBoundariesHash
-
setFunctionBoundariesHash
-
isOwner
-
getIsOwner
True when the caller owns the analysis- Returns:
- isOwner
-
setIsOwner
-
modelId
-
getModelId
Model ID- Returns:
- modelId
-
setModelId
-
modelName
-
getModelName
Model name- Returns:
- modelName
-
setModelName
-
sha256Hash
-
getSha256Hash
SHA-256 hash of the binary- Returns:
- sha256Hash
-
setSha256Hash
-
status
-
getStatus
Analysis status- Returns:
- status
-
setStatus
-
tags
-
addTagsItem
-
getTags
Tags associated with the binary- Returns:
- tags
-
setTags
-
username
-
getUsername
Username of the analysis owner- Returns:
- username
-
setUsername
-
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 AnalysisRecordBody 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 AnalysisRecordBody
-
fromJson
Create an instance of AnalysisRecordBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AnalysisRecordBody
- Throws:
IOException- if the JSON string is invalid with respect to AnalysisRecordBody
-
toJson
Convert an instance of AnalysisRecordBody to an JSON string- Returns:
- JSON string
-