> ## 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.

# PageRequest

> One page of a list to read.

```csharp
public sealed record PageRequest : IEquatable<PageRequest>
```

**Implements:** `IEquatable<PageRequest>`

## Constructors

```csharp
public PageRequest(Guid ReadId, string? Cursor, int Size)
```

One page of a list to read.

### Parameters

**ReadId** `Guid` *required*

The whole read the page belongs to.

**Cursor** `string` *required*

What the previous page said to ask with.

**Size** `int` *required*

The most items the page may hold.

## Fields

**MaxSize** `int` *required*

The most items any page holds.

## Properties

**Cursor** `string`

What the previous page said to ask with.

**ReadId** `Guid` *required*

The whole read the page belongs to.

**Size** `int` *required*

The most items the page may hold.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out Guid ReadId, out string? Cursor, out int Size)
```

#### Parameters

**ReadId** `Guid` *required*

**Cursor** `string` *required*

**Size** `int` *required*

### Equals()

```csharp
public bool Equals(PageRequest? other)
```

#### Parameters

**other** `PageRequest` *required*

#### Returns

`bool`

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

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### First()

```csharp
public static PageRequest First(int size = 1000)
```

Starts a new read at its first page.

#### Parameters

**size** `int`

#### Returns

`PageRequest`

### GetHashCode()

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

#### Returns

`int`

### operator !=()

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

#### Parameters

**left** `PageRequest` *required*

**right** `PageRequest` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `PageRequest` *required*

**right** `PageRequest` *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.