zrg
2024-08-16 18865d8bf24382e850e661dec6cca0e8b9dba6ae
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
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiProcessTemplateListResponse.
    /// </summary>
    public class OapiProcessTemplateListResponse : DingTalkResponse
    {
        /// <summary>
        /// dingOpenErrcode
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// errorMsg
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// result
        /// </summary>
        [XmlElement("result")]
        public CorpTemplateVoDomain Result { get; set; }
 
        /// <summary>
        /// 是否成功
        /// </summary>
        [XmlElement("success")]
        public bool Success { get; set; }
 
    /// <summary>
/// TemplatelistDomain Data Structure.
/// </summary>
[Serializable]
 
public class TemplatelistDomain : TopObject
{
            /// <summary>
            /// 是否可升级,加入收款账户组件
            /// </summary>
            [XmlElement("can_be_upgraded")]
            public bool CanBeUpgraded { get; set; }
    
            /// <summary>
            /// 是否有管理权限
            /// </summary>
            [XmlElement("can_modify")]
            public bool CanModify { get; set; }
    
            /// <summary>
            /// 模板内容
            /// </summary>
            [XmlElement("form_content")]
            public string FormContent { get; set; }
    
            /// <summary>
            /// 模板图标url
            /// </summary>
            [XmlElement("icon_url")]
            public string IconUrl { get; set; }
    
            /// <summary>
            /// 模板名称
            /// </summary>
            [XmlElement("name")]
            public string Name { get; set; }
    
            /// <summary>
            /// 模板code
            /// </summary>
            [XmlElement("process_code")]
            public string ProcessCode { get; set; }
    
            /// <summary>
            /// 模板跳转地址
            /// </summary>
            [XmlElement("url")]
            public string Url { get; set; }
}
 
    /// <summary>
/// CorpTemplateVoDomain Data Structure.
/// </summary>
[Serializable]
 
public class CorpTemplateVoDomain : TopObject
{
            /// <summary>
            /// 下次调用时的offset入参
            /// </summary>
            [XmlElement("next_cursor")]
            public string NextCursor { get; set; }
    
            /// <summary>
            /// list
            /// </summary>
            [XmlArray("template_list")]
            [XmlArrayItem("templatelist")]
            public List<TemplatelistDomain> TemplateList { get; set; }
}
 
    }
}