feat(openai): 移除第三方接入方式的相关接口模型,并重命名原平台接入方式的相关接口模型

This commit is contained in:
Fu Diwei
2022-11-21 11:30:38 +08:00
parent 922e70f8db
commit 16aaeb3c31
358 changed files with 373 additions and 8040 deletions

View File

@@ -0,0 +1,38 @@
using System;
using System.Xml.Serialization;
namespace SKIT.FlurlHttpClient.Wechat.OpenAI
{
/// <summary>
/// 表示微信智能对话 API 回调通知事件的基类。
/// </summary>
[Serializable]
public class WechatOpenAIEvent
{
public static class Serialization
{
[XmlRoot("xml")]
public interface IXmlSerializable
{
}
}
/// <summary>
/// 获取或设置 AppId。
/// </summary>
[XmlElement("appid", IsNullable = true)]
public string? AppId { get; set; }
/// <summary>
/// 获取或设置事件类型。
/// </summary>
[XmlElement("event", IsNullable = true)]
public string? Event { get; set; }
/// <summary>
/// 获取或设置消息创建时间戳。
/// </summary>
[XmlElement("createtime", IsNullable = true)]
public long? CreateTimestamp { get; set; }
}
}