Compartilhar via


IJsonFieldWithDefault Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.JsonFieldWithDefaultTypeConverter))]
public interface IJsonFieldWithDefault : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.JsonFieldWithDefaultTypeConverter))>]
type IJsonFieldWithDefault = interface
    interface IJsonSerializable
Public Interface IJsonFieldWithDefault
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

DefaultValue

The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.

SourceField

Name of a field in the input event schema that's to be used as the source of a mapping.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to