using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiAttendanceGroupsQueryResponse.
///
public class OapiAttendanceGroupsQueryResponse : DingTalkResponse
{
///
/// 错误码
///
[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; }
///
/// GroupDomain Data Structure.
///
[Serializable]
public class GroupDomain : TopObject
{
///
/// 是否开启拍照打卡,默认false
///
[XmlElement("enable_camera_check")]
public bool EnableCameraCheck { get; set; }
///
/// 是否开启美颜,默认false
///
[XmlElement("enable_face_beauty")]
public bool EnableFaceBeauty { get; set; }
///
/// 是否开启笑脸打卡(若开启笑脸则默认开启拍照打卡),默认false
///
[XmlElement("enable_face_check")]
public bool EnableFaceCheck { get; set; }
///
/// 扩展字段,JSON格式
///
[XmlElement("ext")]
public string Ext { get; set; }
///
/// 考勤组id
///
[XmlElement("group_key")]
public string GroupKey { get; set; }
///
/// 打卡范围,单位:米
///
[XmlElement("location_offset")]
public long LocationOffset { get; set; }
///
/// 考勤组名称
///
[XmlElement("name")]
public string Name { get; set; }
}
///
/// ResultDomain Data Structure.
///
[Serializable]
public class ResultDomain : TopObject
{
///
/// 游标
///
[XmlElement("cursor")]
public string Cursor { get; set; }
///
/// 考勤组
///
[XmlArray("group_list")]
[XmlArrayItem("group")]
public List GroupList { get; set; }
///
/// 是否更多
///
[XmlElement("has_more")]
public bool HasMore { get; set; }
}
}
}