using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiAttendanceGroupWifisQueryResponse. /// public class OapiAttendanceGroupWifisQueryResponse : DingTalkResponse { /// /// 出参 /// [XmlElement("result")] public DingOpenResultDomain Result { get; set; } /// /// WifiDomain Data Structure. /// [Serializable] public class WifiDomain : TopObject { /// /// mac地址 /// [XmlElement("mac_addr")] public string MacAddr { get; set; } /// /// wifi名称 /// [XmlElement("ssid")] public string Ssid { get; set; } /// /// wifiKey /// [XmlElement("wifi_key")] public string WifiKey { get; set; } } /// /// ResultDomain Data Structure. /// [Serializable] public class ResultDomain : TopObject { /// /// 是否更多 /// [XmlElement("has_more")] public bool HasMore { get; set; } /// /// wifi列表 /// [XmlArray("wifi_list")] [XmlArrayItem("wifi")] public List WifiList { get; set; } } /// /// DingOpenResultDomain Data Structure. /// [Serializable] public class DingOpenResultDomain : TopObject { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 查询wifi列表结果 /// [XmlElement("result")] public ResultDomain Result { get; set; } /// /// 是否成功 /// [XmlElement("success")] public bool Success { get; set; } } } }