using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// SmartworkBlackboardListtoptenResponse. /// public class SmartworkBlackboardListtoptenResponse : DingTalkResponse { /// /// result /// [XmlElement("result")] public DingOpenResultDomain Result { get; set; } /// /// OapiBlackboardVoDomain Data Structure. /// [Serializable] public class OapiBlackboardVoDomain : TopObject { /// /// 创建时间 /// [XmlElement("gmt_create")] public string GmtCreate { get; set; } /// /// 标题 /// [XmlElement("title")] public string Title { get; set; } /// /// 跳转URL /// [XmlElement("url")] public string Url { get; set; } } /// /// DingOpenResultDomain Data Structure. /// [Serializable] public class DingOpenResultDomain : TopObject { /// /// result /// [XmlArray("blackboard_list")] [XmlArrayItem("oapi_blackboard_vo")] public List BlackboardList { get; set; } /// /// dingOpenErrcode /// [XmlElement("ding_open_errcode")] public long DingOpenErrcode { get; set; } /// /// errorMsg /// [XmlElement("error_msg")] public string ErrorMsg { get; set; } /// /// success /// [XmlElement("success")] public bool Success { get; set; } } } }