QuotaUsageResponse
Namespace AgentPrism · Assembly
AgentPrism.AspNetCore.dllResponse for the quota usage endpoint.
public sealed record QuotaUsageResponse : IEquatable<QuotaUsageResponse>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<QuotaUsageResponse>
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”QuotaUsageResponse()
Section titled “ QuotaUsageResponse()”public QuotaUsageResponse()Properties
Section titled “Properties”DailyResetsAt
Section titled “ DailyResetsAt”Gets the moment (UTC) the daily counters reset.
public required DateTimeOffset DailyResetsAt { get; init; }Property Value
Section titled “Property Value”Definitions
Section titled “ Definitions”Gets the defined quota rules. The UI computes the percentage from these.
public required IReadOnlyList<QuotaDefinition> Definitions { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<QuotaDefinition>
MonthlyResetsAt
Section titled “ MonthlyResetsAt”Gets the moment (UTC) the monthly counters reset.
public required DateTimeOffset MonthlyResetsAt { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant identifier.
public required string TenantId { get; init; }Property Value
Section titled “Property Value”TimeZone
Section titled “ TimeZone”Gets the time zone the period boundaries are computed in.
public required string TimeZone { get; init; }Property Value
Section titled “Property Value”Gets the current period’s counters.
public required IReadOnlyList<QuotaUsageRecord> Usage { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<QuotaUsageRecord>
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(QuotaUsageResponse?)
Section titled “ Equals(QuotaUsageResponse?)”public bool Equals(QuotaUsageResponse? other)Parameters
Section titled “Parameters”other QuotaUsageResponse?
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 ==(QuotaUsageResponse?, QuotaUsageResponse?)
Section titled “ operator ==(QuotaUsageResponse?, QuotaUsageResponse?)”public static bool operator ==(QuotaUsageResponse? left, QuotaUsageResponse? right)Parameters
Section titled “Parameters”left QuotaUsageResponse?
right QuotaUsageResponse?
Returns
Section titled “Returns”operator !=(QuotaUsageResponse?, QuotaUsageResponse?)
Section titled “ operator !=(QuotaUsageResponse?, QuotaUsageResponse?)”public static bool operator !=(QuotaUsageResponse? left, QuotaUsageResponse? right)Parameters
Section titled “Parameters”left QuotaUsageResponse?
right QuotaUsageResponse?