Class Rule
A rule.
Namespace: Unity.DigitalTwins.Live.Sdk.Models.DataAssociations
Assembly: solution.dll
Syntax
[Serializable]
public class Rule
Properties
CreatedAt
Date of rule creation in UTC.
Declaration
public DateTimeOffset CreatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
Expression
The expression that represents the rule.
Declaration
public string Expression { get; set; }
Property Value
Type | Description |
---|---|
String |
FacilityId
The ID of the facility the rule belongs to.
Declaration
public string FacilityId { get; set; }
Property Value
Type | Description |
---|---|
String |
Id
The ID of the rule.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
String |
IsAutomated
Determines whether or not the rule can be run automatically.
Declaration
public bool IsAutomated { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsDisabled
Indicates whether or not the rule is disabled. Disabled rules cannot be executed.
Declaration
public bool IsDisabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
LastRun
Date on which the rule was last executed in UTC.
Declaration
public DateTimeOffset LastRun { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
LastRunOutcome
Outcome of the last execution of the rule.
Declaration
public string LastRunOutcome { get; set; }
Property Value
Type | Description |
---|---|
String |
Name
The name of the rule.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
RuleInterpreterName
The name of the rule interpreter that executes the rule.
Declaration
public string RuleInterpreterName { get; set; }
Property Value
Type | Description |
---|---|
String |
UpdatedAt
Date on which the rule was last modified in UTC.
Declaration
public DateTimeOffset UpdatedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
WorkspaceId
The ID of the workspace where the rule exists.
Declaration
public string WorkspaceId { get; set; }
Property Value
Type | Description |
---|---|
String |