| | 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.Cache.ExportRDBCompleted event. |
| | 19 | | /// </summary> |
| | 20 | | public partial class RedisExportRDBCompletedEventData |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the RedisExportRDBCompletedEventData |
| | 24 | | /// class. |
| | 25 | | /// </summary> |
| 0 | 26 | | public RedisExportRDBCompletedEventData() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 0 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the RedisExportRDBCompletedEventData |
| | 33 | | /// class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="timestamp">The time at which the event |
| | 36 | | /// occurred.</param> |
| | 37 | | /// <param name="name">The name of this event.</param> |
| | 38 | | /// <param name="status">The status of this event. Failed or succeeded |
| | 39 | | /// </param> |
| 0 | 40 | | public RedisExportRDBCompletedEventData(System.DateTime? timestamp = default(System.DateTime?), string name = de |
| | 41 | | { |
| 0 | 42 | | Timestamp = timestamp; |
| 0 | 43 | | Name = name; |
| 0 | 44 | | Status = status; |
| | 45 | | CustomInit(); |
| 0 | 46 | | } |
| | 47 | |
|
| | 48 | | /// <summary> |
| | 49 | | /// An initialization method that performs custom operations like setting defaults |
| | 50 | | /// </summary> |
| | 51 | | partial void CustomInit(); |
| | 52 | |
|
| | 53 | | /// <summary> |
| | 54 | | /// Gets or sets the time at which the event occurred. |
| | 55 | | /// </summary> |
| | 56 | | [JsonProperty(PropertyName = "timestamp")] |
| 0 | 57 | | public System.DateTime? Timestamp { get; set; } |
| | 58 | |
|
| | 59 | | /// <summary> |
| | 60 | | /// Gets or sets the name of this event. |
| | 61 | | /// </summary> |
| | 62 | | [JsonProperty(PropertyName = "name")] |
| 0 | 63 | | public string Name { get; set; } |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// Gets or sets the status of this event. Failed or succeeded |
| | 67 | | /// </summary> |
| | 68 | | [JsonProperty(PropertyName = "status")] |
| 0 | 69 | | public string Status { get; set; } |
| | 70 | |
|
| | 71 | | } |
| | 72 | | } |