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
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiIndustryDepartmentListResponse.
    /// </summary>
    public class OapiIndustryDepartmentListResponse : DingTalkResponse
    {
        /// <summary>
        /// 成功
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// errorMsg
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// result
        /// </summary>
        [XmlElement("result")]
        public ResultWrapperDomain Result { get; set; }
 
        /// <summary>
        /// 成功
        /// </summary>
        [XmlElement("success")]
        public bool Success { get; set; }
 
    /// <summary>
/// OpenIndustryDeptInfoDomain Data Structure.
/// </summary>
[Serializable]
 
public class OpenIndustryDeptInfoDomain : TopObject
{
            /// <summary>
            /// 传统农村类型
            /// </summary>
            [XmlElement("contact_type")]
            public string ContactType { get; set; }
    
            /// <summary>
            /// 部门ID
            /// </summary>
            [XmlElement("dept_id")]
            public long DeptId { get; set; }
    
            /// <summary>
            /// 户
            /// </summary>
            [XmlElement("dept_type")]
            public string DeptType { get; set; }
    
            /// <summary>
            /// 部门属性信息
            /// </summary>
            [XmlElement("feature")]
            public string Feature { get; set; }
    
            /// <summary>
            /// 部门名称
            /// </summary>
            [XmlElement("name")]
            public string Name { get; set; }
}
 
    /// <summary>
/// ResultWrapperDomain Data Structure.
/// </summary>
[Serializable]
 
public class ResultWrapperDomain : TopObject
{
            /// <summary>
            /// details
            /// </summary>
            [XmlArray("details")]
            [XmlArrayItem("open_industry_dept_info")]
            public List<OpenIndustryDeptInfoDomain> Details { get; set; }
    
            /// <summary>
            /// 是否还有更多
            /// </summary>
            [XmlElement("has_more")]
            public bool HasMore { get; set; }
    
            /// <summary>
            /// 下一个游标开始位置
            /// </summary>
            [XmlElement("next_cursor")]
            public long NextCursor { get; set; }
}
 
    }
}