using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiMaterialArticleListResponse. /// public class OapiMaterialArticleListResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 本页条数 /// [XmlElement("item_count")] public long ItemCount { get; set; } /// /// 文章列表 /// [XmlArray("items")] [XmlArrayItem("article_d_t_o")] public List Items { get; set; } /// /// 总数 /// [XmlElement("total_count")] public long TotalCount { get; set; } /// /// ArticleDTODomain Data Structure. /// [Serializable] public class ArticleDTODomain : TopObject { /// /// 文章id /// [XmlElement("article_id")] public long ArticleId { get; set; } /// /// 内容 /// [XmlElement("content")] public string Content { get; set; } /// /// 创建时间 /// [XmlElement("create_time")] public long CreateTime { get; set; } /// /// 摘要 /// [XmlElement("digest")] public string Digest { get; set; } /// /// 发布状态 /// [XmlElement("publish_status")] public long PublishStatus { get; set; } /// /// 发布时间 /// [XmlElement("publish_time")] public long PublishTime { get; set; } /// /// 封面图 /// [XmlElement("thumb_media_id")] public string ThumbMediaId { get; set; } /// /// 缩略图地址 /// [XmlElement("thumb_url")] public string ThumbUrl { get; set; } /// /// 标题 /// [XmlElement("title")] public string Title { get; set; } /// /// 更新时间 /// [XmlElement("update_time")] public long UpdateTime { get; set; } /// /// 链接 /// [XmlElement("url")] public string Url { get; set; } } } }