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

# JourneyStep

> One step of a journey and its outcome.

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

**Implements:** `IEquatable<JourneyStep>`

## Constructors

```csharp
public JourneyStep(string Name, string? Error, TimeSpan Took = default)
```

One step of a journey and its outcome.

### Parameters

**Name** `string` *required*

The step's name.

**Error** `string` *required*

What went wrong, or nothing when it passed.

**Took** `TimeSpan`

How long the step ran.

## Properties

**Error** `string`

What went wrong, or nothing when it passed.

**Name** `string` *required*

The step's name.

**Took** `TimeSpan` *required*

How long the step ran.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string Name, out string? Error, out TimeSpan Took)
```

#### Parameters

**Name** `string` *required*

**Error** `string` *required*

**Took** `TimeSpan` *required*

### Equals()

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

#### Parameters

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

#### Parameters

**left** `JourneyStep` *required*

**right** `JourneyStep` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `JourneyStep` *required*

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