> ## Documentation Index
> Fetch the complete documentation index at: https://klef.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ReadTarget

> What a read reads: an object's records, a relation's grants, or a list's values.

```csharp
[JsonPolymorphic(TypeDiscriminatorPropertyName = "kind")]
[JsonDerivedType(typeof(ReadTarget.Records), "records")]
[JsonDerivedType(typeof(ReadTarget.Grants), "grants")]
[JsonDerivedType(typeof(ReadTarget.Values), "values")]
public abstract record ReadTarget : IEquatable<ReadTarget>
```

**Implements:** `IEquatable<ReadTarget>`

## Constructors

```csharp
protected ReadTarget(ReadTarget original)
```

### Parameters

**original** `ReadTarget` *required*

## Properties

**EqualityContract** `Type` *required*

## Methods

### Equals()

```csharp
public virtual bool Equals(ReadTarget? other)
```

#### Parameters

**other** `ReadTarget` *required*

#### Returns

`bool`

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

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### GetHashCode()

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

#### Returns

`int`

### operator !=()

```csharp
public static bool operator !=(ReadTarget? left, ReadTarget? right)
```

#### Parameters

**left** `ReadTarget` *required*

**right** `ReadTarget` *required*

#### Returns

`bool`

### operator ==()

```csharp
public static bool operator ==(ReadTarget? left, ReadTarget? right)
```

#### Parameters

**left** `ReadTarget` *required*

**right** `ReadTarget` *required*

#### Returns

`bool`

### PrintMembers()

```csharp
protected virtual bool PrintMembers(StringBuilder builder)
```

#### Parameters

**builder** `StringBuilder` *required*

#### Returns

`bool`

### ToString()

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

#### Returns

`string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.