Class ResultCondition
- Namespace
- SEBT.Portal.Core.StateBackends.Configuration.Operations
- Assembly
- SEBT.Portal.Core.dll
One classifier condition; exactly one of StatusIn / ValueIn / MessageContains — validated at load.
public sealed record ResultCondition
- Inheritance
-
objectResultCondition
Properties
Field
Body property inspected by ValueIn; required with it.
public string? Field { get; init; }
Property Value
- string
MessageContains
The body property MessageField contains any of these substrings (case-insensitive).
public List<string>? MessageContains { get; init; }
Property Value
- List<string>
MessageField
Body property scanned by MessageContains; required with it.
public string? MessageField { get; init; }
Property Value
- string
Outcome
public required WriteOutcome Outcome { get; init; }
Property Value
StatusIn
HTTP status code is in this set.
public List<int>? StatusIn { get; init; }
Property Value
- List<int>
ValueIn
The body property Field's value is in this set.
public List<string>? ValueIn { get; init; }
Property Value
- List<string>