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