TenantEgressPolicy
AgentPrism.Abstractions.dllThe set of model providers a tenant’s agents are allowed to call (egress policy).
public sealed record TenantEgressPolicy : IEquatable<TenantEgressPolicy>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<TenantEgressPolicy>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”A tenant with no saved policy is unrestricted: the absence of a row, not an empty list, means “no limit”. Once a policy is saved, TenantEgressPolicy.AllowedProviders is the closed set of providers the tenant’s agent definitions may name in ModelBinding.Provider.
Constructors
Section titled “Constructors”TenantEgressPolicy()
Section titled “ TenantEgressPolicy()”public TenantEgressPolicy()Properties
Section titled “Properties”AllowedProviders
Section titled “ AllowedProviders”Gets the closed set of provider names this tenant’s agents may call.
public required IReadOnlyList<string> AllowedProviders { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant this policy belongs to.
public required string TenantId { get; init; }Property Value
Section titled “Property Value”UpdatedAt
Section titled “ UpdatedAt”Gets the time this policy was last written.
public required DateTimeOffset UpdatedAt { 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(TenantEgressPolicy?)
Section titled “ Equals(TenantEgressPolicy?)”public bool Equals(TenantEgressPolicy? other)Parameters
Section titled “Parameters”other TenantEgressPolicy?
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 ==(TenantEgressPolicy?, TenantEgressPolicy?)
Section titled “ operator ==(TenantEgressPolicy?, TenantEgressPolicy?)”public static bool operator ==(TenantEgressPolicy? left, TenantEgressPolicy? right)Parameters
Section titled “Parameters”left TenantEgressPolicy?
right TenantEgressPolicy?
Returns
Section titled “Returns”operator !=(TenantEgressPolicy?, TenantEgressPolicy?)
Section titled “ operator !=(TenantEgressPolicy?, TenantEgressPolicy?)”public static bool operator !=(TenantEgressPolicy? left, TenantEgressPolicy? right)Parameters
Section titled “Parameters”left TenantEgressPolicy?
right TenantEgressPolicy?