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

# CodedValue

> A Code paired with its human-readable Name , the shape HRIS systems use for org and job classifications (company, division, department, job, job family, positi…

A `Code` paired with its human-readable `Name`, the shape HRIS systems use for org and job classifications (company, division, department, job, job family, position).

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

**Implements:** `IEquatable<CodedValue>`

## Constructors

```csharp
public CodedValue(string Code, string Name)
```

A `Code` paired with its human-readable `Name`, the shape HRIS systems use for org and job classifications (company, division, department, job, job family, position).

### Parameters

**Code** `string` *required*

**Name** `string` *required*

## Fields

**Empty** `CodedValue` *required*

## Properties

**Code** `string` *required*

**Name** `string` *required*

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string Code, out string Name)
```

#### Parameters

**Code** `string` *required*

**Name** `string` *required*

### Equals()

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

#### Parameters

**other** `CodedValue` *required*

#### Returns

`bool`

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

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### From()

```csharp
public static CodedValue From(string? code, string? name)
```

#### Parameters

**code** `string` *required*

**name** `string` *required*

#### Returns

`CodedValue`

### GetHashCode()

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

#### Returns

`int`

### Of()

```csharp
public static CodedValue Of(string? code, string? name)
```

A value a source may send only half of, each half standing in for the other.

#### Parameters

**code** `string` *required*

**name** `string` *required*

#### Returns

`CodedValue`

### operator !=()

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

#### Parameters

**left** `CodedValue` *required*

**right** `CodedValue` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `CodedValue` *required*

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