> ## Documentation Index
> Fetch the complete documentation index at: https://darkgrade.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Operation

> PTP Operation type definitions

# Operation

## DataDirection

**Type:** `"none" | "in" | "out"`

***

## OperationDefinition

### Properties

| Property | Type | Required |
| - | - | - |
| **code** | `number` | ✓ |
| **name** | `string` | ✓ |
| **description** | `string` | ✓ |
| **dataDirection** | `DataDirection` | ✓ |
| **dataCodec** | `CodecDefinition&lt;T&gt;` | |
| **operationParameters** | `[ParameterDefinition?, ParameterDefinition?, ParameterDefinition?, ParameterDefinition?, ParameterDefinition?]` | ✓ |
| **responseParameters** | `[ParameterDefinition?, ParameterDefinition?, ParameterDefinition?, ParameterDefinition?, ParameterDefinition?]` | ✓ |

***

## OperationCode

**Type:** `number`

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.