duhe
2024-10-25 948bc8f68b05abd2c942217159de1fe31075f8cd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiMaterialArticleListResponse.
    /// </summary>
    public class OapiMaterialArticleListResponse : DingTalkResponse
    {
        /// <summary>
        /// 错误码
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// 错误信息
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// 本页条数
        /// </summary>
        [XmlElement("item_count")]
        public long ItemCount { get; set; }
 
        /// <summary>
        /// 文章列表
        /// </summary>
        [XmlArray("items")]
        [XmlArrayItem("article_d_t_o")]
        public List<ArticleDTODomain> Items { get; set; }
 
        /// <summary>
        /// 总数
        /// </summary>
        [XmlElement("total_count")]
        public long TotalCount { get; set; }
 
    /// <summary>
/// ArticleDTODomain Data Structure.
/// </summary>
[Serializable]
 
public class ArticleDTODomain : TopObject
{
            /// <summary>
            /// 文章id
            /// </summary>
            [XmlElement("article_id")]
            public long ArticleId { get; set; }
    
            /// <summary>
            /// 内容
            /// </summary>
            [XmlElement("content")]
            public string Content { get; set; }
    
            /// <summary>
            /// 创建时间
            /// </summary>
            [XmlElement("create_time")]
            public long CreateTime { get; set; }
    
            /// <summary>
            /// 摘要
            /// </summary>
            [XmlElement("digest")]
            public string Digest { get; set; }
    
            /// <summary>
            /// 发布状态
            /// </summary>
            [XmlElement("publish_status")]
            public long PublishStatus { get; set; }
    
            /// <summary>
            /// 发布时间
            /// </summary>
            [XmlElement("publish_time")]
            public long PublishTime { get; set; }
    
            /// <summary>
            /// 封面图
            /// </summary>
            [XmlElement("thumb_media_id")]
            public string ThumbMediaId { get; set; }
    
            /// <summary>
            /// 缩略图地址
            /// </summary>
            [XmlElement("thumb_url")]
            public string ThumbUrl { get; set; }
    
            /// <summary>
            /// 标题
            /// </summary>
            [XmlElement("title")]
            public string Title { get; set; }
    
            /// <summary>
            /// 更新时间
            /// </summary>
            [XmlElement("update_time")]
            public long UpdateTime { get; set; }
    
            /// <summary>
            /// 链接
            /// </summary>
            [XmlElement("url")]
            public string Url { get; set; }
}
 
    }
}