-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
IntegrationAccountTrackingEventsContent.cs
38 lines (32 loc) · 1.46 KB
/
IntegrationAccountTrackingEventsContent.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
33
34
35
36
37
38
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Azure.Core;
namespace Azure.ResourceManager.Logic.Models
{
/// <summary> The tracking events definition. </summary>
public partial class IntegrationAccountTrackingEventsContent
{
/// <summary> Initializes a new instance of <see cref="IntegrationAccountTrackingEventsContent"/>. </summary>
/// <param name="sourceType"> The source type. </param>
/// <param name="events"> The events. </param>
/// <exception cref="ArgumentNullException"> <paramref name="sourceType"/> or <paramref name="events"/> is null. </exception>
public IntegrationAccountTrackingEventsContent(string sourceType, IEnumerable<IntegrationAccountTrackingEvent> events)
{
Argument.AssertNotNull(sourceType, nameof(sourceType));
Argument.AssertNotNull(events, nameof(events));
SourceType = sourceType;
Events = events.ToList();
}
/// <summary> The source type. </summary>
public string SourceType { get; }
/// <summary> The track events options. </summary>
public IntegrationAccountTrackEventOperationOption? TrackEventsOptions { get; set; }
/// <summary> The events. </summary>
public IList<IntegrationAccountTrackingEvent> Events { get; }
}
}