using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiUserListadminResponse. /// public class OapiUserListadminResponse : DingTalkResponse { /// /// 错误码。0代表成功。 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息。 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 返回结果 /// [XmlArray("result")] [XmlArrayItem("list_admin_response")] public List Result { get; set; } /// /// ListAdminResponseDomain Data Structure. /// [Serializable] public class ListAdminResponseDomain : TopObject { /// /// 管理员角色,1 主管理员 2 子管理员 /// [XmlElement("sys_level")] public long SysLevel { get; set; } /// /// 用户id /// [XmlElement("userid")] public string Userid { get; set; } } } }