Skip to content

TenantEgressPolicyResponse

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

The response describing a tenant’s egress policy.

public sealed record TenantEgressPolicyResponse : IEquatable<TenantEgressPolicyResponse>

objectTenantEgressPolicyResponse

IEquatable<TenantEgressPolicyResponse>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public TenantEgressPolicyResponse()

Gets the closed set of allowed provider names, or null when the tenant is unrestricted (no policy saved).

public IReadOnlyList<string>? AllowedProviders { get; init; }

IReadOnlyList<string>?

Gets the tenant this policy belongs to.

public required string TenantId { get; init; }

string

Gets the time the policy was last written; null when unrestricted.

public DateTimeOffset? UpdatedAt { get; init; }

DateTimeOffset?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(TenantEgressPolicyResponse? other)

other TenantEgressPolicyResponse?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(TenantEgressPolicyResponse?, TenantEgressPolicyResponse?)

Section titled “ operator ==(TenantEgressPolicyResponse?, TenantEgressPolicyResponse?)”
public static bool operator ==(TenantEgressPolicyResponse? left, TenantEgressPolicyResponse? right)

left TenantEgressPolicyResponse?

right TenantEgressPolicyResponse?

bool

operator !=(TenantEgressPolicyResponse?, TenantEgressPolicyResponse?)

Section titled “ operator !=(TenantEgressPolicyResponse?, TenantEgressPolicyResponse?)”
public static bool operator !=(TenantEgressPolicyResponse? left, TenantEgressPolicyResponse? right)

left TenantEgressPolicyResponse?

right TenantEgressPolicyResponse?

bool