using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// IntentQueryRequest Data Structure. /// [Serializable] public class IntentQueryRequest : AopObject { /// /// 用户的请求来自的操作动作来源 /// [XmlElement("action_src")] public string ActionSrc { get; set; } /// /// 客户端操作系统类型 /// [XmlElement("client_os")] public string ClientOs { get; set; } /// /// 客户端版本号 /// [XmlElement("client_version")] public string ClientVersion { get; set; } /// /// 用户当前的城市code /// [XmlElement("current_city")] public string CurrentCity { get; set; } /// /// 用户当前位置坐标 /// [XmlElement("location")] public string Location { get; set; } /// /// nluJsonParam /// [XmlElement("nlu_json_param")] public string NluJsonParam { get; set; } /// /// 用户输入的query /// [XmlElement("query")] public string Query { get; set; } /// /// 用户具体一次的请求的id,唯一 /// [XmlElement("query_id")] public string QueryId { get; set; } /// /// 服务器端分配的场景code /// [XmlElement("scene_code")] public string SceneCode { get; set; } /// /// 请求的不同入口 /// [XmlElement("search_src")] public string SearchSrc { get; set; } /// /// 用户多轮会话的id /// [XmlElement("session_id")] public string SessionId { get; set; } /// /// 用户的id /// [XmlElement("uid")] public string Uid { get; set; } } }