-
Notifications
You must be signed in to change notification settings - Fork 257
/
HandoffContext.cs
77 lines (65 loc) · 2.31 KB
/
HandoffContext.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
using Newtonsoft.Json;
namespace Microsoft.PVA.Handoff
{
public class HandoffContext
{
/// <summary>
/// Scope of the activity - bot/user
/// </summary>
[JsonProperty(PropertyName = "va_Scope")]
public string Scope { get; set; }
/// <summary>
/// Last topic triggered in conversation
/// </summary>
[JsonProperty(PropertyName = "va_LastTopic")]
public string LastTopic { get; set; }
/// <summary>
/// All topics triggered in conversation
/// </summary>
[JsonProperty(PropertyName = "va_Topics")]
public string[] Topics { get; set; }
/// <summary>
/// Last user phrase
/// </summary>
[JsonProperty(PropertyName = "va_LastPhrase")]
public string LastPhrase { get; set; }
/// <summary>
/// All user phrases
/// </summary>
[JsonProperty(PropertyName = "va_Phrases")]
public string[] Phrases { get; set; }
/// <summary>
/// Conversation Id
/// </summary>
[JsonProperty(PropertyName = "va_ConversationId")]
public string ConversationId { get; set; }
/// <summary>
/// Message for agent as configured in dialog
/// </summary>
[JsonProperty(PropertyName = "va_AgentMessage")]
public string AgentMessage { get; set; }
/// <summary>
/// Bot Id
/// </summary>
[JsonProperty(PropertyName = "va_BotId")]
public string BotId { get; set; }
/// <summary>
/// Bot Name
/// </summary>
[JsonProperty(PropertyName = "va_BotName")]
public string BotName { get; set; }
/// <summary>
/// Language
/// </summary>
[JsonProperty(PropertyName = "va_Language")]
public string Language { get; set; }
/// <summary>
/// MS Caller Id
/// </summary>
[JsonProperty(PropertyName = "MSCallerId")]
public string MSCallerId { get; set; }
}
}