-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DataBoxOrderCompletedEventData.cs
38 lines (32 loc) · 1.65 KB
/
DataBoxOrderCompletedEventData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.OrderCompleted event. </summary>
public partial class DataBoxOrderCompletedEventData
{
/// <summary> Initializes a new instance of DataBoxOrderCompletedEventData. </summary>
internal DataBoxOrderCompletedEventData()
{
}
/// <summary> Initializes a new instance of DataBoxOrderCompletedEventData. </summary>
/// <param name="serialNumber"> Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated. </param>
/// <param name="stageName"> Name of the current Stage. </param>
/// <param name="stageTime"> The time at which the stage happened. </param>
internal DataBoxOrderCompletedEventData(string serialNumber, DataBoxStageName? stageName, DateTimeOffset? stageTime)
{
SerialNumber = serialNumber;
StageName = stageName;
StageTime = stageTime;
}
/// <summary> Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated. </summary>
public string SerialNumber { get; }
/// <summary> Name of the current Stage. </summary>
public DataBoxStageName? StageName { get; }
/// <summary> The time at which the stage happened. </summary>
public DateTimeOffset? StageTime { get; }
}
}