com.aliyun.dingtalkattendance_1_0.models.GroupAddRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkattendance_1_0.models;
import com.aliyun.tea.*;
public class GroupAddRequest extends TeaModel {
/**
* example:
* 123L
*/
@NameInMap("adjustmentSettingId")
public Long adjustmentSettingId;
@NameInMap("bleDeviceList")
public java.util.List bleDeviceList;
/**
* example:
* true
*/
@NameInMap("checkNeedHealthyCode")
public Boolean checkNeedHealthyCode;
/**
* example:
* 1234
*/
@NameInMap("defaultClassId")
public Long defaultClassId;
/**
* example:
* true
*/
@NameInMap("disableCheckWhenRest")
public Boolean disableCheckWhenRest;
/**
* example:
* true
*/
@NameInMap("disableCheckWithoutSchedule")
public Boolean disableCheckWithoutSchedule;
/**
* example:
* true
*/
@NameInMap("enableCameraCheck")
public Boolean enableCameraCheck;
/**
* example:
* true
*/
@NameInMap("enableEmpSelectClass")
public Boolean enableEmpSelectClass;
/**
* example:
* true
*/
@NameInMap("enableFaceCheck")
public Boolean enableFaceCheck;
/**
* example:
* true
*/
@NameInMap("enableFaceStrictMode")
public Boolean enableFaceStrictMode;
/**
* example:
* true
*/
@NameInMap("enableNextDay")
public Boolean enableNextDay;
/**
* example:
* true
*/
@NameInMap("enableOutSideUpdateNormalCheck")
public Boolean enableOutSideUpdateNormalCheck;
/**
* example:
* true
*/
@NameInMap("enableOutsideApply")
public Boolean enableOutsideApply;
/**
* example:
* true
*/
@NameInMap("enableOutsideCameraCheck")
public Boolean enableOutsideCameraCheck;
/**
* example:
* true
*/
@NameInMap("enableOutsideCheck")
public Boolean enableOutsideCheck;
/**
* example:
* true
*/
@NameInMap("enableOutsideRemark")
public Boolean enableOutsideRemark;
@NameInMap("enablePositionBle")
public Boolean enablePositionBle;
@NameInMap("enableTrimDistance")
public Boolean enableTrimDistance;
/**
* example:
* true
*/
@NameInMap("forbidHideOutSideAddress")
public Boolean forbidHideOutSideAddress;
@NameInMap("freeCheckSetting")
public GroupAddRequestFreeCheckSetting freeCheckSetting;
/**
* example:
* 0
*/
@NameInMap("freeCheckTypeId")
public Integer freeCheckTypeId;
/**
* example:
* 240
*/
@NameInMap("freecheckDayStartMinOffset")
public Integer freecheckDayStartMinOffset;
@NameInMap("freecheckWorkDays")
public java.util.List freecheckWorkDays;
/**
* example:
* 123
*/
@NameInMap("groupId")
public Long groupId;
/**
* This parameter is required.
*
* example:
* 白班考勤
*/
@NameInMap("groupName")
public String groupName;
@NameInMap("managerList")
public java.util.List managerList;
/**
* This parameter is required.
*/
@NameInMap("members")
public java.util.List members;
/**
* example:
* true
*/
@NameInMap("modifyMember")
public Boolean modifyMember;
/**
* example:
* 500
*/
@NameInMap("offset")
public Integer offset;
@NameInMap("onlyMachineCheck")
public Boolean onlyMachineCheck;
@NameInMap("openCameraCheck")
public Boolean openCameraCheck;
/**
* example:
* true
*/
@NameInMap("openFaceCheck")
public Boolean openFaceCheck;
/**
* example:
* -1
*/
@NameInMap("outsideCheckApproveModeId")
public Integer outsideCheckApproveModeId;
/**
* example:
* 123L
*/
@NameInMap("overtimeSettingId")
public Long overtimeSettingId;
/**
* example:
* 123dfdf
*/
@NameInMap("owner")
public String owner;
@NameInMap("positions")
public java.util.List positions;
@NameInMap("resourcePermissionMap")
public java.util.Map resourcePermissionMap;
@NameInMap("shiftVOList")
public java.util.List shiftVOList;
/**
* example:
* true
*/
@NameInMap("skipHolidays")
public Boolean skipHolidays;
/**
* example:
* {"onDuty":{1400000:123,1400001:123},"offDuty":[1400000,1400001]}
*/
@NameInMap("specialDays")
public String specialDays;
/**
* example:
* 100
*/
@NameInMap("trimDistance")
public Integer trimDistance;
/**
* This parameter is required.
*
* example:
* TURN
*/
@NameInMap("type")
public String type;
@NameInMap("wifis")
public java.util.List wifis;
@NameInMap("workdayClassList")
public java.util.List workdayClassList;
/**
* This parameter is required.
*
* example:
* 123dfd
*/
@NameInMap("opUserId")
public String opUserId;
public static GroupAddRequest build(java.util.Map map) throws Exception {
GroupAddRequest self = new GroupAddRequest();
return TeaModel.build(map, self);
}
public GroupAddRequest setAdjustmentSettingId(Long adjustmentSettingId) {
this.adjustmentSettingId = adjustmentSettingId;
return this;
}
public Long getAdjustmentSettingId() {
return this.adjustmentSettingId;
}
public GroupAddRequest setBleDeviceList(java.util.List bleDeviceList) {
this.bleDeviceList = bleDeviceList;
return this;
}
public java.util.List getBleDeviceList() {
return this.bleDeviceList;
}
public GroupAddRequest setCheckNeedHealthyCode(Boolean checkNeedHealthyCode) {
this.checkNeedHealthyCode = checkNeedHealthyCode;
return this;
}
public Boolean getCheckNeedHealthyCode() {
return this.checkNeedHealthyCode;
}
public GroupAddRequest setDefaultClassId(Long defaultClassId) {
this.defaultClassId = defaultClassId;
return this;
}
public Long getDefaultClassId() {
return this.defaultClassId;
}
public GroupAddRequest setDisableCheckWhenRest(Boolean disableCheckWhenRest) {
this.disableCheckWhenRest = disableCheckWhenRest;
return this;
}
public Boolean getDisableCheckWhenRest() {
return this.disableCheckWhenRest;
}
public GroupAddRequest setDisableCheckWithoutSchedule(Boolean disableCheckWithoutSchedule) {
this.disableCheckWithoutSchedule = disableCheckWithoutSchedule;
return this;
}
public Boolean getDisableCheckWithoutSchedule() {
return this.disableCheckWithoutSchedule;
}
public GroupAddRequest setEnableCameraCheck(Boolean enableCameraCheck) {
this.enableCameraCheck = enableCameraCheck;
return this;
}
public Boolean getEnableCameraCheck() {
return this.enableCameraCheck;
}
public GroupAddRequest setEnableEmpSelectClass(Boolean enableEmpSelectClass) {
this.enableEmpSelectClass = enableEmpSelectClass;
return this;
}
public Boolean getEnableEmpSelectClass() {
return this.enableEmpSelectClass;
}
public GroupAddRequest setEnableFaceCheck(Boolean enableFaceCheck) {
this.enableFaceCheck = enableFaceCheck;
return this;
}
public Boolean getEnableFaceCheck() {
return this.enableFaceCheck;
}
public GroupAddRequest setEnableFaceStrictMode(Boolean enableFaceStrictMode) {
this.enableFaceStrictMode = enableFaceStrictMode;
return this;
}
public Boolean getEnableFaceStrictMode() {
return this.enableFaceStrictMode;
}
public GroupAddRequest setEnableNextDay(Boolean enableNextDay) {
this.enableNextDay = enableNextDay;
return this;
}
public Boolean getEnableNextDay() {
return this.enableNextDay;
}
public GroupAddRequest setEnableOutSideUpdateNormalCheck(Boolean enableOutSideUpdateNormalCheck) {
this.enableOutSideUpdateNormalCheck = enableOutSideUpdateNormalCheck;
return this;
}
public Boolean getEnableOutSideUpdateNormalCheck() {
return this.enableOutSideUpdateNormalCheck;
}
public GroupAddRequest setEnableOutsideApply(Boolean enableOutsideApply) {
this.enableOutsideApply = enableOutsideApply;
return this;
}
public Boolean getEnableOutsideApply() {
return this.enableOutsideApply;
}
public GroupAddRequest setEnableOutsideCameraCheck(Boolean enableOutsideCameraCheck) {
this.enableOutsideCameraCheck = enableOutsideCameraCheck;
return this;
}
public Boolean getEnableOutsideCameraCheck() {
return this.enableOutsideCameraCheck;
}
public GroupAddRequest setEnableOutsideCheck(Boolean enableOutsideCheck) {
this.enableOutsideCheck = enableOutsideCheck;
return this;
}
public Boolean getEnableOutsideCheck() {
return this.enableOutsideCheck;
}
public GroupAddRequest setEnableOutsideRemark(Boolean enableOutsideRemark) {
this.enableOutsideRemark = enableOutsideRemark;
return this;
}
public Boolean getEnableOutsideRemark() {
return this.enableOutsideRemark;
}
public GroupAddRequest setEnablePositionBle(Boolean enablePositionBle) {
this.enablePositionBle = enablePositionBle;
return this;
}
public Boolean getEnablePositionBle() {
return this.enablePositionBle;
}
public GroupAddRequest setEnableTrimDistance(Boolean enableTrimDistance) {
this.enableTrimDistance = enableTrimDistance;
return this;
}
public Boolean getEnableTrimDistance() {
return this.enableTrimDistance;
}
public GroupAddRequest setForbidHideOutSideAddress(Boolean forbidHideOutSideAddress) {
this.forbidHideOutSideAddress = forbidHideOutSideAddress;
return this;
}
public Boolean getForbidHideOutSideAddress() {
return this.forbidHideOutSideAddress;
}
public GroupAddRequest setFreeCheckSetting(GroupAddRequestFreeCheckSetting freeCheckSetting) {
this.freeCheckSetting = freeCheckSetting;
return this;
}
public GroupAddRequestFreeCheckSetting getFreeCheckSetting() {
return this.freeCheckSetting;
}
public GroupAddRequest setFreeCheckTypeId(Integer freeCheckTypeId) {
this.freeCheckTypeId = freeCheckTypeId;
return this;
}
public Integer getFreeCheckTypeId() {
return this.freeCheckTypeId;
}
public GroupAddRequest setFreecheckDayStartMinOffset(Integer freecheckDayStartMinOffset) {
this.freecheckDayStartMinOffset = freecheckDayStartMinOffset;
return this;
}
public Integer getFreecheckDayStartMinOffset() {
return this.freecheckDayStartMinOffset;
}
public GroupAddRequest setFreecheckWorkDays(java.util.List freecheckWorkDays) {
this.freecheckWorkDays = freecheckWorkDays;
return this;
}
public java.util.List getFreecheckWorkDays() {
return this.freecheckWorkDays;
}
public GroupAddRequest setGroupId(Long groupId) {
this.groupId = groupId;
return this;
}
public Long getGroupId() {
return this.groupId;
}
public GroupAddRequest setGroupName(String groupName) {
this.groupName = groupName;
return this;
}
public String getGroupName() {
return this.groupName;
}
public GroupAddRequest setManagerList(java.util.List managerList) {
this.managerList = managerList;
return this;
}
public java.util.List getManagerList() {
return this.managerList;
}
public GroupAddRequest setMembers(java.util.List members) {
this.members = members;
return this;
}
public java.util.List getMembers() {
return this.members;
}
public GroupAddRequest setModifyMember(Boolean modifyMember) {
this.modifyMember = modifyMember;
return this;
}
public Boolean getModifyMember() {
return this.modifyMember;
}
public GroupAddRequest setOffset(Integer offset) {
this.offset = offset;
return this;
}
public Integer getOffset() {
return this.offset;
}
public GroupAddRequest setOnlyMachineCheck(Boolean onlyMachineCheck) {
this.onlyMachineCheck = onlyMachineCheck;
return this;
}
public Boolean getOnlyMachineCheck() {
return this.onlyMachineCheck;
}
public GroupAddRequest setOpenCameraCheck(Boolean openCameraCheck) {
this.openCameraCheck = openCameraCheck;
return this;
}
public Boolean getOpenCameraCheck() {
return this.openCameraCheck;
}
public GroupAddRequest setOpenFaceCheck(Boolean openFaceCheck) {
this.openFaceCheck = openFaceCheck;
return this;
}
public Boolean getOpenFaceCheck() {
return this.openFaceCheck;
}
public GroupAddRequest setOutsideCheckApproveModeId(Integer outsideCheckApproveModeId) {
this.outsideCheckApproveModeId = outsideCheckApproveModeId;
return this;
}
public Integer getOutsideCheckApproveModeId() {
return this.outsideCheckApproveModeId;
}
public GroupAddRequest setOvertimeSettingId(Long overtimeSettingId) {
this.overtimeSettingId = overtimeSettingId;
return this;
}
public Long getOvertimeSettingId() {
return this.overtimeSettingId;
}
public GroupAddRequest setOwner(String owner) {
this.owner = owner;
return this;
}
public String getOwner() {
return this.owner;
}
public GroupAddRequest setPositions(java.util.List positions) {
this.positions = positions;
return this;
}
public java.util.List getPositions() {
return this.positions;
}
public GroupAddRequest setResourcePermissionMap(java.util.Map resourcePermissionMap) {
this.resourcePermissionMap = resourcePermissionMap;
return this;
}
public java.util.Map getResourcePermissionMap() {
return this.resourcePermissionMap;
}
public GroupAddRequest setShiftVOList(java.util.List shiftVOList) {
this.shiftVOList = shiftVOList;
return this;
}
public java.util.List getShiftVOList() {
return this.shiftVOList;
}
public GroupAddRequest setSkipHolidays(Boolean skipHolidays) {
this.skipHolidays = skipHolidays;
return this;
}
public Boolean getSkipHolidays() {
return this.skipHolidays;
}
public GroupAddRequest setSpecialDays(String specialDays) {
this.specialDays = specialDays;
return this;
}
public String getSpecialDays() {
return this.specialDays;
}
public GroupAddRequest setTrimDistance(Integer trimDistance) {
this.trimDistance = trimDistance;
return this;
}
public Integer getTrimDistance() {
return this.trimDistance;
}
public GroupAddRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public GroupAddRequest setWifis(java.util.List wifis) {
this.wifis = wifis;
return this;
}
public java.util.List getWifis() {
return this.wifis;
}
public GroupAddRequest setWorkdayClassList(java.util.List workdayClassList) {
this.workdayClassList = workdayClassList;
return this;
}
public java.util.List getWorkdayClassList() {
return this.workdayClassList;
}
public GroupAddRequest setOpUserId(String opUserId) {
this.opUserId = opUserId;
return this;
}
public String getOpUserId() {
return this.opUserId;
}
public static class GroupAddRequestBleDeviceList extends TeaModel {
/**
* example:
* 1311089987
*/
@NameInMap("deviceId")
public Long deviceId;
public static GroupAddRequestBleDeviceList build(java.util.Map map) throws Exception {
GroupAddRequestBleDeviceList self = new GroupAddRequestBleDeviceList();
return TeaModel.build(map, self);
}
public GroupAddRequestBleDeviceList setDeviceId(Long deviceId) {
this.deviceId = deviceId;
return this;
}
public Long getDeviceId() {
return this.deviceId;
}
}
public static class GroupAddRequestFreeCheckSettingFreeCheckGap extends TeaModel {
/**
* example:
* 0
*/
@NameInMap("offOnCheckGapMinutes")
public Integer offOnCheckGapMinutes;
/**
* example:
* 0
*/
@NameInMap("onOffCheckGapMinutes")
public Integer onOffCheckGapMinutes;
public static GroupAddRequestFreeCheckSettingFreeCheckGap build(java.util.Map map) throws Exception {
GroupAddRequestFreeCheckSettingFreeCheckGap self = new GroupAddRequestFreeCheckSettingFreeCheckGap();
return TeaModel.build(map, self);
}
public GroupAddRequestFreeCheckSettingFreeCheckGap setOffOnCheckGapMinutes(Integer offOnCheckGapMinutes) {
this.offOnCheckGapMinutes = offOnCheckGapMinutes;
return this;
}
public Integer getOffOnCheckGapMinutes() {
return this.offOnCheckGapMinutes;
}
public GroupAddRequestFreeCheckSettingFreeCheckGap setOnOffCheckGapMinutes(Integer onOffCheckGapMinutes) {
this.onOffCheckGapMinutes = onOffCheckGapMinutes;
return this;
}
public Integer getOnOffCheckGapMinutes() {
return this.onOffCheckGapMinutes;
}
}
public static class GroupAddRequestFreeCheckSetting extends TeaModel {
@NameInMap("delimitOffsetMinutesBetweenDays")
public Integer delimitOffsetMinutesBetweenDays;
@NameInMap("freeCheckGap")
public GroupAddRequestFreeCheckSettingFreeCheckGap freeCheckGap;
public static GroupAddRequestFreeCheckSetting build(java.util.Map map) throws Exception {
GroupAddRequestFreeCheckSetting self = new GroupAddRequestFreeCheckSetting();
return TeaModel.build(map, self);
}
public GroupAddRequestFreeCheckSetting setDelimitOffsetMinutesBetweenDays(Integer delimitOffsetMinutesBetweenDays) {
this.delimitOffsetMinutesBetweenDays = delimitOffsetMinutesBetweenDays;
return this;
}
public Integer getDelimitOffsetMinutesBetweenDays() {
return this.delimitOffsetMinutesBetweenDays;
}
public GroupAddRequestFreeCheckSetting setFreeCheckGap(GroupAddRequestFreeCheckSettingFreeCheckGap freeCheckGap) {
this.freeCheckGap = freeCheckGap;
return this;
}
public GroupAddRequestFreeCheckSettingFreeCheckGap getFreeCheckGap() {
return this.freeCheckGap;
}
}
public static class GroupAddRequestMembers extends TeaModel {
/**
* This parameter is required.
*
* example:
* Attendance
*/
@NameInMap("role")
public String role;
/**
* This parameter is required.
*
* example:
* StaffMember
*/
@NameInMap("type")
public String type;
/**
* This parameter is required.
*
* example:
* 1212jfkd
*/
@NameInMap("userId")
public String userId;
public static GroupAddRequestMembers build(java.util.Map map) throws Exception {
GroupAddRequestMembers self = new GroupAddRequestMembers();
return TeaModel.build(map, self);
}
public GroupAddRequestMembers setRole(String role) {
this.role = role;
return this;
}
public String getRole() {
return this.role;
}
public GroupAddRequestMembers setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public GroupAddRequestMembers setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class GroupAddRequestPositions extends TeaModel {
/**
* example:
* 生物科技产业园区经二路21号
*/
@NameInMap("address")
public String address;
/**
* example:
* 36.687495
*/
@NameInMap("latitude")
public String latitude;
/**
* example:
* 101.750329
*/
@NameInMap("longitude")
public String longitude;
/**
* example:
* 500
*/
@NameInMap("offset")
public Integer offset;
/**
* example:
* 青藏高原自然博物馆
*/
@NameInMap("title")
public String title;
public static GroupAddRequestPositions build(java.util.Map map) throws Exception {
GroupAddRequestPositions self = new GroupAddRequestPositions();
return TeaModel.build(map, self);
}
public GroupAddRequestPositions setAddress(String address) {
this.address = address;
return this;
}
public String getAddress() {
return this.address;
}
public GroupAddRequestPositions setLatitude(String latitude) {
this.latitude = latitude;
return this;
}
public String getLatitude() {
return this.latitude;
}
public GroupAddRequestPositions setLongitude(String longitude) {
this.longitude = longitude;
return this;
}
public String getLongitude() {
return this.longitude;
}
public GroupAddRequestPositions setOffset(Integer offset) {
this.offset = offset;
return this;
}
public Integer getOffset() {
return this.offset;
}
public GroupAddRequestPositions setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
public static class GroupAddRequestShiftVOList extends TeaModel {
/**
* example:
* 123
*/
@NameInMap("shiftId")
public Long shiftId;
public static GroupAddRequestShiftVOList build(java.util.Map map) throws Exception {
GroupAddRequestShiftVOList self = new GroupAddRequestShiftVOList();
return TeaModel.build(map, self);
}
public GroupAddRequestShiftVOList setShiftId(Long shiftId) {
this.shiftId = shiftId;
return this;
}
public Long getShiftId() {
return this.shiftId;
}
}
public static class GroupAddRequestWifis extends TeaModel {
/**
* example:
* C0:E0:D0:E0:C0:0F
*/
@NameInMap("macAddr")
public String macAddr;
/**
* example:
* OFFICE-WiFi
*/
@NameInMap("ssid")
public String ssid;
public static GroupAddRequestWifis build(java.util.Map map) throws Exception {
GroupAddRequestWifis self = new GroupAddRequestWifis();
return TeaModel.build(map, self);
}
public GroupAddRequestWifis setMacAddr(String macAddr) {
this.macAddr = macAddr;
return this;
}
public String getMacAddr() {
return this.macAddr;
}
public GroupAddRequestWifis setSsid(String ssid) {
this.ssid = ssid;
return this;
}
public String getSsid() {
return this.ssid;
}
}
}