2021-06-07 00:24:22 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.Work.Events
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>表示 INFO.change_auth 事件的数据。</para>
|
|
|
|
|
/// <para>REF: https://open.work.weixin.qq.com/api/doc/90001/90143/90642 </para>
|
|
|
|
|
/// </summary>
|
2021-10-09 11:51:00 +08:00
|
|
|
|
public class ChangeAuthEvent : WechatWorkEvent, WechatWorkEvent.Serialization.IXmlSerializable
|
2021-06-07 00:24:22 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取或设置第三方应用的 SuiteId。
|
|
|
|
|
/// </summary>
|
|
|
|
|
[System.Xml.Serialization.XmlElement("SuiteId")]
|
|
|
|
|
public string SuiteId { get; set; } = default!;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取或设置授权方的 CorpId。
|
|
|
|
|
/// </summary>
|
|
|
|
|
[System.Xml.Serialization.XmlElement("AuthCorpId")]
|
|
|
|
|
public string AuthorizerCorpId { get; set; } = default!;
|
|
|
|
|
}
|
|
|
|
|
}
|