using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiKacDatavDeptDauListResponse. /// public class OapiKacDatavDeptDauListResponse : DingTalkResponse { /// /// 结果码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 提示信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 结果对象 /// [XmlElement("result")] public DeptDauSummaryResponseDomain Result { get; set; } /// /// DeptDauSummaryVoDomain Data Structure. /// [Serializable] public class DeptDauSummaryVoDomain : TopObject { /// /// 钉钉app端登录人数 /// [XmlElement("app_active_users")] public long AppActiveUsers { get; set; } /// /// 通讯录人数 /// [XmlElement("contacts_number")] public long ContactsNumber { get; set; } /// /// 日活跃人数 /// [XmlElement("daily_active_users")] public long DailyActiveUsers { get; set; } /// /// 部门id /// [XmlElement("dept_id")] public long DeptId { get; set; } /// /// 部门名称 /// [XmlElement("dept_name")] public string DeptName { get; set; } /// /// 钉钉pc端登录人数 /// [XmlElement("pc_active_users")] public long PcActiveUsers { get; set; } } /// /// DeptDauSummaryResponseDomain Data Structure. /// [Serializable] public class DeptDauSummaryResponseDomain : TopObject { /// /// 数据列表 /// [XmlArray("data")] [XmlArrayItem("dept_dau_summary_vo")] public List Data { get; set; } /// /// 是否有下一页;true则存在更多分页 /// [XmlElement("has_more")] public bool HasMore { get; set; } /// /// 下一次请求的分页游标 /// [XmlElement("next_cursor")] public long NextCursor { get; set; } } } }