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

# ReportedWorker

> What a source reports about one worker.

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

**Implements:** `IEquatable<ReportedWorker>`

## Constructors

```csharp
public ReportedWorker(bool Held, WorkerStatus? Status = null, LocalDate? Start = null, LocalDate? LastDay = null, string? Department = null, string? Email = null, string? Given = null, string? Family = null)
```

What a source reports about one worker.

### Parameters

**Held** `bool` *required*

Whether the source holds the worker.

**Status** `Nullable\<WorkerStatus\>`

**Type:** `Nullable<WorkerStatus>`

The worker's status.

**Start** `LocalDate?`

The primary assignment's first day.

**LastDay** `LocalDate?`

The worker's termination date.

**Department** `string`

The primary assignment's department name.

**Email** `string`

The primary business address.

**Given** `string`

The legal given name.

**Family** `string`

The legal family name.

## Properties

**Department** `string`

The primary assignment's department name.

**Email** `string`

The primary business address.

**Family** `string`

The legal family name.

**Given** `string`

The legal given name.

**Held** `bool` *required*

Whether the source holds the worker.

**LastDay** `LocalDate?`

The worker's termination date.

**Start** `LocalDate?`

The primary assignment's first day.

**Status** `Nullable\<WorkerStatus\>`

**Type:** `Nullable<WorkerStatus>`

The worker's status.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out bool Held, out WorkerStatus? Status, out LocalDate? Start, out LocalDate? LastDay, out string? Department, out string? Email, out string? Given, out string? Family)
```

#### Parameters

**Held** `bool` *required*

**Status** `Nullable\<WorkerStatus\>` *required*

**Type:** `Nullable<WorkerStatus>`

**Start** `LocalDate?` *required*

**LastDay** `LocalDate?` *required*

**Department** `string` *required*

**Email** `string` *required*

**Given** `string` *required*

**Family** `string` *required*

### Equals()

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

#### Parameters

**other** `ReportedWorker` *required*

#### Returns

`bool`

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

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### GetHashCode()

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

#### Returns

`int`

### Of()

```csharp
public static ReportedWorker Of(SourceWorker? worker)
```

Reads what a source worker reports.

#### Parameters

**worker** `SourceWorker` *required*

#### Returns

`ReportedWorker`

### operator !=()

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

#### Parameters

**left** `ReportedWorker` *required*

**right** `ReportedWorker` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `ReportedWorker` *required*

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