| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.EventGrid.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Schema of the Data property of an EventGridEvent for a |
| | 18 | | /// Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListenersEvent |
| | 19 | | /// event. |
| | 20 | | /// </summary> |
| | 21 | | public partial class ServiceBusDeadletterMessagesAvailableWithNoListenersEventData |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the |
| | 25 | | /// ServiceBusDeadletterMessagesAvailableWithNoListenersEventData |
| | 26 | | /// class. |
| | 27 | | /// </summary> |
| 2 | 28 | | public ServiceBusDeadletterMessagesAvailableWithNoListenersEventData() |
| | 29 | | { |
| | 30 | | CustomInit(); |
| 2 | 31 | | } |
| | 32 | |
|
| | 33 | | /// <summary> |
| | 34 | | /// Initializes a new instance of the |
| | 35 | | /// ServiceBusDeadletterMessagesAvailableWithNoListenersEventData |
| | 36 | | /// class. |
| | 37 | | /// </summary> |
| | 38 | | /// <param name="namespaceName">The namespace name of the |
| | 39 | | /// Microsoft.ServiceBus resource.</param> |
| | 40 | | /// <param name="requestUri">The endpoint of the Microsoft.ServiceBus |
| | 41 | | /// resource.</param> |
| | 42 | | /// <param name="entityType">The entity type of the |
| | 43 | | /// Microsoft.ServiceBus resource. Could be one of 'queue' or |
| | 44 | | /// 'subscriber'.</param> |
| | 45 | | /// <param name="queueName">The name of the Microsoft.ServiceBus queue. |
| | 46 | | /// If the entity type is of type 'subscriber', then this value will be |
| | 47 | | /// null.</param> |
| | 48 | | /// <param name="topicName">The name of the Microsoft.ServiceBus topic. |
| | 49 | | /// If the entity type is of type 'queue', then this value will be |
| | 50 | | /// null.</param> |
| | 51 | | /// <param name="subscriptionName">The name of the Microsoft.ServiceBus |
| | 52 | | /// topic's subscription. If the entity type is of type 'queue', then |
| | 53 | | /// this value will be null.</param> |
| 0 | 54 | | public ServiceBusDeadletterMessagesAvailableWithNoListenersEventData(string namespaceName = default(string), str |
| | 55 | | { |
| 0 | 56 | | NamespaceName = namespaceName; |
| 0 | 57 | | RequestUri = requestUri; |
| 0 | 58 | | EntityType = entityType; |
| 0 | 59 | | QueueName = queueName; |
| 0 | 60 | | TopicName = topicName; |
| 0 | 61 | | SubscriptionName = subscriptionName; |
| | 62 | | CustomInit(); |
| 0 | 63 | | } |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// An initialization method that performs custom operations like setting defaults |
| | 67 | | /// </summary> |
| | 68 | | partial void CustomInit(); |
| | 69 | |
|
| | 70 | | /// <summary> |
| | 71 | | /// Gets or sets the namespace name of the Microsoft.ServiceBus |
| | 72 | | /// resource. |
| | 73 | | /// </summary> |
| | 74 | | [JsonProperty(PropertyName = "namespaceName")] |
| 3 | 75 | | public string NamespaceName { get; set; } |
| | 76 | |
|
| | 77 | | /// <summary> |
| | 78 | | /// Gets or sets the endpoint of the Microsoft.ServiceBus resource. |
| | 79 | | /// </summary> |
| | 80 | | [JsonProperty(PropertyName = "requestUri")] |
| 0 | 81 | | public string RequestUri { get; set; } |
| | 82 | |
|
| | 83 | | /// <summary> |
| | 84 | | /// Gets or sets the entity type of the Microsoft.ServiceBus resource. |
| | 85 | | /// Could be one of 'queue' or 'subscriber'. |
| | 86 | | /// </summary> |
| | 87 | | [JsonProperty(PropertyName = "entityType")] |
| 0 | 88 | | public string EntityType { get; set; } |
| | 89 | |
|
| | 90 | | /// <summary> |
| | 91 | | /// Gets or sets the name of the Microsoft.ServiceBus queue. If the |
| | 92 | | /// entity type is of type 'subscriber', then this value will be null. |
| | 93 | | /// </summary> |
| | 94 | | [JsonProperty(PropertyName = "queueName")] |
| 0 | 95 | | public string QueueName { get; set; } |
| | 96 | |
|
| | 97 | | /// <summary> |
| | 98 | | /// Gets or sets the name of the Microsoft.ServiceBus topic. If the |
| | 99 | | /// entity type is of type 'queue', then this value will be null. |
| | 100 | | /// </summary> |
| | 101 | | [JsonProperty(PropertyName = "topicName")] |
| 0 | 102 | | public string TopicName { get; set; } |
| | 103 | |
|
| | 104 | | /// <summary> |
| | 105 | | /// Gets or sets the name of the Microsoft.ServiceBus topic's |
| | 106 | | /// subscription. If the entity type is of type 'queue', then this |
| | 107 | | /// value will be null. |
| | 108 | | /// </summary> |
| | 109 | | [JsonProperty(PropertyName = "subscriptionName")] |
| 0 | 110 | | public string SubscriptionName { get; set; } |
| | 111 | |
|
| | 112 | | } |
| | 113 | | } |