| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 11 | | { |
| | 12 | | /// <summary> Schema of the Data property of an EventGridEvent for an Microsoft.Cache.ExportRDBCompleted event. </su |
| | 13 | | public partial class RedisExportRDBCompletedEventData |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of RedisExportRDBCompletedEventData. </summary> |
| 0 | 16 | | internal RedisExportRDBCompletedEventData() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of RedisExportRDBCompletedEventData. </summary> |
| | 21 | | /// <param name="timestamp"> The time at which the event occurred. </param> |
| | 22 | | /// <param name="name"> The name of this event. </param> |
| | 23 | | /// <param name="status"> The status of this event. Failed or succeeded. </param> |
| 0 | 24 | | internal RedisExportRDBCompletedEventData(DateTimeOffset? timestamp, string name, string status) |
| | 25 | | { |
| 0 | 26 | | Timestamp = timestamp; |
| 0 | 27 | | Name = name; |
| 0 | 28 | | Status = status; |
| 0 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> The time at which the event occurred. </summary> |
| 0 | 32 | | public DateTimeOffset? Timestamp { get; } |
| | 33 | | /// <summary> The name of this event. </summary> |
| 0 | 34 | | public string Name { get; } |
| | 35 | | /// <summary> The status of this event. Failed or succeeded. </summary> |
| 0 | 36 | | public string Status { get; } |
| | 37 | | } |
| | 38 | | } |