| | 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.ImportRDBCompleted event. </su |
| | 13 | | public partial class RedisImportRDBCompletedEventData |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of RedisImportRDBCompletedEventData. </summary> |
| 0 | 16 | | internal RedisImportRDBCompletedEventData() |
| | 17 | | { |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | /// <summary> Initializes a new instance of RedisImportRDBCompletedEventData. </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 RedisImportRDBCompletedEventData(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 | | } |