IdsCheckResult
Class in BIM.works_SDK.
API catalogue · BIM.works_SDK · Class
public class IdsCheckResultThe full answer of an IDS run (BIM.works_SDK.Checks.RunIdsCheck(System.Collections.Generic.ISet%7bSystem.Guid%7d%2cSystem.String)): the result tree, with every
checked object per specification
Inheritance and interfaces#
System.Object
Members#
| Member | Kind | Description |
|---|---|---|
| CheckJavaClass | Property | The check class that ran (IdsCheck) |
| FailingObjectResults | Property | The object results that failed a requirement |
| Json | Property | The JSON the server sent as "results" |
| ModelMapping | Property | Per model uuid, the uuid of the version that was checked |
| ObjectResults | Property | Every object result, over all specifications |
| Of(JsonElement) | Method | Reads the output of RunIdsCheck: {"modelMapping": ..., "results": {"checkJavaClass", "checkResults", "overallResult"}} |
| OverallResult | Property | The worst outcome of the run |
| Root | Property | The root of the result tree; its Summary has the counts of the whole run |
| Specifications | Property | One container per specification that produced results, in the order of the IDS |
CheckJavaClass#
public string CheckJavaClass { get; }The check class that ran (IdsCheck)
FailingObjectResults#
public IEnumerable<CheckResultNode> FailingObjectResults { get; }The object results that failed a requirement
Json#
public JsonElement Json { get; }The JSON the server sent as "results"
ModelMapping#
public IReadOnlyDictionary<Guid, Guid> ModelMapping { get; }Per model uuid, the uuid of the version that was checked
ObjectResults#
public IEnumerable<CheckResultNode> ObjectResults { get; }Every object result, over all specifications
Of(JsonElement)#
public static IdsCheckResult Of(JsonElement output)Reads the output of RunIdsCheck: {"modelMapping": ..., "results": {"checkJavaClass", "checkResults", "overallResult"}}
Parameters#
| Name | Type | Description |
|---|---|---|
output |
System.Text.Json.JsonElement |
OverallResult#
public CheckResultType? OverallResult { get; }The worst outcome of the run
Root#
public CheckResultNode Root { get; }The root of the result tree; its Summary has the counts of the whole run
Specifications#
public IEnumerable<CheckResultNode> Specifications { get; }One container per specification that produced results, in the order of the IDS
Inherited members#
System.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString