using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiAttendanceGetleaveapprovedurationResponse. /// public class OapiAttendanceGetleaveapprovedurationResponse : DingTalkResponse { /// /// errcode /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// errmsg /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// result /// [XmlElement("result")] public ApproveDurationForTopVoDomain Result { get; set; } /// /// ApproveDurationForTopVoDomain Data Structure. /// [Serializable] public class ApproveDurationForTopVoDomain : TopObject { /// /// 请假时长(单位分钟) /// [XmlElement("duration_in_minutes")] public long DurationInMinutes { get; set; } } } }