Share via


EventGridModelFactory.DataBoxOrderCompletedEventData Method

Definition

Initializes a new instance of DataBoxOrderCompletedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.DataBoxOrderCompletedEventData DataBoxOrderCompletedEventData (string serialNumber = default, Azure.Messaging.EventGrid.SystemEvents.DataBoxStageName? stageName = default, DateTimeOffset? stageTime = default);
static member DataBoxOrderCompletedEventData : string * Nullable<Azure.Messaging.EventGrid.SystemEvents.DataBoxStageName> * Nullable<DateTimeOffset> -> Azure.Messaging.EventGrid.SystemEvents.DataBoxOrderCompletedEventData
Public Shared Function DataBoxOrderCompletedEventData (Optional serialNumber As String = Nothing, Optional stageName As Nullable(Of DataBoxStageName) = Nothing, Optional stageTime As Nullable(Of DateTimeOffset) = Nothing) As DataBoxOrderCompletedEventData

Parameters

serialNumber
String

Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated.

stageName
Nullable<DataBoxStageName>

Name of the current Stage.

stageTime
Nullable<DateTimeOffset>

The time at which the stage happened.

Returns

A new DataBoxOrderCompletedEventData instance for mocking.

Applies to