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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiAttendanceGroupCreateResponse.
    /// </summary>
    public class OapiAttendanceGroupCreateResponse : DingTalkResponse
    {
        /// <summary>
        /// 错误码
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// 错误描述
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// 考勤组
        /// </summary>
        [XmlElement("result")]
        public GroupDomain Result { get; set; }
 
        /// <summary>
        /// 是否成功
        /// </summary>
        [XmlElement("success")]
        public bool Success { get; set; }
 
    /// <summary>
/// GroupDomain Data Structure.
/// </summary>
[Serializable]
 
public class GroupDomain : TopObject
{
            /// <summary>
            /// 是否开启拍照打卡,默认false
            /// </summary>
            [XmlElement("enable_camera_check")]
            public bool EnableCameraCheck { get; set; }
    
            /// <summary>
            /// 是否开启美颜,默认false
            /// </summary>
            [XmlElement("enable_face_beauty")]
            public bool EnableFaceBeauty { get; set; }
    
            /// <summary>
            /// 是否开启笑脸打卡(若开启笑脸则默认开启拍照打卡),默认false
            /// </summary>
            [XmlElement("enable_face_check")]
            public bool EnableFaceCheck { get; set; }
    
            /// <summary>
            /// 扩展字段,JSON格式
            /// </summary>
            [XmlElement("ext")]
            public string Ext { get; set; }
    
            /// <summary>
            /// 考勤组id
            /// </summary>
            [XmlElement("group_key")]
            public string GroupKey { get; set; }
    
            /// <summary>
            /// 打卡范围,单位:米
            /// </summary>
            [XmlElement("location_offset")]
            public long LocationOffset { get; set; }
    
            /// <summary>
            /// 考勤组名称
            /// </summary>
            [XmlElement("name")]
            public string Name { get; set; }
}
 
    }
}