[SDK reference](../../index.md) / [Models](../index.md) / [Network](index.md)

# ApiTestResult

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Network`  

What the gateway would do with a test request.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Allow` | `List<string>?` | `allow` | For METHOD_NOT_ALLOWED: the methods the path has. |
| `Auth` | `string?` | `auth` | For a forward: how the request must authenticate (NONE, KEY, JWT, KEY_AND_JWT). |
| `Authentication` | `Models.Network.ApiTestAuthentication?` | `authentication` | What the gateway decided about the key, the plan and the usage; present when the request needs a key. |
| `Backend` | `Models.Network.ApiTestBackend?` | `backend` | For a forward: the backend. |
| `MaxBodyBytes` | `int?` | `maxBodyBytes` | The request body cap of the operation. |
| `Method` | `string?` | `method` | For a forward: its method. |
| `Operation` | `string?` | `operation` | For a forward: the operation's ID. |
| `Outcome` | `string?` | `outcome` | FORWARD, NO_HOST, BAD_PATH, NOT_FOUND, UNKNOWN_VERSION, METHOD_NOT_ALLOWED, UNAUTHENTICATED (401), FORBIDDEN (403) or RATE_LIMITED (429). |
| `Parameters` | `Models.Network.ApiTestResult_parameters?` | `parameters` | The path parameters' values. |
| `PathTemplate` | `string?` | `pathTemplate` | For a forward: its path template. |
| `RequestHeadersRemoved` | `List<string>?` | `requestHeadersRemoved` | Headers taken off the request to the backend. |
| `RequestHeadersSet` | `Models.Network.ApiTestResult_requestHeadersSet?` | `requestHeadersSet` | Headers set on the request to the backend. |
| `ResponseHeadersRemoved` | `List<string>?` | `responseHeadersRemoved` | Headers taken off the answer. |
| `ResponseHeadersSet` | `Models.Network.ApiTestResult_responseHeadersSet?` | `responseHeadersSet` | Headers set on the answer. |
| `Status` | `int?` | `status` | The status the client gets when the request is not forwarded. |
| `TimeoutSeconds` | `int?` | `timeoutSeconds` | The timeout of the operation. |
| `Trace` | `List<string>?` | `trace` | Every decision in order, in words. |
| `UpstreamPath` | `string?` | `upstreamPath` | For a forward: the path the backend sees. |
| `Version` | `string?` | `version` | The version the request is for. |
