using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiBlackboardListtoptenResponse. /// public class OapiBlackboardListtoptenResponse : DingTalkResponse { /// /// result /// [XmlArray("blackboard_list")] [XmlArrayItem("oapi_blackboard_vo")] public List BlackboardList { get; set; } /// /// errcode /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// errmsg /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// OapiBlackboardVoDomain Data Structure. /// [Serializable] public class OapiBlackboardVoDomain : TopObject { /// /// 分类id /// [XmlElement("categoryId")] public string CategoryId { get; set; } /// /// 分类名称 /// [XmlElement("categoryName")] public string CategoryName { get; set; } /// /// 创建时间 /// [XmlElement("gmt_create")] public string GmtCreate { get; set; } /// /// 公告id /// [XmlElement("id")] public string Id { get; set; } /// /// 置顶公告标识。0为非置顶,1为置顶 /// [XmlElement("isPushTop")] public long IsPushTop { get; set; } /// /// 公告保密等级。0为非保密,20为保密 /// [XmlElement("privateLevel")] public long PrivateLevel { get; set; } /// /// 标题 /// [XmlElement("title")] public string Title { get; set; } /// /// 跳转URL。参数解释:{2}:公告来源;{4}:企业corpId;{5}:公告id /// [XmlElement("url")] public string Url { get; set; } } } }