Skip to content

WebhookJobSummary

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

A job’s webhook summary.

public sealed record WebhookJobSummary : IEquatable<WebhookJobSummary>

objectWebhookJobSummary

IEquatable<WebhookJobSummary>

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

public WebhookJobSummary()

The number of completed items.

public int DoneItems { get; init; }

int

The error message.

public string? Error { get; init; }

string?

The number of failed items.

public int FailedItems { get; init; }

int

The job identifier.

public required string JobId { get; init; }

string

The job’s kind.

public string? Kind { get; init; }

string?

The final status.

public string? Status { get; init; }

string?

The agent or workflow name to run.

public string? TargetName { get; init; }

string?

The total number of items.

public int TotalItems { get; init; }

int

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(WebhookJobSummary? other)

other WebhookJobSummary?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(WebhookJobSummary?, WebhookJobSummary?)

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

left WebhookJobSummary?

right WebhookJobSummary?

bool

operator !=(WebhookJobSummary?, WebhookJobSummary?)

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

left WebhookJobSummary?

right WebhookJobSummary?

bool