.NET API
RunInputRecord
Tracon.Abstractions.dllA run’s stored input.
public sealed record RunInputRecord : IEquatable<RunInputRecord>- Inheritance
- object ← RunInputRecord
- Implements
- IEquatable<RunInputRecord>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”RunInputRecord()
Section titled “ RunInputRecord()”public RunInputRecord()Properties
Section titled “Properties”CreatedAt
Section titled “ CreatedAt”The record’s creation time (UTC).
public required DateTimeOffset CreatedAt { get; init; }Property Value
Section titled “Property Value”Messages
Section titled “ Messages”The input messages.
public required IReadOnlyList<ChatMessage> Messages { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<ChatMessage>
Remarks
Section titled “Remarks”Carries polymorphic content (TextContent, UriContent,
FunctionResultContent …). Stored in the json column,
not jsonb: jsonb reorders object keys,
and System.Text.Json’s $type discriminator must be the object’s
first property.
Parameters
Section titled “ Parameters”The run’s final parameter values: the values the caller supplied with the schema defaults applied. null means nothing was recorded (a run from before this field existed, or one started while input recording was off); an empty map means the run was recorded and carried no values.
public IReadOnlyDictionary<string, string>? Parameters { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>?
Remarks
Section titled “Remarks”The two states must stay apart. A replay, a workflow resume and an approval resume read this to run with the SAME instructions as the source run; a missing record read as “no values” would let a parameterized definition run on its defaults and change what the model is told.
The values are user content. They are stored in their own column, protected by ProtectedColumn.RunInputParameters.
The run identifier.
public required Guid RunId { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”The tenant the run belongs to.
public required string TenantId { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(RunInputRecord?)
Section titled “ Equals(RunInputRecord?)”public bool Equals(RunInputRecord? other)Parameters
Section titled “Parameters”other RunInputRecord?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(RunInputRecord?, RunInputRecord?)
Section titled “ operator ==(RunInputRecord?, RunInputRecord?)”public static bool operator ==(RunInputRecord? left, RunInputRecord? right)Parameters
Section titled “Parameters”left RunInputRecord?
right RunInputRecord?
Returns
Section titled “Returns”operator !=(RunInputRecord?, RunInputRecord?)
Section titled “ operator !=(RunInputRecord?, RunInputRecord?)”public static bool operator !=(RunInputRecord? left, RunInputRecord? right)Parameters
Section titled “Parameters”left RunInputRecord?
right RunInputRecord?