Package ai.reveng.model
Class SandboxOptions
java.lang.Object
ai.reveng.model.SandboxOptions
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class SandboxOptions
extends Object
SandboxOptions
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommandLineArgs(String commandLineArgs) booleanstatic SandboxOptionsCreate an instance of SandboxOptions given an JSON stringThe command line parameters to pass to the dynamic execution sandbox.Get enabledinthashCode()voidsetCommandLineArgs(String commandLineArgs) voidsetEnabled(Boolean enabled) toJson()Convert an instance of SandboxOptions 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_ENABLED
- See Also:
-
SERIALIZED_NAME_COMMAND_LINE_ARGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SandboxOptions
public SandboxOptions()
-
-
Method Details
-
enabled
-
getEnabled
Get enabled- Returns:
- enabled
-
setEnabled
-
commandLineArgs
-
getCommandLineArgs
The command line parameters to pass to the dynamic execution sandbox. Requires `sandbox` to be True.- Returns:
- commandLineArgs
-
setCommandLineArgs
-
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 SandboxOptions
-
fromJson
Create an instance of SandboxOptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SandboxOptions
- Throws:
IOException- if the JSON string is invalid with respect to SandboxOptions
-
toJson
Convert an instance of SandboxOptions to an JSON string- Returns:
- JSON string
-