QuotaUsageQuery
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllA filter for querying quota usage.
public sealed record QuotaUsageQuery : IEquatable<QuotaUsageQuery>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”QuotaUsageQuery()
Section titled “ QuotaUsageQuery()”public QuotaUsageQuery()Properties
Section titled “Properties”AgentName
Section titled “ AgentName”Fetches only this agent’s counters. An empty string means tenant-wide.
public string? AgentName { get; init; }Property Value
Section titled “Property Value”The moment the counters belong to (UTC). The current time is used if not given.
public DateTimeOffset? AsOf { get; init; }Property Value
Section titled “Property Value”Period
Section titled “ Period”Fetches only this interval’s counters.
public QuotaPeriod? Period { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”The tenant identifier.
public required 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(QuotaUsageQuery?)
Section titled “ Equals(QuotaUsageQuery?)”public bool Equals(QuotaUsageQuery? other)Parameters
Section titled “Parameters”other QuotaUsageQuery?
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 ==(QuotaUsageQuery?, QuotaUsageQuery?)
Section titled “ operator ==(QuotaUsageQuery?, QuotaUsageQuery?)”public static bool operator ==(QuotaUsageQuery? left, QuotaUsageQuery? right)Parameters
Section titled “Parameters”left QuotaUsageQuery?
right QuotaUsageQuery?
Returns
Section titled “Returns”operator !=(QuotaUsageQuery?, QuotaUsageQuery?)
Section titled “ operator !=(QuotaUsageQuery?, QuotaUsageQuery?)”public static bool operator !=(QuotaUsageQuery? left, QuotaUsageQuery? right)Parameters
Section titled “Parameters”left QuotaUsageQuery?
right QuotaUsageQuery?