forked from BotBuilderCommunity/botbuilder-community-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDocumentItem.cs
More file actions
40 lines (36 loc) · 1.02 KB
/
DocumentItem.cs
File metadata and controls
40 lines (36 loc) · 1.02 KB
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
using Newtonsoft.Json.Linq;
using System;
namespace Bot.Builder.Community.Storage.Elasticsearch
{
public class DocumentItem
{
/// <summary>
/// Gets or sets the sanitized Id/Key as Object Id.
/// </summary>
/// <value>
/// The sanitized Id/Key as Object Id.
/// </value>
public string Id { get; set; }
/// <summary>
/// Gets or sets the un-sanitized Id/Key.
/// </summary>
/// <value>
/// The un-sanitized Id/Key.
/// </value>
public string RealId { get; set; }
/// <summary>
/// Gets or sets the persisted object's state.
/// </summary>
/// <value>
/// The persisted object's state.
/// </value>
public JObject Document { get; set; }
/// <summary>
/// Gets or sets the current timestamp.
/// </summary>
/// <value>
/// The current timestamp.
/// </value>
public DateTime Timestamp { get; set; }
}
}