Skip to content

WebhookTestResponse

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

The response for the test event.

public sealed record WebhookTestResponse : IEquatable<WebhookTestResponse>

objectWebhookTestResponse

IEquatable<WebhookTestResponse>

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

public WebhookTestResponse()

The description shown to the user.

public required string Message { get; init; }

string

The subscription name.

public required string Name { get; init; }

string

Whether the event was written to the queue.

public required bool Queued { get; init; }

bool

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(WebhookTestResponse? other)

other WebhookTestResponse?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(WebhookTestResponse?, WebhookTestResponse?)

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

left WebhookTestResponse?

right WebhookTestResponse?

bool

operator !=(WebhookTestResponse?, WebhookTestResponse?)

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

left WebhookTestResponse?

right WebhookTestResponse?

bool