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

# WriteChange.Create

> Creates a record, answered with a write outcome.

```csharp
public sealed record WriteChange.Create : WriteChange, IEquatable<WriteChange>, IEquatable<WriteChange.Create>
```

**Extends:** `WriteChange`

**Implements:** `IEquatable<WriteChange>`, `IEquatable<Create>`

## Constructors

```csharp
public Create(string Object, JsonObject Payload)
```

Creates a record, answered with a write outcome.

### Parameters

**Object** `string` *required*

The manifest object's key.

**Payload** `JsonObject` *required*

The fields it ought to have, its links as `{ object, id }`.

## Properties

**Credentials** `IReadOnlyList\<DesiredCredential\>` *required*

**Type:** `IReadOnlyList<DesiredCredential>`

The credentials it is issued or gives up, with any secret supplied.

**EqualityContract** `Type` *required*

**Object** `string` *required*

The manifest object's key.

**Payload** `JsonObject` *required*

The fields it ought to have, its links as `{ object, id }`.

**Status** `Nullable\<PrincipalStatus\>`

**Type:** `Nullable<PrincipalStatus>`

The status it ought to have, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) to leave it as it is.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string Object, out JsonObject Payload)
```

#### Parameters

**Object** `string` *required*

**Payload** `JsonObject` *required*

### Equals()

```csharp
public override sealed bool Equals(WriteChange? other)
```

#### Parameters

**other** `WriteChange` *required*

#### Returns

`bool`

```csharp
public bool Equals(WriteChange.Create? other)
```

#### Parameters

**other** `Create` *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 !=(WriteChange.Create? left, WriteChange.Create? right)
```

#### Parameters

**left** `Create` *required*

**right** `Create` *required*

#### Returns

`bool`

### operator ==()

```csharp
public static bool operator ==(WriteChange.Create? left, WriteChange.Create? right)
```

#### Parameters

**left** `Create` *required*

**right** `Create` *required*

#### Returns

`bool`

### PrintMembers()

```csharp
protected override 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.