---
url: https://docs.moqtail.dev/ts/api/model/classes/Path.md
---
# Class: Path

## Implements

* [`Parameter`](../interfaces/Parameter.md)

## Constructors

### Constructor

> **new Path**(`moqtPath`): `Path`

#### Parameters

##### moqtPath

`string`

#### Returns

`Path`

## Properties

### moqtPath

> `readonly` **moqtPath**: `string`

***

### TYPE

> `readonly` `static` **TYPE**: [`Path`](../enumerations/SetupOptionType.md#path) = `SetupOptionType.Path`

## Methods

### toKeyValuePair()

> **toKeyValuePair**(): [`KeyValuePair`](KeyValuePair.md)

#### Returns

[`KeyValuePair`](KeyValuePair.md)

#### Implementation of

[`Parameter`](../interfaces/Parameter.md).[`toKeyValuePair`](../interfaces/Parameter.md#tokeyvaluepair)

***

### fromKeyValuePair()

> `static` **fromKeyValuePair**(`pair`): `Path` | `undefined`

#### Parameters

##### pair

[`KeyValuePair`](KeyValuePair.md)

#### Returns

`Path` | `undefined`
