Skip to content

DataSubjectScope

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The sessions, runs, and conversations that belong to one data subject.

public sealed record DataSubjectScope : IEquatable<DataSubjectScope>

objectDataSubjectScope

IEquatable<DataSubjectScope>

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

Everything else erasable (attachments, voice sessions, scores, and the conversation items and responses that hang off a conversation) is reached FROM these three lists — the schema already ties them to a session, a run, or a conversation. There is no separate list for those: adding one would let a resolver hand back a set the eraser cannot actually act on.

public DataSubjectScope()

Gets the conversations.id values that belong to the subject.

public required IReadOnlyList<Guid> ConversationIds { get; init; }

IReadOnlyList<Guid>

Gets the runs.id values that belong to the subject.

public required IReadOnlyList<Guid> RunIds { get; init; }

IReadOnlyList<Guid>

Gets the sessions.id values that belong to the subject.

public required IReadOnlyList<string> SessionIds { get; init; }

IReadOnlyList<string>

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(DataSubjectScope? other)

other DataSubjectScope?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(DataSubjectScope?, DataSubjectScope?)

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

left DataSubjectScope?

right DataSubjectScope?

bool

operator !=(DataSubjectScope?, DataSubjectScope?)

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

left DataSubjectScope?

right DataSubjectScope?

bool