using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiEduGuardianGetResponse. /// public class OapiEduGuardianGetResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// result /// [XmlElement("result")] public GuardianResponeDomain Result { get; set; } /// /// 成功状态 /// [XmlElement("success")] public bool Success { get; set; } /// /// RelationsDomain Data Structure. /// [Serializable] public class RelationsDomain : TopObject { /// /// fafa\\ /// [XmlElement("nick")] public string Nick { get; set; } /// /// fafa\\ /// [XmlElement("relation")] public string Relation { get; set; } /// /// fafa\\ /// [XmlElement("student_userid")] public string StudentUserid { get; set; } } /// /// GuardianResponeDomain Data Structure. /// [Serializable] public class GuardianResponeDomain : TopObject { /// /// 家长ID /// [XmlElement("guardian_userid")] public string GuardianUserid { get; set; } /// /// 关系名称 /// [XmlElement("nick")] public string Nick { get; set; } /// /// 关系类型(M妈妈,D爸爸,O其他) /// [XmlElement("relation")] public string Relation { get; set; } /// /// fdaf /// [XmlArray("relations")] [XmlArrayItem("relations")] public List Relations { get; set; } /// /// 学生ID /// [XmlElement("student_userid")] public string StudentUserid { get; set; } } } }