| | 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.ActiveMessagesAvailableWithNoListeners event. |
| | 19 | | /// </summary> |
| | 20 | | public partial class ServiceBusActiveMessagesAvailableWithNoListenersEventData |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the |
| | 24 | | /// ServiceBusActiveMessagesAvailableWithNoListenersEventData class. |
| | 25 | | /// </summary> |
| 1 | 26 | | public ServiceBusActiveMessagesAvailableWithNoListenersEventData() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 1 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the |
| | 33 | | /// ServiceBusActiveMessagesAvailableWithNoListenersEventData class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="namespaceName">The namespace name of the |
| | 36 | | /// Microsoft.ServiceBus resource.</param> |
| | 37 | | /// <param name="requestUri">The endpoint of the Microsoft.ServiceBus |
| | 38 | | /// resource.</param> |
| | 39 | | /// <param name="entityType">The entity type of the |
| | 40 | | /// Microsoft.ServiceBus resource. Could be one of 'queue' or |
| | 41 | | /// 'subscriber'.</param> |
| | 42 | | /// <param name="queueName">The name of the Microsoft.ServiceBus queue. |
| | 43 | | /// If the entity type is of type 'subscriber', then this value will be |
| | 44 | | /// null.</param> |
| | 45 | | /// <param name="topicName">The name of the Microsoft.ServiceBus topic. |
| | 46 | | /// If the entity type is of type 'queue', then this value will be |
| | 47 | | /// null.</param> |
| | 48 | | /// <param name="subscriptionName">The name of the Microsoft.ServiceBus |
| | 49 | | /// topic's subscription. If the entity type is of type 'queue', then |
| | 50 | | /// this value will be null.</param> |
| 0 | 51 | | public ServiceBusActiveMessagesAvailableWithNoListenersEventData(string namespaceName = default(string), string |
| | 52 | | { |
| 0 | 53 | | NamespaceName = namespaceName; |
| 0 | 54 | | RequestUri = requestUri; |
| 0 | 55 | | EntityType = entityType; |
| 0 | 56 | | QueueName = queueName; |
| 0 | 57 | | TopicName = topicName; |
| 0 | 58 | | SubscriptionName = subscriptionName; |
| | 59 | | CustomInit(); |
| 0 | 60 | | } |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// An initialization method that performs custom operations like setting defaults |
| | 64 | | /// </summary> |
| | 65 | | partial void CustomInit(); |
| | 66 | |
|
| | 67 | | /// <summary> |
| | 68 | | /// Gets or sets the namespace name of the Microsoft.ServiceBus |
| | 69 | | /// resource. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "namespaceName")] |
| 2 | 72 | | public string NamespaceName { get; set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets or sets the endpoint of the Microsoft.ServiceBus resource. |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "requestUri")] |
| 0 | 78 | | public string RequestUri { get; set; } |
| | 79 | |
|
| | 80 | | /// <summary> |
| | 81 | | /// Gets or sets the entity type of the Microsoft.ServiceBus resource. |
| | 82 | | /// Could be one of 'queue' or 'subscriber'. |
| | 83 | | /// </summary> |
| | 84 | | [JsonProperty(PropertyName = "entityType")] |
| 0 | 85 | | public string EntityType { get; set; } |
| | 86 | |
|
| | 87 | | /// <summary> |
| | 88 | | /// Gets or sets the name of the Microsoft.ServiceBus queue. If the |
| | 89 | | /// entity type is of type 'subscriber', then this value will be null. |
| | 90 | | /// </summary> |
| | 91 | | [JsonProperty(PropertyName = "queueName")] |
| 0 | 92 | | public string QueueName { get; set; } |
| | 93 | |
|
| | 94 | | /// <summary> |
| | 95 | | /// Gets or sets the name of the Microsoft.ServiceBus topic. If the |
| | 96 | | /// entity type is of type 'queue', then this value will be null. |
| | 97 | | /// </summary> |
| | 98 | | [JsonProperty(PropertyName = "topicName")] |
| 0 | 99 | | public string TopicName { get; set; } |
| | 100 | |
|
| | 101 | | /// <summary> |
| | 102 | | /// Gets or sets the name of the Microsoft.ServiceBus topic's |
| | 103 | | /// subscription. If the entity type is of type 'queue', then this |
| | 104 | | /// value will be null. |
| | 105 | | /// </summary> |
| | 106 | | [JsonProperty(PropertyName = "subscriptionName")] |
| 0 | 107 | | public string SubscriptionName { get; set; } |
| | 108 | |
|
| | 109 | | } |
| | 110 | | } |