| | 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 an |
| | 18 | | /// Microsoft.AppConfiguration.KeyValueDeleted event. |
| | 19 | | /// </summary> |
| | 20 | | public partial class AppConfigurationKeyValueDeletedEventData |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the |
| | 24 | | /// AppConfigurationKeyValueDeletedEventData class. |
| | 25 | | /// </summary> |
| 1 | 26 | | public AppConfigurationKeyValueDeletedEventData() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 1 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the |
| | 33 | | /// AppConfigurationKeyValueDeletedEventData class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="key">The key used to identify the key-value that was |
| | 36 | | /// deleted.</param> |
| | 37 | | /// <param name="label">The label, if any, used to identify the |
| | 38 | | /// key-value that was deleted.</param> |
| | 39 | | /// <param name="etag">The etag representing the key-value that was |
| | 40 | | /// deleted.</param> |
| 0 | 41 | | public AppConfigurationKeyValueDeletedEventData(string key = default(string), string label = default(string), st |
| | 42 | | { |
| 0 | 43 | | Key = key; |
| 0 | 44 | | Label = label; |
| 0 | 45 | | Etag = etag; |
| | 46 | | CustomInit(); |
| 0 | 47 | | } |
| | 48 | |
|
| | 49 | | /// <summary> |
| | 50 | | /// An initialization method that performs custom operations like setting defaults |
| | 51 | | /// </summary> |
| | 52 | | partial void CustomInit(); |
| | 53 | |
|
| | 54 | | /// <summary> |
| | 55 | | /// Gets or sets the key used to identify the key-value that was |
| | 56 | | /// deleted. |
| | 57 | | /// </summary> |
| | 58 | | [JsonProperty(PropertyName = "key")] |
| 2 | 59 | | public string Key { get; set; } |
| | 60 | |
|
| | 61 | | /// <summary> |
| | 62 | | /// Gets or sets the label, if any, used to identify the key-value that |
| | 63 | | /// was deleted. |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "label")] |
| 0 | 66 | | public string Label { get; set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets or sets the etag representing the key-value that was deleted. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "etag")] |
| 0 | 72 | | public string Etag { get; set; } |
| | 73 | |
|
| | 74 | | } |
| | 75 | | } |