.NET API
RunFeedbackRequest
Tracon.AspNetCore.dllRequest body for writing a run/message score.
public sealed record RunFeedbackRequest : IEquatable<RunFeedbackRequest>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<RunFeedbackRequest>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”RunFeedbackRequest()
Section titled “ RunFeedbackRequest()”public RunFeedbackRequest()Properties
Section titled “Properties”Comment
Section titled “ Comment”Free-text comment.
public string? Comment { get; init; }Property Value
Section titled “Property Value”The format of the score.
public required RunScoreKind Kind { get; init; }Property Value
Section titled “Property Value”MessageId
Section titled “ MessageId”The id of the scored message. If left blank, the score applies to the whole run.
public string? MessageId { get; init; }Property Value
Section titled “Property Value”The score’s stable, low-cardinality name. Left blank it becomes
overall.
public string? Name { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Must match [A-Za-z0-9._-]{1,64}, the rule
RunScoreRules carries. The same author can write more than
one name onto the same run; writing the same name twice updates the
existing row.
TextValue
Section titled “ TextValue”The categorical label. Required for RunScoreKind.Categorical and rejected for every other kind.
public string? TextValue { get; init; }Property Value
Section titled “Property Value”0/1 for RunScoreKind.Binary, 1 to 5 for RunScoreKind.Stars, 0 to 100 for RunScoreKind.Numeric. Left out for RunScoreKind.Categorical, required otherwise.
public double? Value { 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(RunFeedbackRequest?)
Section titled “ Equals(RunFeedbackRequest?)”public bool Equals(RunFeedbackRequest? other)Parameters
Section titled “Parameters”other RunFeedbackRequest?
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 ==(RunFeedbackRequest?, RunFeedbackRequest?)
Section titled “ operator ==(RunFeedbackRequest?, RunFeedbackRequest?)”public static bool operator ==(RunFeedbackRequest? left, RunFeedbackRequest? right)Parameters
Section titled “Parameters”left RunFeedbackRequest?
right RunFeedbackRequest?
Returns
Section titled “Returns”operator !=(RunFeedbackRequest?, RunFeedbackRequest?)
Section titled “ operator !=(RunFeedbackRequest?, RunFeedbackRequest?)”public static bool operator !=(RunFeedbackRequest? left, RunFeedbackRequest? right)Parameters
Section titled “Parameters”left RunFeedbackRequest?
right RunFeedbackRequest?