using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// CorpChatbotListorgbotResponse. /// public class CorpChatbotListorgbotResponse : DingTalkResponse { /// /// result /// [XmlElement("result")] public DingOpenResultDomain Result { get; set; } /// /// ChatbotModelDomain Data Structure. /// [Serializable] public class ChatbotModelDomain : TopObject { /// /// 机器人类型 /// [XmlElement("bot_type")] public long BotType { get; set; } /// /// 机器人简介 /// [XmlElement("breif")] public string Breif { get; set; } /// /// 机器人id /// [XmlElement("chatbot_id")] public long ChatbotId { get; set; } /// /// 企业corpId /// [XmlElement("corp_id")] public string CorpId { get; set; } /// /// 机器人详细描述 /// [XmlElement("description")] public string Description { get; set; } /// /// 机器人头像 /// [XmlElement("icon")] public string Icon { get; set; } /// /// 微应用Id /// [XmlElement("microapp_agent_id")] public long MicroappAgentId { get; set; } /// /// 机器人名字 /// [XmlElement("name")] public string Name { get; set; } /// /// 鉴权token /// [XmlElement("outgoing_token")] public string OutgoingToken { get; set; } /// /// 回调的URL /// [XmlElement("outgoing_url")] public string OutgoingUrl { get; set; } /// /// 钉钉分配的type /// [XmlElement("type")] public string Type { get; set; } } /// /// DingOpenResultDomain Data Structure. /// [Serializable] public class DingOpenResultDomain : TopObject { /// /// dingOpenErrcode /// [XmlElement("ding_open_errcode")] public long DingOpenErrcode { get; set; } /// /// errorMsg /// [XmlElement("error_msg")] public string ErrorMsg { get; set; } /// /// result /// [XmlArray("result_list")] [XmlArrayItem("chatbot_model")] public List ResultList { get; set; } /// /// success /// [XmlElement("success")] public bool Success { get; set; } } } }