# DataSubjectExport

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.datasubjectexport/
> Summary: DataSubjectExport: A data subject's exported content.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

A data subject's exported content.

```csharp
public sealed record DataSubjectExport : IEquatable<DataSubjectExport>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.datasubjectexport/">DataSubjectExport</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;DataSubjectExport&gt;</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Constructors

### <a id="Tracon_DataSubjectExport__ctor"></a> DataSubjectExport\(\)

```csharp
public DataSubjectExport()
```

## Properties

### <a id="Tracon_DataSubjectExport_Json"></a> Json

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 as stored, except
that a column content protection encrypted is read back as plaintext.

```csharp
public required string Json { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

#### Remarks

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.

## Methods

### <a id="Tracon_DataSubjectExport_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_DataSubjectExport_Equals_Tracon_DataSubjectExport_"></a> Equals\(DataSubjectExport?\)

```csharp
public bool Equals(DataSubjectExport? other)
```

#### Parameters

`other` [DataSubjectExport](/api/tracon.datasubjectexport/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_DataSubjectExport_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_DataSubjectExport_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Operators

### <a id="Tracon_DataSubjectExport_op_Equality_Tracon_DataSubjectExport_Tracon_DataSubjectExport_"></a> operator ==\(DataSubjectExport?, DataSubjectExport?\)

```csharp
public static bool operator ==(DataSubjectExport? left, DataSubjectExport? right)
```

#### Parameters

`left` [DataSubjectExport](/api/tracon.datasubjectexport/)?

`right` [DataSubjectExport](/api/tracon.datasubjectexport/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_DataSubjectExport_op_Inequality_Tracon_DataSubjectExport_Tracon_DataSubjectExport_"></a> operator \!=\(DataSubjectExport?, DataSubjectExport?\)

```csharp
public static bool operator !=(DataSubjectExport? left, DataSubjectExport? right)
```

#### Parameters

`left` [DataSubjectExport](/api/tracon.datasubjectexport/)?

`right` [DataSubjectExport](/api/tracon.datasubjectexport/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
