WorkflowRespondRequest
AgentPrism.Abstractions.dllRepresents a response to a pending request.
public sealed record WorkflowRespondRequest : IEquatable<WorkflowRespondRequest>Inheritance
Section titled “Inheritance”object ← WorkflowRespondRequest
Implements
Section titled “Implements”IEquatable<WorkflowRespondRequest>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”The fields are not mutually exclusive. The port response type determines which one is used. The request is rejected when no field converts to the expected type; silently accepting a response of the wrong type would fail execution at an opaque point.
Constructors
Section titled “Constructors”WorkflowRespondRequest()
Section titled “ WorkflowRespondRequest()”public WorkflowRespondRequest()Properties
Section titled “Properties”Approved
Section titled “ Approved”Gets the yes/no response; for plan approval, it means “approve the plan”.
public bool? Approved { get; init; }Property Value
Section titled “Property Value”bool?
CheckpointId
Section titled “ CheckpointId”Gets the identifier of the checkpoint to resume. If null, the run’s most recent checkpoint is used.
public string? CheckpointId { get; init; }Property Value
Section titled “Property Value”Gets the free-form JSON response. It is deserialized to the port response type.
public string? Json { get; init; }Property Value
Section titled “Property Value”NewRunId
Section titled “ NewRunId”Gets the identifier of the new run. When supplied, recording starts with this id.
public Guid? NewRunId { get; init; }Property Value
Section titled “Property Value”Guid?
RequestId
Section titled “ RequestId”Gets the identifier of the request being responded to.
public required string RequestId { get; init; }Property Value
Section titled “Property Value”Gets the identifier of the run being responded to.
public required Guid RunId { get; init; }Property Value
Section titled “Property Value”Gets the text response; for plan approval, it is revision guidance.
public string? Text { 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(WorkflowRespondRequest?)
Section titled “ Equals(WorkflowRespondRequest?)”public bool Equals(WorkflowRespondRequest? other)Parameters
Section titled “Parameters”other WorkflowRespondRequest?
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 ==(WorkflowRespondRequest?, WorkflowRespondRequest?)
Section titled “ operator ==(WorkflowRespondRequest?, WorkflowRespondRequest?)”public static bool operator ==(WorkflowRespondRequest? left, WorkflowRespondRequest? right)Parameters
Section titled “Parameters”left WorkflowRespondRequest?
right WorkflowRespondRequest?
Returns
Section titled “Returns”operator !=(WorkflowRespondRequest?, WorkflowRespondRequest?)
Section titled “ operator !=(WorkflowRespondRequest?, WorkflowRespondRequest?)”public static bool operator !=(WorkflowRespondRequest? left, WorkflowRespondRequest? right)Parameters
Section titled “Parameters”left WorkflowRespondRequest?
right WorkflowRespondRequest?