UnknownResponse

data class UnknownResponse(val name: String, val state: CommandState = CommandState.ERROR, val id: String? = null, val results: JsonElement? = null, val error: CommandError? = null, val progress: CommandProgress? = null) : CommandApiResponse

Unknown Response data class

Constructors

Link copied to clipboard
constructor(name: String, state: CommandState = CommandState.ERROR, id: String? = null, results: JsonElement? = null, error: CommandError? = null, progress: CommandProgress? = null)

Properties

Link copied to clipboard
open override val error: CommandError? = null

Error information (See Errors for details). This output occurs in state "error"

Link copied to clipboard
open override val id: String? = null

Command ID used to check the execution status with Commands/Status

Link copied to clipboard
open override val name: String

Executed command

Link copied to clipboard
open override val progress: CommandProgress? = null

Progress information. This output occurs in state "inProgress"

Link copied to clipboard
open override val results: JsonElement? = null

Results when each command is successfully executed. This output occurs in state "done"

Link copied to clipboard
open override val state: CommandState

Command execution status