-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AcsChatThreadPropertiesUpdatedPerUserEventData.cs
50 lines (44 loc) · 3.04 KB
/
AcsChatThreadPropertiesUpdatedPerUserEventData.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
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser event. </summary>
public partial class AcsChatThreadPropertiesUpdatedPerUserEventData : AcsChatThreadEventBaseProperties
{
/// <summary> Initializes a new instance of <see cref="AcsChatThreadPropertiesUpdatedPerUserEventData"/>. </summary>
internal AcsChatThreadPropertiesUpdatedPerUserEventData()
{
Metadata = new ChangeTrackingDictionary<string, string>();
Properties = new ChangeTrackingDictionary<string, object>();
}
/// <summary> Initializes a new instance of <see cref="AcsChatThreadPropertiesUpdatedPerUserEventData"/>. </summary>
/// <param name="recipientCommunicationIdentifier"> The communication identifier of the target user. </param>
/// <param name="transactionId"> The transaction id will be used as co-relation vector. </param>
/// <param name="threadId"> The chat thread id. </param>
/// <param name="createTime"> The original creation time of the thread. </param>
/// <param name="version"> The version of the thread. </param>
/// <param name="editedByCommunicationIdentifier"> The communication identifier of the user who updated the thread properties. </param>
/// <param name="editTime"> The time at which the properties of the thread were updated. </param>
/// <param name="metadata"> The thread metadata. </param>
/// <param name="properties"> The updated thread properties. </param>
internal AcsChatThreadPropertiesUpdatedPerUserEventData(CommunicationIdentifierModel recipientCommunicationIdentifier, string transactionId, string threadId, DateTimeOffset? createTime, long? version, CommunicationIdentifierModel editedByCommunicationIdentifier, DateTimeOffset? editTime, IReadOnlyDictionary<string, string> metadata, IReadOnlyDictionary<string, object> properties) : base(recipientCommunicationIdentifier, transactionId, threadId, createTime, version)
{
EditedByCommunicationIdentifier = editedByCommunicationIdentifier;
EditTime = editTime;
Metadata = metadata;
Properties = properties;
}
/// <summary> The communication identifier of the user who updated the thread properties. </summary>
public CommunicationIdentifierModel EditedByCommunicationIdentifier { get; }
/// <summary> The time at which the properties of the thread were updated. </summary>
public DateTimeOffset? EditTime { get; }
/// <summary> The thread metadata. </summary>
public IReadOnlyDictionary<string, string> Metadata { get; }
/// <summary> The updated thread properties. </summary>
public IReadOnlyDictionary<string, object> Properties { get; }
}
}