Skip to content

WebhookEventPayloadJsonContext

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The source-generated JSON context for WebhookEventPayloadJsonContext.WebhookEventPayload and its subtypes.

[JsonSourceGenerationOptions(PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)]
[JsonSerializable(typeof(WebhookEventPayload))]
public class WebhookEventPayloadJsonContext : JsonSerializerContext, IJsonTypeInfoResolver

objectJsonSerializerContextWebhookEventPayloadJsonContext

IJsonTypeInfoResolver

JsonSerializerContext.GetTypeInfo(Type), JsonSerializerContext.Options, JsonSerializerContext.GeneratedSerializerOptions, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Required for AOT compatibility: the webhook body does not use reflection-based serialization.

public WebhookEventPayloadJsonContext()

WebhookEventPayloadJsonContext(JsonSerializerOptions)

Section titled “ WebhookEventPayloadJsonContext(JsonSerializerOptions)”
public WebhookEventPayloadJsonContext(JsonSerializerOptions options)

options JsonSerializerOptions

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<DateTimeOffset> DateTimeOffset { get; }

JsonTypeInfo<DateTimeOffset>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<decimal> Decimal { get; }

JsonTypeInfo<decimal>

The default JsonSerializerContext associated with a default JsonSerializerOptions instance.

public static WebhookEventPayloadJsonContext Default { get; }

WebhookEventPayloadJsonContext

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<double> Double { get; }

JsonTypeInfo<double>

The source-generated options associated with this context.

protected override JsonSerializerOptions? GeneratedSerializerOptions { get; }

JsonSerializerOptions?

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<int> Int32 { get; }

JsonTypeInfo<int>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<long> Int64 { get; }

JsonTypeInfo<long>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<DateTimeOffset?> NullableDateTimeOffset { get; }

JsonTypeInfo<DateTimeOffset?>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<decimal?> NullableDecimal { get; }

JsonTypeInfo<decimal?>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<long?> NullableInt64 { get; }

JsonTypeInfo<long?>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<QuotaMetric> QuotaMetric { get; }

JsonTypeInfo<QuotaMetric>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<QuotaPeriod> QuotaPeriod { get; }

JsonTypeInfo<QuotaPeriod>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<string> String { get; }

JsonTypeInfo<string>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<WebhookApprovalSummary> WebhookApprovalSummary { get; }

JsonTypeInfo<WebhookApprovalSummary>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<WebhookEventPayload> WebhookEventPayload { get; }

JsonTypeInfo<WebhookEventPayload>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<WebhookJobSummary> WebhookJobSummary { get; }

JsonTypeInfo<WebhookJobSummary>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<WebhookQuotaSummary> WebhookQuotaSummary { get; }

JsonTypeInfo<WebhookQuotaSummary>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<WebhookRunSummary> WebhookRunSummary { get; }

JsonTypeInfo<WebhookRunSummary>

Defines the source generated JSON serialization contract metadata for a given type.

public JsonTypeInfo<WebhookScoreSummary> WebhookScoreSummary { get; }

JsonTypeInfo<WebhookScoreSummary>

public override JsonTypeInfo? GetTypeInfo(Type type)

type Type

JsonTypeInfo?