ParallelModelResponse<TData> constructor
Represents a ParallelModel API response with a strongly typed data payload while retaining the HTTP status, original response text and headers.
public ParallelModelResponse(HttpStatusCode StatusCode, TData? Data, string Text,
IReadOnlyDictionary<string, string> Headers)
| parameter | description |
|---|---|
| TData | The reference type used to represent the response data. |
| StatusCode | The HTTP status code returned by the API. |
| Data | The deserialized response data, or null when no typed data is available. |
| Text | The original response body as text. |
| Headers | The response headers and their string values. |
See Also
- record ParallelModelResponse<TData>
- namespace ParallelModel.Sdk