Skip to content

EveInputResponse

NexusLabs.Eve

EveInputResponse Class

Resolves one human-input request emitted by an eve session.

public sealed record EveInputResponse : System.IEquatable<NexusLabs.Eve.EveInputResponse>

Inheritance System.Object 🡒 EveInputResponse

Implements System.IEquatable<EveInputResponse>

Constructors

EveInputResponse(string, string, string) Constructor

Initializes a response for the specified request.

public EveInputResponse(string requestId, string? optionId=null, string? text=null);

Parameters

requestId System.String

The stable request identifier.

optionId System.String

The selected option identifier, when applicable.

text System.String

A free-form response, when applicable.

Properties

EveInputResponse.OptionId Property

Gets the selected option identifier.

public string? OptionId { get; }

Property Value

System.String

EveInputResponse.RequestId Property

Gets the stable identifier of the request being answered.

public string RequestId { get; }

Property Value

System.String

EveInputResponse.Text Property

Gets the free-form answer.

public string? Text { get; }

Property Value

System.String