Class GraphQLResponseData
Response data attached to a graphql.response observation.
public sealed record GraphQLResponseData : IEquatable<GraphQLResponseData>
- Inheritance
-
GraphQLResponseData
- Implements
- Inherited Members
- Extension Methods
Constructors
GraphQLResponseData(string, string?, string, int, int, IReadOnlyList<string>, TimeSpan, string?)
Response data attached to a graphql.response observation.
public GraphQLResponseData(string OperationType, string? OperationName, string Document, int HttpStatusCode, int ErrorCount, IReadOnlyList<string> ErrorCodes, TimeSpan Duration, string? VariablesJson = null)
Parameters
OperationTypestringOperationNamestringDocumentstringHttpStatusCodeintErrorCountintErrorCodesIReadOnlyList<string>DurationTimeSpanVariablesJsonstring
Properties
Document
public string Document { get; init; }
Property Value
Duration
public TimeSpan Duration { get; init; }
Property Value
ErrorCodes
public IReadOnlyList<string> ErrorCodes { get; init; }
Property Value
ErrorCount
public int ErrorCount { get; init; }
Property Value
HttpStatusCode
public int HttpStatusCode { get; init; }
Property Value
OperationName
public string? OperationName { get; init; }
Property Value
OperationType
public string OperationType { get; init; }
Property Value
VariablesJson
public string? VariablesJson { get; init; }