Package ai.reveng.model
Class AnalysisBasicInfoOutputBody
java.lang.Object
ai.reveng.model.AnalysisBasicInfoOutputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AnalysisBasicInfoOutputBody
extends Object
AnalysisBasicInfoOutputBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPUBLIC, PRIVATE, or TEAMstatic 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 Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalysisScope(AnalysisBasicInfoOutputBody.AnalysisScopeEnum analysisScope) baseAddress(Long baseAddress) binaryName(String binaryName) binarySize(Long binarySize) binaryUuid(String binaryUuid) creation(OffsetDateTime creation) booleanstatic AnalysisBasicInfoOutputBodyCreate an instance of AnalysisBasicInfoOutputBody given an JSON stringfunctionCount(Long functionCount) PUBLIC, PRIVATE, or TEAMBase address of the binary, null when unknownBinary IDBinary filenameBinary size in bytesUUID of the binary, omitted when not setWhen the binary was uploadedgetDebug()True when the binary was analysed with debug symbolsNumber of functions in the binaryTrue when the analysis was run in advanced modeTrue when the caller is the analysis ownerTrue when the analysis is owned by a system userModel IDModel used for analysisUsername of the analysis ownerSequencer version, omitted when not setSHA-256 hash of the binaryTeam ID of the analysisinthashCode()isAdvanced(Boolean isAdvanced) ownerUsername(String ownerUsername) sequencerVersion(String sequencerVersion) voidsetAnalysisScope(AnalysisBasicInfoOutputBody.AnalysisScopeEnum analysisScope) voidsetBaseAddress(Long baseAddress) voidsetBinaryId(Long binaryId) voidsetBinaryName(String binaryName) voidsetBinarySize(Long binarySize) voidsetBinaryUuid(String binaryUuid) voidsetCreation(OffsetDateTime creation) voidvoidsetFunctionCount(Long functionCount) voidsetIsAdvanced(Boolean isAdvanced) voidsetIsOwner(Boolean isOwner) voidsetIsSystem(Boolean isSystem) voidsetModelId(Long modelId) voidsetModelName(String modelName) voidsetOwnerUsername(String ownerUsername) voidsetSequencerVersion(String sequencerVersion) voidsetSha256Hash(String sha256Hash) voidsha256Hash(String sha256Hash) toJson()Convert an instance of AnalysisBasicInfoOutputBody 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_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_BINARY_UUID
- See Also:
-
SERIALIZED_NAME_CREATION
- See Also:
-
SERIALIZED_NAME_DEBUG
- See Also:
-
SERIALIZED_NAME_FUNCTION_COUNT
- See Also:
-
SERIALIZED_NAME_IS_ADVANCED
- See Also:
-
SERIALIZED_NAME_IS_OWNER
- See Also:
-
SERIALIZED_NAME_IS_SYSTEM
- See Also:
-
SERIALIZED_NAME_MODEL_ID
- See Also:
-
SERIALIZED_NAME_MODEL_NAME
- See Also:
-
SERIALIZED_NAME_OWNER_USERNAME
- See Also:
-
SERIALIZED_NAME_SEQUENCER_VERSION
- See Also:
-
SERIALIZED_NAME_SHA256_HASH
- See Also:
-
SERIALIZED_NAME_TEAM_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AnalysisBasicInfoOutputBody
public AnalysisBasicInfoOutputBody()
-
-
Method Details
-
analysisScope
public AnalysisBasicInfoOutputBody analysisScope(@Nonnull AnalysisBasicInfoOutputBody.AnalysisScopeEnum analysisScope) -
getAnalysisScope
PUBLIC, PRIVATE, or TEAM- Returns:
- analysisScope
-
setAnalysisScope
-
baseAddress
-
getBaseAddress
Base address of the binary, null when unknown- 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
-
binaryUuid
-
getBinaryUuid
UUID of the binary, omitted when not set- Returns:
- binaryUuid
-
setBinaryUuid
-
creation
-
getCreation
When the binary was uploaded- Returns:
- creation
-
setCreation
-
debug
-
getDebug
True when the binary was analysed with debug symbols- Returns:
- debug
-
setDebug
-
functionCount
-
getFunctionCount
Number of functions in the binary- Returns:
- functionCount
-
setFunctionCount
-
isAdvanced
-
getIsAdvanced
True when the analysis was run in advanced mode- Returns:
- isAdvanced
-
setIsAdvanced
-
isOwner
-
getIsOwner
True when the caller is the analysis owner- Returns:
- isOwner
-
setIsOwner
-
isSystem
-
getIsSystem
True when the analysis is owned by a system user- Returns:
- isSystem
-
setIsSystem
-
modelId
-
getModelId
Model ID- Returns:
- modelId
-
setModelId
-
modelName
-
getModelName
Model used for analysis- Returns:
- modelName
-
setModelName
-
ownerUsername
-
getOwnerUsername
Username of the analysis owner- Returns:
- ownerUsername
-
setOwnerUsername
-
sequencerVersion
-
getSequencerVersion
Sequencer version, omitted when not set- Returns:
- sequencerVersion
-
setSequencerVersion
-
sha256Hash
-
getSha256Hash
SHA-256 hash of the binary- Returns:
- sha256Hash
-
setSha256Hash
-
teamId
-
getTeamId
Team ID of the analysis- Returns:
- teamId
-
setTeamId
-
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 AnalysisBasicInfoOutputBody
-
fromJson
Create an instance of AnalysisBasicInfoOutputBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AnalysisBasicInfoOutputBody
- Throws:
IOException- if the JSON string is invalid with respect to AnalysisBasicInfoOutputBody
-
toJson
Convert an instance of AnalysisBasicInfoOutputBody to an JSON string- Returns:
- JSON string
-