-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
NotificationRegistrationProperties.cs
49 lines (43 loc) · 2.21 KB
/
NotificationRegistrationProperties.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
39
40
41
42
43
44
45
46
47
48
49
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.ProviderHub.Models
{
/// <summary> The NotificationRegistrationProperties. </summary>
public partial class NotificationRegistrationProperties
{
/// <summary> Initializes a new instance of <see cref="NotificationRegistrationProperties"/>. </summary>
public NotificationRegistrationProperties()
{
IncludedEvents = new ChangeTrackingList<string>();
NotificationEndpoints = new ChangeTrackingList<NotificationEndpoint>();
}
/// <summary> Initializes a new instance of <see cref="NotificationRegistrationProperties"/>. </summary>
/// <param name="notificationMode"></param>
/// <param name="messageScope"></param>
/// <param name="includedEvents"></param>
/// <param name="notificationEndpoints"></param>
/// <param name="provisioningState"></param>
internal NotificationRegistrationProperties(NotificationMode? notificationMode, MessageScope? messageScope, IList<string> includedEvents, IList<NotificationEndpoint> notificationEndpoints, ProviderHubProvisioningState? provisioningState)
{
NotificationMode = notificationMode;
MessageScope = messageScope;
IncludedEvents = includedEvents;
NotificationEndpoints = notificationEndpoints;
ProvisioningState = provisioningState;
}
/// <summary> Gets or sets the notification mode. </summary>
public NotificationMode? NotificationMode { get; set; }
/// <summary> Gets or sets the message scope. </summary>
public MessageScope? MessageScope { get; set; }
/// <summary> Gets the included events. </summary>
public IList<string> IncludedEvents { get; }
/// <summary> Gets the notification endpoints. </summary>
public IList<NotificationEndpoint> NotificationEndpoints { get; }
/// <summary> Gets or sets the provisioning state. </summary>
public ProviderHubProvisioningState? ProvisioningState { get; set; }
}
}