WebhookQuotaSummary
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllAn exceeded quota threshold’s webhook summary.
public sealed record WebhookQuotaSummary : IEquatable<WebhookQuotaSummary>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<WebhookQuotaSummary>
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”WebhookQuotaSummary()
Section titled “ WebhookQuotaSummary()”public WebhookQuotaSummary()Properties
Section titled “Properties”AgentName
Section titled “ AgentName”The agent the rule is bound to. null for tenant-wide.
public string? AgentName { get; init; }Property Value
Section titled “Property Value”The defined limit.
public required decimal Limit { get; init; }Property Value
Section titled “Property Value”Metric
Section titled “ Metric”The exceeded metric.
public required QuotaMetric Metric { get; init; }Property Value
Section titled “Property Value”Period
Section titled “ Period”The counter’s interval.
public required QuotaPeriod Period { get; init; }Property Value
Section titled “Property Value”ResetsAt
Section titled “ ResetsAt”The time the counter resets (UTC).
public DateTimeOffset? ResetsAt { get; init; }Property Value
Section titled “Property Value”ThresholdPercent
Section titled “ ThresholdPercent”The exceeded threshold percentage: 80 or 100.
public required int ThresholdPercent { get; init; }Property Value
Section titled “Property Value”The current consumption.
public required decimal Used { 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(WebhookQuotaSummary?)
Section titled “ Equals(WebhookQuotaSummary?)”public bool Equals(WebhookQuotaSummary? other)Parameters
Section titled “Parameters”other WebhookQuotaSummary?
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 ==(WebhookQuotaSummary?, WebhookQuotaSummary?)
Section titled “ operator ==(WebhookQuotaSummary?, WebhookQuotaSummary?)”public static bool operator ==(WebhookQuotaSummary? left, WebhookQuotaSummary? right)Parameters
Section titled “Parameters”left WebhookQuotaSummary?
right WebhookQuotaSummary?
Returns
Section titled “Returns”operator !=(WebhookQuotaSummary?, WebhookQuotaSummary?)
Section titled “ operator !=(WebhookQuotaSummary?, WebhookQuotaSummary?)”public static bool operator !=(WebhookQuotaSummary? left, WebhookQuotaSummary? right)Parameters
Section titled “Parameters”left WebhookQuotaSummary?
right WebhookQuotaSummary?