Skip to content

DataSubjectExport

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

A data subject’s exported content.

public sealed record DataSubjectExport : IEquatable<DataSubjectExport>

objectDataSubjectExport

IEquatable<DataSubjectExport>

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

public DataSubjectExport()

Gets the exported content, as a single JSON document (UTF-8 text). Object keys are the target table names (sessions, runs, and so on), each holding the array of that target’s matching rows exactly as stored.

public required string Json { get; init; }

string

Attachment file bytes are not included — only their metadata (name, media type, size, hash) is. A byte payload can be large and belongs in a different export shape (a zip of files) than a JSON document; that is a separate, unscheduled work item.

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(DataSubjectExport? other)

other DataSubjectExport?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(DataSubjectExport?, DataSubjectExport?)

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

left DataSubjectExport?

right DataSubjectExport?

bool

operator !=(DataSubjectExport?, DataSubjectExport?)

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

left DataSubjectExport?

right DataSubjectExport?

bool