using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiProcessDirlistGetResponse. /// public class OapiProcessDirlistGetResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 分组信息列表 /// [XmlArray("result")] [XmlArrayItem("result")] public List Result { get; set; } /// /// 系统状态 /// [XmlElement("success")] public bool Success { get; set; } /// /// ResultDomain Data Structure. /// [Serializable] public class ResultDomain : TopObject { /// /// 分组id /// [XmlElement("dir_id")] public string DirId { get; set; } /// /// 分组名称 /// [XmlElement("dir_name")] public string DirName { get; set; } } } }