Class
TreatmentResult
IntelligenceX.Treatment
Result returned by a treatment provider.
Inheritance
- object
- TreatmentResult
Usage
Explore 3 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 3
Constructors
public TreatmentResult(string id, string? status, string? text, JsonValue? json, IReadOnlyList<TreatmentAsset>? assets, object? raw, IReadOnlyDictionary<string, string>? metadata = null) #Initializes a new treatment result.
Parameters
- id string
- status string?
- text string?
- json IntelligenceX.Json.JsonValue?
- assets System.Collections.Generic.IReadOnlyList<IntelligenceX.Treatment.TreatmentAsset>?
- raw object?
- metadata System.Collections.Generic.IReadOnlyDictionary<string, string>? = null
Inherited Methods
Properties
public JsonObject? JsonObject { get; } #Parsed JSON object output when the provider returned an object.
public IReadOnlyList<TreatmentAsset> Assets { get; } #Assets generated or selected during treatment.
public IReadOnlyDictionary<string, string> Metadata { get; } #Metadata attached by the caller or provider.