Skip to content

InboundTriggerResponse

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

The response describing an inbound trigger definition.

public sealed record InboundTriggerResponse : IEquatable<InboundTriggerResponse>

objectInboundTriggerResponse

IEquatable<InboundTriggerResponse>

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

Carries no signing secret value, only the configuration key’s NAME.

public InboundTriggerResponse()

Gets the creation time (UTC).

public required DateTimeOffset CreatedAt { get; init; }

DateTimeOffset

Gets whether the trigger accepts requests.

public required bool Enabled { get; init; }

bool

Gets the trigger name.

public required string Name { get; init; }

string

Gets how the request body becomes the run’s message.

public required InboundTriggerPayloadMode PayloadMode { get; init; }

InboundTriggerPayloadMode

Gets the dotted path used when InboundTriggerResponse.PayloadMode is InboundTriggerPayloadMode.Path.

public string? PayloadPath { get; init; }

string?

Gets whether SigningSecretConfigurationName currently resolves to a value.

public required bool Resolved { get; init; }

bool

Gets the configuration key name the signing secret is read from.

public required string SigningSecretConfigurationName { get; init; }

string

Gets the kind of target the trigger starts.

public required InboundTriggerTargetKind TargetKind { get; init; }

InboundTriggerTargetKind

Gets the agent or workflow name the trigger starts.

public required string TargetName { get; init; }

string

Gets the last-updated time (UTC).

public required DateTimeOffset UpdatedAt { get; init; }

DateTimeOffset

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(InboundTriggerResponse? other)

other InboundTriggerResponse?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(InboundTriggerResponse?, InboundTriggerResponse?)

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

left InboundTriggerResponse?

right InboundTriggerResponse?

bool

operator !=(InboundTriggerResponse?, InboundTriggerResponse?)

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

left InboundTriggerResponse?

right InboundTriggerResponse?

bool