-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
AcsChatThreadEventInThreadBaseProperties.cs
45 lines (38 loc) · 2.1 KB
/
AcsChatThreadEventInThreadBaseProperties.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
// 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 common properties of all chat thread events. </summary>
public partial class AcsChatThreadEventInThreadBaseProperties : AcsChatEventInThreadBaseProperties
{
/// <summary> Initializes a new instance of <see cref="AcsChatThreadEventInThreadBaseProperties"/>. </summary>
/// <param name="createTime"> The original creation time of the thread. </param>
internal AcsChatThreadEventInThreadBaseProperties(DateTimeOffset createTime)
{
CreateTime = createTime;
}
/// <summary> Initializes a new instance of <see cref="AcsChatThreadEventInThreadBaseProperties"/>. </summary>
/// <param name="transactionId"> The transaction id will be used as co-relation vector. </param>
/// <param name="threadId"> The chat thread id. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="createTime"> The original creation time of the thread. </param>
/// <param name="version"> The version of the thread. </param>
internal AcsChatThreadEventInThreadBaseProperties(string transactionId, string threadId, IDictionary<string, BinaryData> serializedAdditionalRawData, DateTimeOffset createTime, long? version) : base(transactionId, threadId, serializedAdditionalRawData)
{
CreateTime = createTime;
Version = version;
}
/// <summary> Initializes a new instance of <see cref="AcsChatThreadEventInThreadBaseProperties"/> for deserialization. </summary>
internal AcsChatThreadEventInThreadBaseProperties()
{
}
/// <summary> The original creation time of the thread. </summary>
public DateTimeOffset CreateTime { get; }
/// <summary> The version of the thread. </summary>
public long? Version { get; }
}
}