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
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiEduFamilyChildGetResponse.
    /// </summary>
    public class OapiEduFamilyChildGetResponse : DingTalkResponse
    {
        /// <summary>
        /// 错误代码
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// 错误信息
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// 结果数据
        /// </summary>
        [XmlElement("result")]
        public ChildDtoDomain Result { get; set; }
 
        /// <summary>
        /// 是否成功
        /// </summary>
        [XmlElement("success")]
        public bool Success { get; set; }
 
    /// <summary>
/// BindStudentDomain Data Structure.
/// </summary>
[Serializable]
 
public class BindStudentDomain : TopObject
{
            /// <summary>
            /// 班级ID
            /// </summary>
            [XmlElement("class_id")]
            public string ClassId { get; set; }
    
            /// <summary>
            /// 学校CorpId
            /// </summary>
            [XmlElement("corp_id")]
            public string CorpId { get; set; }
    
            /// <summary>
            /// 孩子学段年级对应学段元数据的年级一级
            /// </summary>
            [XmlElement("period_code")]
            public string PeriodCode { get; set; }
    
            /// <summary>
            /// 孩子学校的userid
            /// </summary>
            [XmlElement("userid")]
            public string Userid { get; set; }
}
 
    /// <summary>
/// ChildDtoDomain Data Structure.
/// </summary>
[Serializable]
 
public class ChildDtoDomain : TopObject
{
            /// <summary>
            /// 头像
            /// </summary>
            [XmlElement("avatar")]
            public string Avatar { get; set; }
    
            /// <summary>
            /// 孩子信息
            /// </summary>
            [XmlArray("bind_students")]
            [XmlArrayItem("bind_student")]
            public List<BindStudentDomain> BindStudents { get; set; }
    
            /// <summary>
            /// 孩子nick
            /// </summary>
            [XmlElement("nick")]
            public string Nick { get; set; }
    
            /// <summary>
            /// 孩子对应的openId 已废弃
            /// </summary>
            [XmlElement("open_id")]
            public string OpenId { get; set; }
    
            /// <summary>
            /// 孩子对应的unionId
            /// </summary>
            [XmlElement("unionId")]
            public string UnionId { get; set; }
    
            /// <summary>
            /// 孩子家庭userid
            /// </summary>
            [XmlElement("userid")]
            public string Userid { get; set; }
}
 
    }
}