RunSampleRequest
Namespace AgentPrism · Assembly
AgentPrism.Core.dllRepresents the run summary required for a sampling decision.
public sealed record RunSampleRequest : IEquatable<RunSampleRequest>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”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”RunSampleRequest()
Section titled “ RunSampleRequest()”public RunSampleRequest()Properties
Section titled “Properties”AgentName
Section titled “ AgentName”Gets the executed agent name.
public required string AgentName { get; init; }Property Value
Section titled “Property Value”Gets the run kind. RunKind.Eval is never sampled.
public required RunKind Kind { get; init; }Property Value
Section titled “Property Value”Gets the run identifier.
public required Guid RunId { get; init; }Property Value
Section titled “Property Value”Status
Section titled “ Status”Gets the final status. Only RunStatus.Completed is sampled.
public required RunStatus Status { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant identifier.
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(RunSampleRequest?)
Section titled “ Equals(RunSampleRequest?)”public bool Equals(RunSampleRequest? other)Parameters
Section titled “Parameters”other RunSampleRequest?
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 ==(RunSampleRequest?, RunSampleRequest?)
Section titled “ operator ==(RunSampleRequest?, RunSampleRequest?)”public static bool operator ==(RunSampleRequest? left, RunSampleRequest? right)Parameters
Section titled “Parameters”left RunSampleRequest?
right RunSampleRequest?
Returns
Section titled “Returns”operator !=(RunSampleRequest?, RunSampleRequest?)
Section titled “ operator !=(RunSampleRequest?, RunSampleRequest?)”public static bool operator !=(RunSampleRequest? left, RunSampleRequest? right)Parameters
Section titled “Parameters”left RunSampleRequest?
right RunSampleRequest?