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) binaryConfig(BinaryConfig binaryConfig) booleanstatic AnalysisCreateRequestCreate an instance of AnalysisCreateRequest given an JSON stringThe analysis config enables the configuration of optional analysis stagesThe scope of the analysis determines who can access itThe binary config can override automatically determined values such as ISA, Platform, File Format, etcGet debugHashThe name of the fileThe name of the fileGet symbolsgetTags()List of community tags to assign to an analysisinthashCode()voidsetAnalysisConfig(AnalysisConfig analysisConfig) voidsetAnalysisScope(AnalysisScope analysisScope) 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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AnalysisCreateRequest
public AnalysisCreateRequest()
-
-
Method Details
-
filename
-
getFilename
The name of the file- Returns:
- filename
-
setFilename
-
sha256Hash
-
getSha256Hash
The name of the file- Returns:
- sha256Hash
-
setSha256Hash
-
tags
-
addTagsItem
-
getTags
List of community 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
Get symbols- Returns:
- symbols
-
setSymbols
-
debugHash
-
getDebugHash
Get debugHash- 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
-
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
-