.NET API
WorkflowRespondRequest
Tracon.Abstractions.dllRepresents a response to a pending request.
public sealed record WorkflowRespondRequest : IEquatable<WorkflowRespondRequest>- Inheritance
- object ← WorkflowRespondRequest
- Implements
- IEquatable<WorkflowRespondRequest>
- 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”DefinitionVersion
Section titled “ DefinitionVersion”Gets the version of the workflow’s stored definition to continue with. See WorkflowResumeRequest.DefinitionVersion: null continues with the version the waiting run recorded.
public int? DefinitionVersion { get; init; }Property Value
Section titled “Property Value”int?
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?
Remember
Section titled “ Remember”Gets whether an approval is remembered as a rule (“do not ask again”) for the agent and the tool.
public bool? Remember { get; init; }Property Value
Section titled “Property Value”bool?
Remarks
Section titled “Remarks”Only for a WorkflowRequestForm.ToolApproval request, and only together with WorkflowRespondRequest.Approved set to true; any other use is refused.
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?