-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DynamicDeliveryAttributeMapping.cs
32 lines (27 loc) · 1.32 KB
/
DynamicDeliveryAttributeMapping.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.EventGrid.Models
{
/// <summary> Dynamic delivery attribute mapping details. </summary>
public partial class DynamicDeliveryAttributeMapping : DeliveryAttributeMapping
{
/// <summary> Initializes a new instance of DynamicDeliveryAttributeMapping. </summary>
public DynamicDeliveryAttributeMapping()
{
MappingType = DeliveryAttributeMappingType.Dynamic;
}
/// <summary> Initializes a new instance of DynamicDeliveryAttributeMapping. </summary>
/// <param name="name"> Name of the delivery attribute or header. </param>
/// <param name="mappingType"> Type of the delivery attribute or header name. </param>
/// <param name="sourceField"> JSON path in the event which contains attribute value. </param>
internal DynamicDeliveryAttributeMapping(string name, DeliveryAttributeMappingType mappingType, string sourceField) : base(name, mappingType)
{
SourceField = sourceField;
MappingType = mappingType;
}
/// <summary> JSON path in the event which contains attribute value. </summary>
public string SourceField { get; set; }
}
}