| | 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 | | /// CertificateNewVersionCreated event. |
| | 19 | | /// </summary> |
| | 20 | | public partial class KeyVaultCertificateNewVersionCreatedEventData |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the |
| | 24 | | /// KeyVaultCertificateNewVersionCreatedEventData class. |
| | 25 | | /// </summary> |
| 0 | 26 | | public KeyVaultCertificateNewVersionCreatedEventData() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 0 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the |
| | 33 | | /// KeyVaultCertificateNewVersionCreatedEventData class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="id">The id of the object that triggered this |
| | 36 | | /// event.</param> |
| | 37 | | /// <param name="vaultName">Key vault name of the object that triggered |
| | 38 | | /// this event.</param> |
| | 39 | | /// <param name="objectType">The type of the object that triggered this |
| | 40 | | /// event</param> |
| | 41 | | /// <param name="objectName">The name of the object that triggered this |
| | 42 | | /// event</param> |
| | 43 | | /// <param name="version">The version of the object that triggered this |
| | 44 | | /// event</param> |
| | 45 | | /// <param name="nbf">Not before date of the object that triggered this |
| | 46 | | /// event</param> |
| | 47 | | /// <param name="exp">The expiration date of the object that triggered |
| | 48 | | /// this event</param> |
| 0 | 49 | | public KeyVaultCertificateNewVersionCreatedEventData(string id = default(string), string vaultName = default(str |
| | 50 | | { |
| 0 | 51 | | Id = id; |
| 0 | 52 | | VaultName = vaultName; |
| 0 | 53 | | ObjectType = objectType; |
| 0 | 54 | | ObjectName = objectName; |
| 0 | 55 | | Version = version; |
| 0 | 56 | | Nbf = nbf; |
| 0 | 57 | | Exp = exp; |
| | 58 | | CustomInit(); |
| 0 | 59 | | } |
| | 60 | |
|
| | 61 | | /// <summary> |
| | 62 | | /// An initialization method that performs custom operations like setting defaults |
| | 63 | | /// </summary> |
| | 64 | | partial void CustomInit(); |
| | 65 | |
|
| | 66 | | /// <summary> |
| | 67 | | /// Gets or sets the id of the object that triggered this event. |
| | 68 | | /// </summary> |
| | 69 | | [JsonProperty(PropertyName = "id")] |
| 0 | 70 | | public string Id { get; set; } |
| | 71 | |
|
| | 72 | | /// <summary> |
| | 73 | | /// Gets or sets key vault name of the object that triggered this |
| | 74 | | /// event. |
| | 75 | | /// </summary> |
| | 76 | | [JsonProperty(PropertyName = "vaultName")] |
| 0 | 77 | | public string VaultName { get; set; } |
| | 78 | |
|
| | 79 | | /// <summary> |
| | 80 | | /// Gets or sets the type of the object that triggered this event |
| | 81 | | /// </summary> |
| | 82 | | [JsonProperty(PropertyName = "objectType")] |
| 0 | 83 | | public string ObjectType { get; set; } |
| | 84 | |
|
| | 85 | | /// <summary> |
| | 86 | | /// Gets or sets the name of the object that triggered this event |
| | 87 | | /// </summary> |
| | 88 | | [JsonProperty(PropertyName = "objectName")] |
| 0 | 89 | | public string ObjectName { get; set; } |
| | 90 | |
|
| | 91 | | /// <summary> |
| | 92 | | /// Gets or sets the version of the object that triggered this event |
| | 93 | | /// </summary> |
| | 94 | | [JsonProperty(PropertyName = "version")] |
| 0 | 95 | | public string Version { get; set; } |
| | 96 | |
|
| | 97 | | /// <summary> |
| | 98 | | /// Gets or sets not before date of the object that triggered this |
| | 99 | | /// event |
| | 100 | | /// </summary> |
| | 101 | | [JsonProperty(PropertyName = "nbf")] |
| 0 | 102 | | public double? Nbf { get; set; } |
| | 103 | |
|
| | 104 | | /// <summary> |
| | 105 | | /// Gets or sets the expiration date of the object that triggered this |
| | 106 | | /// event |
| | 107 | | /// </summary> |
| | 108 | | [JsonProperty(PropertyName = "exp")] |
| 0 | 109 | | public double? Exp { get; set; } |
| | 110 | |
|
| | 111 | | } |
| | 112 | | } |