using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiV2DepartmentListsubidResponse. /// public class OapiV2DepartmentListsubidResponse : DingTalkResponse { /// /// 返回码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 子部门信息 /// [XmlElement("result")] public DeptListSubIdResponseDomain Result { get; set; } /// /// DeptListSubIdResponseDomain Data Structure. /// [Serializable] public class DeptListSubIdResponseDomain : TopObject { /// /// 子部门列表 /// [XmlArray("dept_id_list")] [XmlArrayItem("number")] public List DeptIdList { get; set; } } } }