Package ai.reveng.model
Class TriggerDynamicExecutionInputBody
java.lang.Object
ai.reveng.model.TriggerDynamicExecutionInputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class TriggerDynamicExecutionInputBody
extends Object
TriggerDynamicExecutionInputBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumHow the sandbox launches the sample.static enumMaximum sandbox execution time in seconds -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchiveEntryPath(String archiveEntryPath) archivePassword(String archivePassword) archiveSha256Hash(String archiveSha256Hash) commandLineArgs(String commandLineArgs) booleanCreate an instance of TriggerDynamicExecutionInputBody given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Relative path of the entry inside the archive to executePassword for an encrypted archiveSHA-256 of the archive object to send to the sandbox instead of the analysed binaryCommand-line arguments passed to the sample when the sandbox launches itHow the sandbox launches the sample.Maximum sandbox execution time in secondsinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetArchiveEntryPath(String archiveEntryPath) voidsetArchivePassword(String archivePassword) voidsetArchiveSha256Hash(String archiveSha256Hash) voidsetCommandLineArgs(String commandLineArgs) voidvoidtoJson()Convert an instance of TriggerDynamicExecutionInputBody 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_ARCHIVE_ENTRY_PATH
- See Also:
-
SERIALIZED_NAME_ARCHIVE_PASSWORD
- See Also:
-
SERIALIZED_NAME_ARCHIVE_SHA256_HASH
- See Also:
-
SERIALIZED_NAME_COMMAND_LINE_ARGS
- See Also:
-
SERIALIZED_NAME_START_METHOD
- See Also:
-
SERIALIZED_NAME_TIMEOUT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TriggerDynamicExecutionInputBody
public TriggerDynamicExecutionInputBody()
-
-
Method Details
-
archiveEntryPath
-
getArchiveEntryPath
Relative path of the entry inside the archive to execute- Returns:
- archiveEntryPath
-
setArchiveEntryPath
-
archivePassword
-
getArchivePassword
Password for an encrypted archive- Returns:
- archivePassword
-
setArchivePassword
-
archiveSha256Hash
-
getArchiveSha256Hash
SHA-256 of the archive object to send to the sandbox instead of the analysed binary- Returns:
- archiveSha256Hash
-
setArchiveSha256Hash
-
commandLineArgs
-
getCommandLineArgs
Command-line arguments passed to the sample when the sandbox launches it- Returns:
- commandLineArgs
-
setCommandLineArgs
-
startMethod
public TriggerDynamicExecutionInputBody startMethod(@Nullable TriggerDynamicExecutionInputBody.StartMethodEnum startMethod) -
getStartMethod
How the sandbox launches the sample. Defaults to the sandbox's standard behaviour when omitted.- Returns:
- startMethod
-
setStartMethod
-
timeout
public TriggerDynamicExecutionInputBody timeout(@Nullable TriggerDynamicExecutionInputBody.TimeoutEnum timeout) -
getTimeout
Maximum sandbox execution time in seconds- Returns:
- timeout
-
setTimeout
-
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 TriggerDynamicExecutionInputBody 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 TriggerDynamicExecutionInputBody
-
fromJson
Create an instance of TriggerDynamicExecutionInputBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TriggerDynamicExecutionInputBody
- Throws:
IOException- if the JSON string is invalid with respect to TriggerDynamicExecutionInputBody
-
toJson
Convert an instance of TriggerDynamicExecutionInputBody to an JSON string- Returns:
- JSON string
-