Skip to content

InboundTriggerAcceptedResponse

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

The response for a successfully accepted inbound trigger event.

public sealed record InboundTriggerAcceptedResponse : IEquatable<InboundTriggerAcceptedResponse>

objectInboundTriggerAcceptedResponse

IEquatable<InboundTriggerAcceptedResponse>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public InboundTriggerAcceptedResponse()

Gets the address of the run’s event stream. null for a workflow target.

public string? EventsLocation { get; init; }

string?

Gets the identifier of the queued job.

public required Guid JobId { get; init; }

Guid

Gets the address to poll for the outcome. Same as the Location header.

public required string Location { get; init; }

string

Gets the identifier of the queued run, when the trigger targets an agent. null for a workflow target — a workflow job is not tied to a single run id until it is picked up from the queue.

public Guid? RunId { get; init; }

Guid?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(InboundTriggerAcceptedResponse? other)

other InboundTriggerAcceptedResponse?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(InboundTriggerAcceptedResponse?, InboundTriggerAcceptedResponse?)

Section titled “ operator ==(InboundTriggerAcceptedResponse?, InboundTriggerAcceptedResponse?)”
public static bool operator ==(InboundTriggerAcceptedResponse? left, InboundTriggerAcceptedResponse? right)

left InboundTriggerAcceptedResponse?

right InboundTriggerAcceptedResponse?

bool

operator !=(InboundTriggerAcceptedResponse?, InboundTriggerAcceptedResponse?)

Section titled “ operator !=(InboundTriggerAcceptedResponse?, InboundTriggerAcceptedResponse?)”
public static bool operator !=(InboundTriggerAcceptedResponse? left, InboundTriggerAcceptedResponse? right)

left InboundTriggerAcceptedResponse?

right InboundTriggerAcceptedResponse?

bool