using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiAttendanceGroupPositionsQueryResponse. /// public class OapiAttendanceGroupPositionsQueryResponse : DingTalkResponse { /// /// 出参 /// [XmlElement("result")] public DingOpenResultDomain Result { get; set; } /// /// PositionDomain Data Structure. /// [Serializable] public class PositionDomain : TopObject { /// /// 地址描述 /// [XmlElement("address")] public string Address { get; set; } /// /// 纬度(支持6位小数) /// [XmlElement("latitude")] public string Latitude { get; set; } /// /// 经度(支持6位小数) /// [XmlElement("longitude")] public string Longitude { get; set; } /// /// 打卡位置允许的偏移量 /// [XmlElement("offset")] public long Offset { get; set; } /// /// positionKey /// [XmlElement("position_key")] public string PositionKey { get; set; } } /// /// ResultDomain Data Structure. /// [Serializable] public class ResultDomain : TopObject { /// /// 是否更多 /// [XmlElement("has_more")] public bool HasMore { get; set; } /// /// position列表 /// [XmlArray("position_list")] [XmlArrayItem("position")] public List PositionList { get; set; } } /// /// DingOpenResultDomain Data Structure. /// [Serializable] public class DingOpenResultDomain : TopObject { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 查询结果 /// [XmlElement("result")] public ResultDomain Result { get; set; } /// /// 是否成功 /// [XmlElement("success")] public bool Success { get; set; } } } }