WebhookEventPayloadJsonContext
AgentPrism.Abstractions.dllThe source-generated JSON context for WebhookEventPayloadJsonContext.WebhookEventPayload and its subtypes.
[JsonSourceGenerationOptions(PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)][JsonSerializable(typeof(WebhookEventPayload))]public class WebhookEventPayloadJsonContext : JsonSerializerContext, IJsonTypeInfoResolverInheritance
Section titled “Inheritance”object ← JsonSerializerContext ← WebhookEventPayloadJsonContext
Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”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()
Remarks
Section titled “Remarks”Required for AOT compatibility: the webhook body does not use reflection-based serialization.
Constructors
Section titled “Constructors”WebhookEventPayloadJsonContext()
Section titled “ WebhookEventPayloadJsonContext()”public WebhookEventPayloadJsonContext()WebhookEventPayloadJsonContext(JsonSerializerOptions)
Section titled “ WebhookEventPayloadJsonContext(JsonSerializerOptions)”public WebhookEventPayloadJsonContext(JsonSerializerOptions options)Parameters
Section titled “Parameters”options JsonSerializerOptions
Properties
Section titled “Properties”DateTimeOffset
Section titled “ DateTimeOffset”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<DateTimeOffset> DateTimeOffset { get; }Property Value
Section titled “Property Value”Decimal
Section titled “ Decimal”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<decimal> Decimal { get; }Property Value
Section titled “Property Value”Default
Section titled “ Default”The default JsonSerializerContext associated with a default JsonSerializerOptions instance.
public static WebhookEventPayloadJsonContext Default { get; }Property Value
Section titled “Property Value”WebhookEventPayloadJsonContext
Double
Section titled “ Double”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<double> Double { get; }Property Value
Section titled “Property Value”GeneratedSerializerOptions
Section titled “ GeneratedSerializerOptions”The source-generated options associated with this context.
protected override JsonSerializerOptions? GeneratedSerializerOptions { get; }Property Value
Section titled “Property Value”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<int> Int32 { get; }Property Value
Section titled “Property Value”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<long> Int64 { get; }Property Value
Section titled “Property Value”NullableDateTimeOffset
Section titled “ NullableDateTimeOffset”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<DateTimeOffset?> NullableDateTimeOffset { get; }Property Value
Section titled “Property Value”NullableDecimal
Section titled “ NullableDecimal”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<decimal?> NullableDecimal { get; }Property Value
Section titled “Property Value”NullableInt64
Section titled “ NullableInt64”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<long?> NullableInt64 { get; }Property Value
Section titled “Property Value”QuotaMetric
Section titled “ QuotaMetric”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<QuotaMetric> QuotaMetric { get; }Property Value
Section titled “Property Value”QuotaPeriod
Section titled “ QuotaPeriod”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<QuotaPeriod> QuotaPeriod { get; }Property Value
Section titled “Property Value”String
Section titled “ String”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<string> String { get; }Property Value
Section titled “Property Value”WebhookApprovalSummary
Section titled “ WebhookApprovalSummary”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<WebhookApprovalSummary> WebhookApprovalSummary { get; }Property Value
Section titled “Property Value”JsonTypeInfo<WebhookApprovalSummary>
WebhookEventPayload
Section titled “ WebhookEventPayload”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<WebhookEventPayload> WebhookEventPayload { get; }Property Value
Section titled “Property Value”JsonTypeInfo<WebhookEventPayload>
WebhookJobSummary
Section titled “ WebhookJobSummary”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<WebhookJobSummary> WebhookJobSummary { get; }Property Value
Section titled “Property Value”JsonTypeInfo<WebhookJobSummary>
WebhookQuotaSummary
Section titled “ WebhookQuotaSummary”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<WebhookQuotaSummary> WebhookQuotaSummary { get; }Property Value
Section titled “Property Value”JsonTypeInfo<WebhookQuotaSummary>
WebhookRunSummary
Section titled “ WebhookRunSummary”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<WebhookRunSummary> WebhookRunSummary { get; }Property Value
Section titled “Property Value”JsonTypeInfo<WebhookRunSummary>
WebhookScoreSummary
Section titled “ WebhookScoreSummary”Defines the source generated JSON serialization contract metadata for a given type.
public JsonTypeInfo<WebhookScoreSummary> WebhookScoreSummary { get; }Property Value
Section titled “Property Value”JsonTypeInfo<WebhookScoreSummary>
Methods
Section titled “Methods”GetTypeInfo(Type)
Section titled “ GetTypeInfo(Type)”public override JsonTypeInfo? GetTypeInfo(Type type)Parameters
Section titled “Parameters”type Type