/
ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData.cs
48 lines (43 loc) · 3.09 KB
/
ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications event. </summary>
public partial class ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData
{
/// <summary> Initializes a new instance of ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData. </summary>
internal ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData()
{
}
/// <summary> Initializes a new instance of ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData. </summary>
/// <param name="namespaceName"> The namespace name of the Microsoft.ServiceBus resource. </param>
/// <param name="requestUri"> The endpoint of the Microsoft.ServiceBus resource. </param>
/// <param name="entityType"> The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'. </param>
/// <param name="queueName"> The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null. </param>
/// <param name="topicName"> The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null. </param>
/// <param name="subscriptionName"> The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null. </param>
internal ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData(string namespaceName, string requestUri, string entityType, string queueName, string topicName, string subscriptionName)
{
NamespaceName = namespaceName;
RequestUri = requestUri;
EntityType = entityType;
QueueName = queueName;
TopicName = topicName;
SubscriptionName = subscriptionName;
}
/// <summary> The namespace name of the Microsoft.ServiceBus resource. </summary>
public string NamespaceName { get; }
/// <summary> The endpoint of the Microsoft.ServiceBus resource. </summary>
public string RequestUri { get; }
/// <summary> The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'. </summary>
public string EntityType { get; }
/// <summary> The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null. </summary>
public string QueueName { get; }
/// <summary> The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null. </summary>
public string TopicName { get; }
/// <summary> The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null. </summary>
public string SubscriptionName { get; }
}
}