wtt
2024-10-25 e7965a19a7c7cfb8fdb28ed6cc922d523c7d4aeb
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
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiEduUserListResponse.
    /// </summary>
    public class OapiEduUserListResponse : DingTalkResponse
    {
        /// <summary>
        /// 错误码,只有当success为false时才有效
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// 错误信息,只有当success为false时才有效
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// 结果值
        /// </summary>
        [XmlElement("result")]
        public ResultDomain Result { get; set; }
 
        /// <summary>
        /// 是否成功
        /// </summary>
        [XmlElement("success")]
        public bool Success { get; set; }
 
    /// <summary>
/// OpenEduUserDetailDomain Data Structure.
/// </summary>
[Serializable]
 
public class OpenEduUserDetailDomain : TopObject
{
            /// <summary>
            /// 班级id
            /// </summary>
            [XmlElement("class_id")]
            public long ClassId { get; set; }
    
            /// <summary>
            /// 人员各个身份属性
            /// </summary>
            [XmlElement("feature")]
            public string Feature { get; set; }
    
            /// <summary>
            /// 创建时间,时间戳
            /// </summary>
            [XmlElement("gmtCreate")]
            public long GmtCreate { get; set; }
    
            /// <summary>
            /// 修改时间,时间戳
            /// </summary>
            [XmlElement("gmtModified")]
            public long GmtModified { get; set; }
    
            /// <summary>
            /// 在班级中的监护人名
            /// </summary>
            [XmlElement("name")]
            public string Name { get; set; }
    
            /// <summary>
            /// 角色
            /// </summary>
            [XmlElement("role")]
            public string Role { get; set; }
    
            /// <summary>
            /// unionid
            /// </summary>
            [XmlElement("unionid")]
            public string Unionid { get; set; }
    
            /// <summary>
            /// 人员id
            /// </summary>
            [XmlElement("userid")]
            public string Userid { get; set; }
}
 
    /// <summary>
/// ResultDomain Data Structure.
/// </summary>
[Serializable]
 
public class ResultDomain : TopObject
{
            /// <summary>
            /// 人员身份列表
            /// </summary>
            [XmlArray("details")]
            [XmlArrayItem("open_edu_user_detail")]
            public List<OpenEduUserDetailDomain> Details { get; set; }
    
            /// <summary>
            /// 是否还有数据
            /// </summary>
            [XmlElement("has_more")]
            public bool HasMore { get; set; }
}
 
    }
}