API Reference
Class
CommandExecResult
Represents the result of a command execution.
Inheritance
- Object
- CommandExecResult
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Constructors
public CommandExecResult(Int32? exitCode, String? stdout, String? stderr, JsonObject raw, JsonObject? additional) #Initializes a new command execution result.
Parameters
- exitCode System.Int32?
- stdout System.String?
- stderr System.String?
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject?
Methods
public static CommandExecResult FromJson(JsonObject obj) #Returns:
CommandExecResultParses a command execution result from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed result.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public JsonObject? Additional { get; } #Gets unrecognized fields from the payload.