Package ai.reveng.model
Class Basic
java.lang.Object
ai.reveng.model.Basic
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Basic
extends Object
Basic
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalysisScope(String analysisScope) baseAddress(Integer baseAddress) binaryName(String binaryName) binarySize(Integer binarySize) creation(OffsetDateTime creation) booleanstatic BasicCreate an instance of Basic given an JSON stringfunctionCount(Integer functionCount) The scope of the analysisGet baseAddressThe name of the binary uploadedThe size of the binary uploaded (bytes)When the binary was uploadedgetDebug()Whether the current analysis was analysed with debug symbolsThe number of functions in the binaryWhether the analysis was advancedWhether the current user is the ownerThe model name used for analysisThe name of the owner of the binaryThe hash of the binary uploadedinthashCode()isAdvanced(Boolean isAdvanced) ownerUsername(String ownerUsername) voidsetAnalysisScope(String analysisScope) voidsetBaseAddress(Integer baseAddress) voidsetBinaryName(String binaryName) voidsetBinarySize(Integer binarySize) voidsetCreation(OffsetDateTime creation) voidvoidsetFunctionCount(Integer functionCount) voidsetIsAdvanced(Boolean isAdvanced) voidsetIsOwner(Boolean isOwner) voidsetModelName(String modelName) voidsetOwnerUsername(String ownerUsername) voidsetSha256Hash(String sha256Hash) sha256Hash(String sha256Hash) toJson()Convert an instance of Basic 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_BINARY_NAME
- See Also:
-
SERIALIZED_NAME_BINARY_SIZE
- See Also:
-
SERIALIZED_NAME_CREATION
- See Also:
-
SERIALIZED_NAME_SHA256_HASH
- See Also:
-
SERIALIZED_NAME_MODEL_NAME
- See Also:
-
SERIALIZED_NAME_OWNER_USERNAME
- See Also:
-
SERIALIZED_NAME_ANALYSIS_SCOPE
- See Also:
-
SERIALIZED_NAME_IS_OWNER
- See Also:
-
SERIALIZED_NAME_DEBUG
- See Also:
-
SERIALIZED_NAME_FUNCTION_COUNT
- See Also:
-
SERIALIZED_NAME_IS_ADVANCED
- See Also:
-
SERIALIZED_NAME_BASE_ADDRESS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Basic
public Basic()
-
-
Method Details
-
binaryName
-
getBinaryName
The name of the binary uploaded- Returns:
- binaryName
-
setBinaryName
-
binarySize
-
getBinarySize
The size of the binary uploaded (bytes)- Returns:
- binarySize
-
setBinarySize
-
creation
-
getCreation
When the binary was uploaded- Returns:
- creation
-
setCreation
-
sha256Hash
-
getSha256Hash
The hash of the binary uploaded- Returns:
- sha256Hash
-
setSha256Hash
-
modelName
-
getModelName
The model name used for analysis- Returns:
- modelName
-
setModelName
-
ownerUsername
-
getOwnerUsername
The name of the owner of the binary- Returns:
- ownerUsername
-
setOwnerUsername
-
analysisScope
-
getAnalysisScope
The scope of the analysis- Returns:
- analysisScope
-
setAnalysisScope
-
isOwner
-
getIsOwner
Whether the current user is the owner- Returns:
- isOwner
-
setIsOwner
-
debug
-
getDebug
Whether the current analysis was analysed with debug symbols- Returns:
- debug
-
setDebug
-
functionCount
-
getFunctionCount
The number of functions in the binary- Returns:
- functionCount
-
setFunctionCount
-
isAdvanced
-
getIsAdvanced
Whether the analysis was advanced- Returns:
- isAdvanced
-
setIsAdvanced
-
baseAddress
-
getBaseAddress
Get baseAddress- Returns:
- baseAddress
-
setBaseAddress
-
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 Basic
-
fromJson
Create an instance of Basic given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Basic
- Throws:
IOException- if the JSON string is invalid with respect to Basic
-
toJson
Convert an instance of Basic to an JSON string- Returns:
- JSON string
-