API Reference
Class
TreatmentResult
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 System.String
- status System.String?
- text System.String?
- json IntelligenceX.Json.JsonValue?
- assets System.Collections.Generic.IReadOnlyList<IntelligenceX.Treatment.TreatmentAsset>?
- raw System.Object?
- metadata System.Collections.Generic.IReadOnlyDictionary<System.String, System.String>? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
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.