Skip to main content

ParallelModelResponse record

Represents an untyped ParallelModel API response, preserving the HTTP status, parsed JSON data, original response text and headers.

public record ParallelModelResponse

Public Members​

namedescription
ParallelModelResponse(…)Represents an untyped ParallelModel API response, preserving the HTTP status, parsed JSON data, original response text and headers.
Data { get; set; }The parsed JSON response body, or null when no parsed JSON is available.
Headers { get; set; }The response headers and their string values.
Ok { get; }Gets a value indicating whether the HTTP status code is in the successful 2xx range.
StatusCode { get; set; }The HTTP status code returned by the API.
StatusCodeNumber { get; }Gets the numeric representation of the HTTP status code.
Text { get; set; }The original response body as text.

See Also​