Package ai.reveng.model
Class AnalysisCreateRequest
java.lang.Object
ai.reveng.model.AnalysisCreateRequest
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AnalysisCreateRequest
extends Object
AnalysisCreateRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(Tag tagsItem) analysisConfig(AnalysisConfig analysisConfig) analysisScope(AnalysisScope analysisScope) autoRunAgents(AutoRunAgents autoRunAgents) binaryConfig(BinaryConfig binaryConfig) booleanstatic AnalysisCreateRequestCreate an instance of AnalysisCreateRequest given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The analysis config enables the configuration of optional analysis stagesThe scope of the analysis determines who can access itGet autoRunAgentsThe binary config can override automatically determined values such as ISA, Platform, File Format, etcHash of the debug fileThe name of the fileThe sha256 hash of the fileSymbols are user-defined properties which inform how the binary is decompiledgetTags()List of tags to assign to an analysisinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAnalysisConfig(AnalysisConfig analysisConfig) voidsetAnalysisScope(AnalysisScope analysisScope) voidsetAutoRunAgents(AutoRunAgents autoRunAgents) voidsetBinaryConfig(BinaryConfig binaryConfig) voidsetDebugHash(String debugHash) voidsetFilename(String filename) voidsetSha256Hash(String sha256Hash) voidsetSymbols(Symbols symbols) voidsha256Hash(String sha256Hash) toJson()Convert an instance of AnalysisCreateRequest 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_FILENAME
- See Also:
-
SERIALIZED_NAME_SHA256_HASH
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_ANALYSIS_SCOPE
- See Also:
-
SERIALIZED_NAME_SYMBOLS
- See Also:
-
SERIALIZED_NAME_DEBUG_HASH
- See Also:
-
SERIALIZED_NAME_ANALYSIS_CONFIG
- See Also:
-
SERIALIZED_NAME_BINARY_CONFIG
- See Also:
-
SERIALIZED_NAME_AUTO_RUN_AGENTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AnalysisCreateRequest
public AnalysisCreateRequest()
-
-
Method Details
-
filename
-
getFilename
The name of the file- Returns:
- filename
-
setFilename
-
sha256Hash
-
getSha256Hash
The sha256 hash of the file- Returns:
- sha256Hash
-
setSha256Hash
-
tags
-
addTagsItem
-
getTags
List of tags to assign to an analysis- Returns:
- tags
-
setTags
-
analysisScope
-
getAnalysisScope
The scope of the analysis determines who can access it- Returns:
- analysisScope
-
setAnalysisScope
-
symbols
-
getSymbols
Symbols are user-defined properties which inform how the binary is decompiled- Returns:
- symbols
-
setSymbols
-
debugHash
-
getDebugHash
Hash of the debug file- Returns:
- debugHash
-
setDebugHash
-
analysisConfig
-
getAnalysisConfig
The analysis config enables the configuration of optional analysis stages- Returns:
- analysisConfig
-
setAnalysisConfig
-
binaryConfig
-
getBinaryConfig
The binary config can override automatically determined values such as ISA, Platform, File Format, etc- Returns:
- binaryConfig
-
setBinaryConfig
-
autoRunAgents
-
getAutoRunAgents
Get autoRunAgents- Returns:
- autoRunAgents
-
setAutoRunAgents
-
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 AnalysisCreateRequest 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 AnalysisCreateRequest
-
fromJson
Create an instance of AnalysisCreateRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AnalysisCreateRequest
- Throws:
IOException- if the JSON string is invalid with respect to AnalysisCreateRequest
-
toJson
Convert an instance of AnalysisCreateRequest to an JSON string- Returns:
- JSON string
-