1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiAttendanceApproveFinishResponse.
    /// </summary>
    public class OapiAttendanceApproveFinishResponse : DingTalkResponse
    {
        /// <summary>
        /// 0代表成功,其他代表失败
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// 错误信息
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// demo
        /// </summary>
        [XmlElement("result")]
        public TopDurationVoDomain Result { get; set; }
 
    /// <summary>
/// TopDayDurationVoDomain Data Structure.
/// </summary>
[Serializable]
 
public class TopDayDurationVoDomain : TopObject
{
            /// <summary>
            /// 日期
            /// </summary>
            [XmlElement("date")]
            public string Date { get; set; }
    
            /// <summary>
            /// 每日时长
            /// </summary>
            [XmlElement("duration")]
            public string Duration { get; set; }
}
 
    /// <summary>
/// TopDurationVoDomain Data Structure.
/// </summary>
[Serializable]
 
public class TopDurationVoDomain : TopObject
{
            /// <summary>
            /// 总时长
            /// </summary>
            [XmlElement("duration")]
            public string Duration { get; set; }
    
            /// <summary>
            /// demo
            /// </summary>
            [XmlArray("durationDetail")]
            [XmlArrayItem("top_day_duration_vo")]
            public List<TopDayDurationVoDomain> DurationDetail { get; set; }
}
 
    }
}