Skip to content

JobQuery

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

A filter for querying the job list.

public sealed record JobQuery : IEquatable<JobQuery>

objectJobQuery

IEquatable<JobQuery>

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

public JobQuery()

Fetches only jobs of this kind.

public JobKind? Kind { get; init; }

JobKind?

Fetches only jobs produced by this schedule.

public Guid? ScheduleId { get; init; }

Guid?

The number of records to skip.

public int Skip { get; init; }

int

Fetches only jobs in this status.

public JobStatus? Status { get; init; }

JobStatus?

The maximum number of records to fetch.

public int Take { get; init; }

int

Fetches only this tenant’s jobs.

public string? TenantId { get; init; }

string?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(JobQuery? other)

other JobQuery?

bool

public override int GetHashCode()

int

public override string ToString()

string

public static bool operator ==(JobQuery? left, JobQuery? right)

left JobQuery?

right JobQuery?

bool

public static bool operator !=(JobQuery? left, JobQuery? right)

left JobQuery?

right JobQuery?

bool