AuditQuery
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe criteria that filter an audit trail query.
public sealed record AuditQuery : IEquatable<AuditQuery>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”AuditQuery()
Section titled “ AuditQuery()”public AuditQuery()Properties
Section titled “Properties”Action
Section titled “ Action”Gets the action filter, for example agent.update.
public string? Action { get; init; }Property Value
Section titled “Property Value”Gets the actor filter. null includes every actor.
public string? Actor { get; init; }Property Value
Section titled “Property Value”Gets the lower bound: the records written after this time.
public DateTimeOffset? After { get; init; }Property Value
Section titled “Property Value”Before
Section titled “ Before”Gets the upper bound: the records written before this time.
public DateTimeOffset? Before { get; init; }Property Value
Section titled “Property Value”Entity
Section titled “ Entity”Gets the entity filter, for example agent:support.
public string? Entity { get; init; }Property Value
Section titled “Property Value”Gets the upper number of records to return.
public int Limit { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant id. The tenant of the caller is used when it is null.
public string? TenantId { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(AuditQuery?)
Section titled “ Equals(AuditQuery?)”public bool Equals(AuditQuery? other)Parameters
Section titled “Parameters”other AuditQuery?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(AuditQuery?, AuditQuery?)
Section titled “ operator ==(AuditQuery?, AuditQuery?)”public static bool operator ==(AuditQuery? left, AuditQuery? right)Parameters
Section titled “Parameters”left AuditQuery?
right AuditQuery?
Returns
Section titled “Returns”operator !=(AuditQuery?, AuditQuery?)
Section titled “ operator !=(AuditQuery?, AuditQuery?)”public static bool operator !=(AuditQuery? left, AuditQuery? right)Parameters
Section titled “Parameters”left AuditQuery?
right AuditQuery?