Class FeatureAttributeRule
- Namespace
- Honua.Sdk.Abstractions.Features
- Assembly
- Honua.Sdk.Abstractions.dll
Attribute rule metadata advertised by a provider.
public sealed record FeatureAttributeRule : IEquatable<FeatureAttributeRule>
- Inheritance
-
FeatureAttributeRule
- Implements
- Inherited Members
Properties
ErrorCode
Provider error number or code associated with the rule.
public string? ErrorCode { get; init; }
Property Value
ErrorMessage
Provider validation message associated with the rule.
public string? ErrorMessage { get; init; }
Property Value
ExcludeFromClientEvaluation
Whether clients should avoid evaluating the rule locally.
public bool ExcludeFromClientEvaluation { get; init; }
Property Value
Expression
Provider expression body when it is safe to expose to clients.
public string? Expression { get; init; }
Property Value
ExpressionLanguage
Provider expression language, such as Arcade or CQL.
public string? ExpressionLanguage { get; init; }
Property Value
FieldName
Field the rule targets, when field-specific.
public string? FieldName { get; init; }
Property Value
IsEnabled
Whether the rule is enabled by the provider.
public bool IsEnabled { get; init; }
Property Value
Name
Rule display or lookup name.
public string? Name { get; init; }
Property Value
Raw
Raw provider rule payload.
public JsonElement? Raw { get; init; }
Property Value
RuleId
Stable rule identifier.
public required string RuleId { get; init; }
Property Value
Triggers
Edit triggers that run the rule.
public IReadOnlyList<FeatureAttributeRuleTrigger> Triggers { get; init; }
Property Value
Type
Rule kind.
public FeatureAttributeRuleType Type { get; init; }