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 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 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()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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
-
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
-