-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AcsSmsReceivedEventData.cs
37 lines (31 loc) · 1.5 KB
/
AcsSmsReceivedEventData.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
// 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.Communication.SMSReceived event. </summary>
public partial class AcsSmsReceivedEventData : AcsSmsEventBaseProperties
{
/// <summary> Initializes a new instance of AcsSmsReceivedEventData. </summary>
internal AcsSmsReceivedEventData()
{
}
/// <summary> Initializes a new instance of AcsSmsReceivedEventData. </summary>
/// <param name="messageId"> The identity of the SMS message. </param>
/// <param name="from"> The identity of SMS message sender. </param>
/// <param name="to"> The identity of SMS message receiver. </param>
/// <param name="message"> The SMS content. </param>
/// <param name="receivedTimestamp"> The time at which the SMS was received. </param>
internal AcsSmsReceivedEventData(string messageId, string @from, string to, string message, DateTimeOffset? receivedTimestamp) : base(messageId, @from, to)
{
Message = message;
ReceivedTimestamp = receivedTimestamp;
}
/// <summary> The SMS content. </summary>
public string Message { get; }
/// <summary> The time at which the SMS was received. </summary>
public DateTimeOffset? ReceivedTimestamp { get; }
}
}